File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -297,16 +297,20 @@ SELECT * FROM vistest;
297297(2 rows)
298298
299299COMMIT;
300+ BEGIN;
300301TRUNCATE vistest;
301302COPY vistest FROM stdin CSV FREEZE;
302- NOTICE: FREEZE option specified but pre-conditions not met
303303SELECT * FROM vistest;
304304 a
305305---
306- a
307- b
306+ x
307+ y
308308(2 rows)
309309
310+ COMMIT;
311+ TRUNCATE vistest;
312+ COPY vistest FROM stdin CSV FREEZE;
313+ NOTICE: FREEZE option specified but pre-conditions not met
310314BEGIN;
311315INSERT INTO vistest VALUES ('z');
312316SAVEPOINT s1;
@@ -318,8 +322,8 @@ NOTICE: FREEZE option specified but pre-conditions not met
318322SELECT * FROM vistest;
319323 a
320324---
321- a
322- b
325+ p
326+ g
323327 z
324328 d
325329 e
@@ -360,6 +364,7 @@ SELECT * FROM vistest;
360364(2 rows)
361365
362366DROP TABLE vistest;
367+ DROP FUNCTION truncate_in_subxact();
363368DROP TABLE x, y;
364369DROP FUNCTION fn_x_before();
365370DROP FUNCTION fn_x_after();
Original file line number Diff line number Diff line change @@ -229,7 +229,6 @@ INSERT INTO vistest VALUES ('z');
229229SAVEPOINT s1;
230230TRUNCATE vistest;
231231ROLLBACK TO SAVEPOINT s1;
232- -- FREEZE should be silently ignored here
233232COPY vistest FROM stdin CSV FREEZE;
234233d
235234e
You can’t perform that action at this time.
0 commit comments