diff --git a/expected/plpgsql.out b/expected/plpgsql.out index bde17ae..c6dc22c 100644 --- a/expected/plpgsql.out +++ b/expected/plpgsql.out @@ -6,12 +6,7 @@ SET client_min_messages TO log; \set SHOW_CONTEXT always LOAD 'pg_hint_plan'; SET pg_hint_plan.debug_print TO on; -SELECT setting <> 'off' FROM pg_settings WHERE name = 'compute_query_id'; - ?column? ----------- - t -(1 row) - +SET compute_query_id = on; SHOW pg_hint_plan.enable_hint_table; pg_hint_plan.enable_hint_table -------------------------------- diff --git a/sql/plpgsql.sql b/sql/plpgsql.sql index 39a1aed..1786932 100644 --- a/sql/plpgsql.sql +++ b/sql/plpgsql.sql @@ -8,7 +8,7 @@ SET client_min_messages TO log; LOAD 'pg_hint_plan'; SET pg_hint_plan.debug_print TO on; -SELECT setting <> 'off' FROM pg_settings WHERE name = 'compute_query_id'; +SET compute_query_id = on; SHOW pg_hint_plan.enable_hint_table; -- Internal handling of hints within plpgsql functions.