File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -599,7 +599,6 @@ DROP SEQUENCE seq2;
599599-- should fail
600600SELECT lastval();
601601ERROR: lastval is not yet defined in this session
602- CREATE USER regress_seq_user;
603602-- Test sequences in read-only transactions
604603CREATE TEMPORARY SEQUENCE sequence_test_temp1;
605604START TRANSACTION READ ONLY;
@@ -623,6 +622,7 @@ SELECT setval('sequence_test2', 1); -- error
623622ERROR: cannot execute setval() in a read-only transaction
624623ROLLBACK;
625624-- privileges tests
625+ CREATE USER regress_seq_user;
626626-- nextval
627627BEGIN;
628628SET LOCAL SESSION AUTHORIZATION regress_seq_user;
Original file line number Diff line number Diff line change @@ -272,8 +272,6 @@ DROP SEQUENCE seq2;
272272-- should fail
273273SELECT lastval();
274274
275- CREATE USER regress_seq_user ;
276-
277275-- Test sequences in read-only transactions
278276CREATE TEMPORARY SEQUENCE sequence_test_temp1;
279277START TRANSACTION READ ONLY;
@@ -287,6 +285,8 @@ ROLLBACK;
287285
288286-- privileges tests
289287
288+ CREATE USER regress_seq_user ;
289+
290290-- nextval
291291BEGIN ;
292292SET LOCAL SESSION AUTHORIZATION regress_seq_user;
You can’t perform that action at this time.
0 commit comments