79489202

Date: 2025-03-06 11:37:54
Score: 1.5
Natty:
Report link

If you want to use results of SHOW command in plpgsql, than you can.

DECLARE
    l_search_path TEXT;
BEGIN
    SHOW search_path INTO l_search_path;
    RAISE NOTICE 'SHOW search_path=%', l_search_path;

You can also store results of eg. EXPLAIN in similar fashion.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: scorch