Commit 31dd7fcd authored by Tom Lane's avatar Tom Lane

Update expected/sequence_1.out.

The last three updates to the sequence regression test have all forgotten
to touch the alternate expected-output file.  Sigh.

Michael Paquier
parent 6f04368c
...@@ -91,6 +91,8 @@ SELECT nextval('serialTest2_f6_seq'); ...@@ -91,6 +91,8 @@ SELECT nextval('serialTest2_f6_seq');
-- basic sequence operations using both text and oid references -- basic sequence operations using both text and oid references
CREATE SEQUENCE sequence_test; CREATE SEQUENCE sequence_test;
CREATE SEQUENCE IF NOT EXISTS sequence_test;
NOTICE: relation "sequence_test" already exists, skipping
SELECT nextval('sequence_test'::text); SELECT nextval('sequence_test'::text);
nextval nextval
--------- ---------
...@@ -163,6 +165,9 @@ SELECT nextval('sequence_test'::text); ...@@ -163,6 +165,9 @@ SELECT nextval('sequence_test'::text);
99 99
(1 row) (1 row)
DISCARD SEQUENCES;
SELECT currval('sequence_test'::regclass);
ERROR: currval of sequence "sequence_test" is not yet defined in this session
DROP SEQUENCE sequence_test; DROP SEQUENCE sequence_test;
-- renaming sequences -- renaming sequences
CREATE SEQUENCE foo_seq; CREATE SEQUENCE foo_seq;
...@@ -341,6 +346,9 @@ SELECT lastval(); ...@@ -341,6 +346,9 @@ SELECT lastval();
99 99
(1 row) (1 row)
DISCARD SEQUENCES;
SELECT lastval();
ERROR: lastval is not yet defined in this session
CREATE SEQUENCE seq2; CREATE SEQUENCE seq2;
SELECT nextval('seq2'); SELECT nextval('seq2');
nextval nextval
......
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