Fix psql-dependent modifying xact tests

pull/1439/head
Jason Petersen 2017-05-31 11:52:41 -06:00
parent 1116805020
commit 61d493000d
No known key found for this signature in database
GPG Key ID: 9F1D3510D110ABA9
2 changed files with 3 additions and 3 deletions

View File

@ -185,12 +185,12 @@ INSERT INTO labs VALUES (6, 'Bell Labs');
ERROR: single-shard DML commands must not appear in transaction blocks which contain multi-shard data modifications
COMMIT;
-- but the DDL should correctly roll back
\d labs
Table "public.labs"
SELECT "Column", "Type", "Modifiers" FROM table_desc WHERE relid='public.labs'::regclass;
Column | Type | Modifiers
--------+--------+-----------
id | bigint | not null
name | text | not null
(2 rows)
SELECT * FROM labs WHERE id = 6;
id | name

View File

@ -151,7 +151,7 @@ INSERT INTO labs VALUES (6, 'Bell Labs');
COMMIT;
-- but the DDL should correctly roll back
\d labs
SELECT "Column", "Type", "Modifiers" FROM table_desc WHERE relid='public.labs'::regclass;
SELECT * FROM labs WHERE id = 6;
-- COPY can happen after single row INSERT