-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of btree_gist.sql.
--
+SET client_min_messages = warning;
\set ECHO none
-psql:btree_gist.sql:7: NOTICE: type "gbtreekey4" is not yet defined
-DETAIL: Creating a shell type definition.
-psql:btree_gist.sql:12: NOTICE: argument type gbtreekey4 is only a shell
-psql:btree_gist.sql:23: NOTICE: type "gbtreekey8" is not yet defined
-DETAIL: Creating a shell type definition.
-psql:btree_gist.sql:28: NOTICE: argument type gbtreekey8 is only a shell
-psql:btree_gist.sql:39: NOTICE: type "gbtreekey16" is not yet defined
-DETAIL: Creating a shell type definition.
-psql:btree_gist.sql:44: NOTICE: argument type gbtreekey16 is only a shell
-psql:btree_gist.sql:55: NOTICE: type "gbtreekey32" is not yet defined
-DETAIL: Creating a shell type definition.
-psql:btree_gist.sql:60: NOTICE: argument type gbtreekey32 is only a shell
-psql:btree_gist.sql:71: NOTICE: type "gbtreekey_var" is not yet defined
-DETAIL: Creating a shell type definition.
-psql:btree_gist.sql:76: NOTICE: argument type gbtreekey_var is only a shell
+RESET client_min_messages;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of btree_gist.sql.
--
+SET client_min_messages = warning;
\set ECHO none
\i btree_gist.sql
\set ECHO all
+RESET client_min_messages;
--
-- Turn off echoing so that expected file does not depend on
-- contents of dblink.sql.
+SET client_min_messages = warning;
\set ECHO none
+RESET client_min_messages;
CREATE TABLE foo(f1 int, f2 text, f3 text[], primary key (f1,f2));
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "foo_pkey" for table "foo"
INSERT INTO foo VALUES (0,'a','{"a0","b0","c0"}');
--
-- Turn off echoing so that expected file does not depend on
-- contents of dblink.sql.
+SET client_min_messages = warning;
\set ECHO none
\i dblink.sql
\set ECHO all
+RESET client_min_messages;
CREATE TABLE foo(f1 int, f2 text, f3 text[], primary key (f1,f2));
INSERT INTO foo VALUES (0,'a','{"a0","b0","c0"}');
+--
+-- 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
-psql:ltree.sql:9: NOTICE: type "ltree" is not yet defined
-DETAIL: Creating a shell type definition.
-psql:ltree.sql:14: NOTICE: argument type ltree is only a shell
-psql:ltree.sql:306: NOTICE: type "lquery" is not yet defined
-DETAIL: Creating a shell type definition.
-psql:ltree.sql:311: NOTICE: argument type lquery is only a shell
-psql:ltree.sql:417: NOTICE: type "ltxtquery" is not yet defined
-DETAIL: Creating a shell type definition.
-psql:ltree.sql:422: NOTICE: argument type ltxtquery is only a shell
-psql:ltree.sql:484: NOTICE: type "ltree_gist" is not yet defined
-DETAIL: Creating a shell type definition.
-psql:ltree.sql:489: NOTICE: argument type ltree_gist is only a shell
+RESET client_min_messages;
SELECT ''::ltree;
ltree
-------
+--
+-- 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;
+--
+-- first, define the datatype. Turn off echoing so that expected file
+-- does not depend on contents of pg_tgrm.sql.
+--
+SET client_min_messages = warning;
\set ECHO none
-psql:pg_trgm.sql:44: NOTICE: type "gtrgm" is not yet defined
-DETAIL: Creating a shell type definition.
-psql:pg_trgm.sql:49: NOTICE: argument type gtrgm is only a shell
+RESET client_min_messages;
select show_trgm('');
show_trgm
-----------
+--
+-- first, define the datatype. Turn off echoing so that expected file
+-- does not depend on contents of pg_tgrm.sql.
+--
+SET client_min_messages = warning;
\set ECHO none
\i pg_trgm.sql
\set ECHO all
+RESET client_min_messages;
select show_trgm('');
select show_trgm('(*&^$@%@');
--
-- init pgcrypto
--
+--
+-- first, define the functions. Turn off echoing so that expected file
+-- does not depend on contents of pgcrypto.sql.
+--
+SET client_min_messages = warning;
\set ECHO none
+RESET client_min_messages;
-- check for encoding fn's
SELECT encode('foo', 'hex');
encode
-- init pgcrypto
--
+--
+-- first, define the functions. Turn off echoing so that expected file
+-- does not depend on contents of pgcrypto.sql.
+--
+SET client_min_messages = warning;
\set ECHO none
\i pgcrypto.sql
\set ECHO all
+RESET client_min_messages;
-- check for encoding fn's
SELECT encode('foo', 'hex');
-- first, define the functions. Turn off echoing so that expected file
-- does not depend on contents of tablefunc.sql.
--
+SET client_min_messages = warning;
\set ECHO none
+RESET client_min_messages;
--
-- normal_rand()
-- no easy way to do this for regression testing
-- first, define the functions. Turn off echoing so that expected file
-- does not depend on contents of tablefunc.sql.
--
+SET client_min_messages = warning;
\set ECHO none
\i tablefunc.sql
\set ECHO all
+RESET client_min_messages;
--
-- normal_rand()