Commit 5eebb8d9 authored by Andres Freund's avatar Andres Freund

Use unaligned output in another regression test query to reduce diff noise.

Use the unaligned/no rowcount output mode in a regression tests that
shows all built-in leakproof functions. Currently a new leakproof
function will often change the alignment of all existing functions,
making it hard to see the actual difference and creating unnecessary
patch conflicts.

Noticed while looking over a patch introducing new leakproof functions.
parent 19c9da1d
...@@ -107,11 +107,20 @@ CREATE FUNCTION functext_E_3(int) RETURNS bool LANGUAGE 'sql' ...@@ -107,11 +107,20 @@ CREATE FUNCTION functext_E_3(int) RETURNS bool LANGUAGE 'sql'
RESET SESSION AUTHORIZATION; RESET SESSION AUTHORIZATION;
---
-- list of built-in leakproof functions -- list of built-in leakproof functions
---
-- temporarily disable fancy output, so catalog changes create less diff noise
\a\t
SELECT proname, prorettype::regtype, proargtypes::regtype[] SELECT proname, prorettype::regtype, proargtypes::regtype[]
FROM pg_proc JOIN pg_namespace ON pronamespace = pg_namespace.oid FROM pg_proc JOIN pg_namespace ON pronamespace = pg_namespace.oid
WHERE nspname = 'pg_catalog' AND proleakproof ORDER BY proname; WHERE nspname = 'pg_catalog' AND proleakproof ORDER BY proname;
-- restore normal output mode
\a\t
-- --
-- CALLED ON NULL INPUT | RETURNS NULL ON NULL INPUT | STRICT -- CALLED ON NULL INPUT | RETURNS NULL ON NULL INPUT | STRICT
-- --
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment