Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7a14edb

Browse files
committed
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
1 parent 5607e99 commit 7a14edb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/test/regress/expected/sequence_1.out

+6
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ SELECT nextval('sequence_test'::text);
163163
99
164164
(1 row)
165165

166+
DISCARD SEQUENCES;
167+
SELECT currval('sequence_test'::regclass);
168+
ERROR: currval of sequence "sequence_test" is not yet defined in this session
166169
DROP SEQUENCE sequence_test;
167170
-- renaming sequences
168171
CREATE SEQUENCE foo_seq;
@@ -341,6 +344,9 @@ SELECT lastval();
341344
99
342345
(1 row)
343346

347+
DISCARD SEQUENCES;
348+
SELECT lastval();
349+
ERROR: lastval is not yet defined in this session
344350
CREATE SEQUENCE seq2;
345351
SELECT nextval('seq2');
346352
nextval

0 commit comments

Comments
 (0)