mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +03:00
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
This commit is contained in:
@ -163,6 +163,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 +344,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
|
||||||
|
Reference in New Issue
Block a user