File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -940,15 +940,15 @@ ERROR: RELEASE SAVEPOINT can only be used in transaction blocks
940940-- but this is OK, because the BEGIN converts it to a regular xact
941941SELECT 1\; BEGIN\; SAVEPOINT sp\; ROLLBACK TO SAVEPOINT sp\; COMMIT;
942942-- Tests for AND CHAIN in implicit transaction blocks
943- SET TRANSACTION READ WRITE \; COMMIT AND CHAIN; -- error
943+ SET TRANSACTION READ ONLY \; COMMIT AND CHAIN; -- error
944944ERROR: COMMIT AND CHAIN can only be used in transaction blocks
945945SHOW transaction_read_only;
946946 transaction_read_only
947947-----------------------
948948 off
949949(1 row)
950950
951- SET TRANSACTION READ WRITE \; ROLLBACK AND CHAIN; -- error
951+ SET TRANSACTION READ ONLY \; ROLLBACK AND CHAIN; -- error
952952ERROR: ROLLBACK AND CHAIN can only be used in transaction blocks
953953SHOW transaction_read_only;
954954 transaction_read_only
Original file line number Diff line number Diff line change @@ -542,10 +542,10 @@ SELECT 1\; BEGIN\; SAVEPOINT sp\; ROLLBACK TO SAVEPOINT sp\; COMMIT;
542542
543543-- Tests for AND CHAIN in implicit transaction blocks
544544
545- SET TRANSACTION READ WRITE \; COMMIT AND CHAIN; -- error
545+ SET TRANSACTION READ ONLY \; COMMIT AND CHAIN; -- error
546546SHOW transaction_read_only;
547547
548- SET TRANSACTION READ WRITE \; ROLLBACK AND CHAIN; -- error
548+ SET TRANSACTION READ ONLY \; ROLLBACK AND CHAIN; -- error
549549SHOW transaction_read_only;
550550
551551CREATE TABLE abc (a int );
You can’t perform that action at this time.
0 commit comments