Commit e5cf1a8a authored by Bruce Momjian's avatar Bruce Momjian

SET autocommit no longer needed in /contrib because pg_regress.sh does

it automatically now on regression session startup.
parent 189c3481
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
\set ECHO none \set ECHO none
psql:btree_gist.sql:10: WARNING: ProcedureCreate: type int4key is not yet defined psql:btree_gist.sql:10: WARNING: ProcedureCreate: type int4key is not yet defined
psql:btree_gist.sql:15: WARNING: Argument type "int4key" is only a shell psql:btree_gist.sql:15: WARNING: Argument type "int4key" is only a shell
psql:btree_gist.sql:76: WARNING: ProcedureCreate: type tskey is not yet defined psql:btree_gist.sql:98: WARNING: ProcedureCreate: type tskey is not yet defined
psql:btree_gist.sql:81: WARNING: Argument type "tskey" is only a shell psql:btree_gist.sql:103: WARNING: Argument type "tskey" is only a shell
CREATE TABLE inttmp (b int4); CREATE TABLE inttmp (b int4);
\copy inttmp from 'data/test_btree.data' \copy inttmp from 'data/test_btree.data'
CREATE TABLE tstmp ( t timestamp without time zone ); CREATE TABLE tstmp ( t timestamp without time zone );
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
-- does not depend on contents of seg.sql. -- does not depend on contents of seg.sql.
-- --
\set ECHO none \set ECHO none
SET autocommit TO 'on';
\i btree_gist.sql \i btree_gist.sql
\set ECHO all \set ECHO all
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
-- does not depend on contents of cube.sql. -- does not depend on contents of cube.sql.
-- --
\set ECHO none \set ECHO none
SET autocommit TO 'on';
\i cube.sql \i cube.sql
\set ECHO all \set ECHO all
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
-- --
-- Adjust this setting to control where the objects get created. -- Adjust this setting to control where the objects get created.
SET search_path = public; SET search_path = public;
SET autocommit TO 'on';
CREATE OR REPLACE FUNCTION conditional_drop() CREATE OR REPLACE FUNCTION conditional_drop()
RETURNS text AS ' RETURNS text AS '
DECLARE DECLARE
......
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
-- Adjust this setting to control where the objects get created. -- Adjust this setting to control where the objects get created.
SET search_path = public; SET search_path = public;
SET autocommit TO 'on';
CREATE OR REPLACE FUNCTION conditional_drop() CREATE OR REPLACE FUNCTION conditional_drop()
RETURNS text AS ' RETURNS text AS '
DECLARE DECLARE
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
-- does not depend on contents of earthdistance.sql or cube.sql. -- does not depend on contents of earthdistance.sql or cube.sql.
-- --
\set ECHO none \set ECHO none
SET autocommit TO 'on';
\i earthdistance.sql \i earthdistance.sql
\set ECHO all \set ECHO all
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
-- does not depend on contents of seg.sql. -- does not depend on contents of seg.sql.
-- --
\set ECHO none \set ECHO none
SET autocommit TO 'on';
\i _int.sql \i _int.sql
\set ECHO all \set ECHO all
......
\set ECHO none \set ECHO none
SET autocommit TO 'on';
\i ltree.sql \i ltree.sql
\set ECHO all \set ECHO all
......
-- --
-- Blowfish cipher -- Blowfish cipher
-- --
SET autocommit TO 'on';
-- some standard Blowfish testvalues -- some standard Blowfish testvalues
SELECT encode(encrypt( SELECT encode(encrypt(
decode('0000000000000000', 'hex'), decode('0000000000000000', 'hex'),
......
-- --
-- crypt() and gen_salt(): bcrypt -- crypt() and gen_salt(): bcrypt
-- --
SET autocommit TO 'on';
SELECT crypt('', '$2a$06$RQiOJ.3ELirrXwxIZY8q0O'); SELECT crypt('', '$2a$06$RQiOJ.3ELirrXwxIZY8q0O');
crypt crypt
-------------------------------------------------------------- --------------------------------------------------------------
......
-- --
-- crypt() and gen_salt(): crypt-des -- crypt() and gen_salt(): crypt-des
-- --
SET autocommit TO 'on';
SELECT crypt('', 'NB'); SELECT crypt('', 'NB');
crypt crypt
--------------- ---------------
......
-- --
-- crypt() and gen_salt(): md5 -- crypt() and gen_salt(): md5
-- --
SET autocommit TO 'on';
SELECT crypt('', '$1$Szzz0yzz'); SELECT crypt('', '$1$Szzz0yzz');
crypt crypt
------------------------------------ ------------------------------------
......
-- --
-- crypt() and gen_salt(): extended des -- crypt() and gen_salt(): extended des
-- --
SET autocommit TO 'on';
SELECT crypt('', '_J9..j2zz'); SELECT crypt('', '_J9..j2zz');
crypt crypt
---------------------- ----------------------
......
-- --
-- HMAC-MD5 -- HMAC-MD5
-- --
SET autocommit TO 'on';
SELECT encode(hmac( SELECT encode(hmac(
'Hi There', 'Hi There',
decode('0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b', 'hex'), decode('0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b', 'hex'),
......
-- --
-- HMAC-MD5 -- HMAC-MD5
-- --
SET autocommit TO 'on';
SELECT encode(hmac( SELECT encode(hmac(
'Hi There', 'Hi There',
decode('0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b', 'hex'), decode('0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b', 'hex'),
......
-- --
-- MD5 message digest -- MD5 message digest
-- --
SET autocommit TO 'on';
SELECT encode(digest('', 'md5'), 'hex'); SELECT encode(digest('', 'md5'), 'hex');
encode encode
---------------------------------- ----------------------------------
......
-- --
-- AES / Rijndael-128 cipher -- AES / Rijndael-128 cipher
-- --
SET autocommit TO 'on';
-- some standard Rijndael testvalues -- some standard Rijndael testvalues
SELECT encode(encrypt( SELECT encode(encrypt(
decode('00112233445566778899aabbccddeeff', 'hex'), decode('00112233445566778899aabbccddeeff', 'hex'),
......
-- --
-- SHA1 message digest -- SHA1 message digest
-- --
SET autocommit TO 'on';
SELECT encode(digest('', 'sha1'), 'hex'); SELECT encode(digest('', 'sha1'), 'hex');
encode encode
------------------------------------------ ------------------------------------------
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
-- Blowfish cipher -- Blowfish cipher
-- --
SET autocommit TO 'on';
-- some standard Blowfish testvalues -- some standard Blowfish testvalues
SELECT encode(encrypt( SELECT encode(encrypt(
decode('0000000000000000', 'hex'), decode('0000000000000000', 'hex'),
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
-- crypt() and gen_salt(): bcrypt -- crypt() and gen_salt(): bcrypt
-- --
SET autocommit TO 'on';
SELECT crypt('', '$2a$06$RQiOJ.3ELirrXwxIZY8q0O'); SELECT crypt('', '$2a$06$RQiOJ.3ELirrXwxIZY8q0O');
SELECT crypt('foox', '$2a$06$RQiOJ.3ELirrXwxIZY8q0O'); SELECT crypt('foox', '$2a$06$RQiOJ.3ELirrXwxIZY8q0O');
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
-- crypt() and gen_salt(): crypt-des -- crypt() and gen_salt(): crypt-des
-- --
SET autocommit TO 'on';
SELECT crypt('', 'NB'); SELECT crypt('', 'NB');
SELECT crypt('foox', 'NB'); SELECT crypt('foox', 'NB');
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
-- crypt() and gen_salt(): md5 -- crypt() and gen_salt(): md5
-- --
SET autocommit TO 'on';
SELECT crypt('', '$1$Szzz0yzz'); SELECT crypt('', '$1$Szzz0yzz');
SELECT crypt('foox', '$1$Szzz0yzz'); SELECT crypt('foox', '$1$Szzz0yzz');
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
-- crypt() and gen_salt(): extended des -- crypt() and gen_salt(): extended des
-- --
SET autocommit TO 'on';
SELECT crypt('', '_J9..j2zz'); SELECT crypt('', '_J9..j2zz');
SELECT crypt('foox', '_J9..j2zz'); SELECT crypt('foox', '_J9..j2zz');
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
-- HMAC-MD5 -- HMAC-MD5
-- --
SET autocommit TO 'on';
SELECT encode(hmac( SELECT encode(hmac(
'Hi There', 'Hi There',
decode('0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b', 'hex'), decode('0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b', 'hex'),
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
-- HMAC-MD5 -- HMAC-MD5
-- --
SET autocommit TO 'on';
SELECT encode(hmac( SELECT encode(hmac(
'Hi There', 'Hi There',
decode('0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b', 'hex'), decode('0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b', 'hex'),
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
-- --
\set ECHO none \set ECHO none
SET autocommit TO 'on';
\i pgcrypto.sql \i pgcrypto.sql
\set ECHO all \set ECHO all
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
-- MD5 message digest -- MD5 message digest
-- --
SET autocommit TO 'on';
SELECT encode(digest('', 'md5'), 'hex'); SELECT encode(digest('', 'md5'), 'hex');
SELECT encode(digest('a', 'md5'), 'hex'); SELECT encode(digest('a', 'md5'), 'hex');
SELECT encode(digest('abc', 'md5'), 'hex'); SELECT encode(digest('abc', 'md5'), 'hex');
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
-- AES / Rijndael-128 cipher -- AES / Rijndael-128 cipher
-- --
SET autocommit TO 'on';
-- some standard Rijndael testvalues -- some standard Rijndael testvalues
SELECT encode(encrypt( SELECT encode(encrypt(
decode('00112233445566778899aabbccddeeff', 'hex'), decode('00112233445566778899aabbccddeeff', 'hex'),
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
-- SHA1 message digest -- SHA1 message digest
-- --
SET autocommit TO 'on';
SELECT encode(digest('', 'sha1'), 'hex'); SELECT encode(digest('', 'sha1'), 'hex');
SELECT encode(digest('a', 'sha1'), 'hex'); SELECT encode(digest('a', 'sha1'), 'hex');
SELECT encode(digest('abc', 'sha1'), 'hex'); SELECT encode(digest('abc', 'sha1'), 'hex');
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
-- does not depend on contents of seg.sql. -- does not depend on contents of seg.sql.
-- --
\set ECHO none \set ECHO none
SET autocommit TO 'on';
\i rtree_gist.sql \i rtree_gist.sql
\set ECHO all \set ECHO all
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
-- does not depend on contents of seg.sql. -- does not depend on contents of seg.sql.
-- --
\set ECHO none \set ECHO none
SET autocommit TO 'on';
\i seg.sql \i seg.sql
\set ECHO all \set ECHO all
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
-- does not depend on contents of tablefunc.sql. -- does not depend on contents of tablefunc.sql.
-- --
\set ECHO none \set ECHO none
SET autocommit TO 'on';
\i tablefunc.sql \i tablefunc.sql
\set ECHO all \set ECHO all
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
-- does not depend on contents of seg.sql. -- does not depend on contents of seg.sql.
-- --
\set ECHO none \set ECHO none
SET autocommit TO 'on';
\i tsearch.sql \i tsearch.sql
\set ECHO all \set ECHO all
......
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