mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Fix a few contrib regression test scripts that hadn't gotten the word
about best practice for including the module creation scripts: to wit that you should suppress NOTICE messages. This avoids creating regression failures by adding or removing comment lines in the module scripts.
This commit is contained in:
@ -1,6 +1,12 @@
|
||||
--
|
||||
-- first, define the datatype. Turn off echoing so that expected file
|
||||
-- does not depend on contents of ltree.sql.
|
||||
--
|
||||
SET client_min_messages = warning;
|
||||
\set ECHO none
|
||||
\i ltree.sql
|
||||
\set ECHO all
|
||||
RESET client_min_messages;
|
||||
|
||||
SELECT ''::ltree;
|
||||
SELECT '1'::ltree;
|
||||
|
Reference in New Issue
Block a user