@@ -590,23 +590,36 @@ diff ../../../src/test/regress/expected/rowsecurity.out ../tmp_check/regress_out
590
590
diff ../../../src/test/regress/expected/atx.out ../tmp_check/regress_outdir/results/atx.out
591
591
--- ../../../src/test/regress/expected/atx.out CENSORED
592
592
+++ ../tmp_check/regress_outdir/results/atx.out CENSORED
593
- @@ -851,6 +851,7 @@
593
+ @@ -816,11 +816,7 @@
594
+ (1 row)
595
+
596
+ select lo_unlink(:my_loid);
597
+ - lo_unlink
598
+ - -----------
599
+ - 1
600
+ - (1 row)
601
+ -
602
+ + ERROR: [MTM] failed to prepare transaction at peer node
603
+ --
604
+ DO $body$
605
+ begin
606
+ @@ -857,6 +853,7 @@
594
607
declare c2 cursor with hold for select count_tt1_v(), count_tt1_s();
595
608
insert into atx_tt1 values(2);
596
609
commit;
597
610
+ ERROR: cannot PREPARE a transaction that has created a cursor WITH HOLD
598
611
commit;
599
612
begin;
600
613
begin autonomous;
601
- @@ -866 ,6 +867 ,7 @@
614
+ @@ -872 ,6 +869 ,7 @@
602
615
drop function count_tt1_s();
603
616
drop table if exists atx_tt1;
604
617
close c2;
605
618
+ ERROR: cursor "c2" does not exist
606
- -- 13
619
+ --
607
620
create table atx_13_t(i int);
608
621
begin;
609
- @@ -985 ,9 +987 ,7 @@
622
+ @@ -991 ,9 +989 ,7 @@
610
623
insert into atx_tt2 values(1);
611
624
declare c2 cursor with hold for select error_function();
612
625
commit;
@@ -617,7 +630,7 @@ diff ../../../src/test/regress/expected/atx.out ../tmp_check/regress_outdir/resu
617
630
commit;
618
631
drop function if exists error_function();
619
632
drop table if exists atx_tt2;
620
- @@ -1077 ,6 +1077 ,7 @@
633
+ @@ -1083 ,6 +1079 ,7 @@
621
634
RESET client_min_messages;
622
635
create database regression_atx_test_database;
623
636
ALTER DATABASE "regression_atx_test_database" SET lc_messages TO 'C';
@@ -628,7 +641,7 @@ diff ../../../src/test/regress/expected/atx.out ../tmp_check/regress_outdir/resu
628
641
diff ../../../src/test/regress/expected/atx5.out ../tmp_check/regress_outdir/results/atx5.out
629
642
--- ../../../src/test/regress/expected/atx5.out CENSORED
630
643
+++ ../tmp_check/regress_outdir/results/atx5.out CENSORED
631
- @@ -24 ,10 +24 ,7 @@
644
+ @@ -23 ,10 +23 ,7 @@
632
645
NOTICE: function atx_test_30_one() does not exist, skipping
633
646
NOTICE: function atx_test_30_one() does not exist, skipping
634
647
NOTICE: function atx_test_30_one() does not exist, skipping
@@ -643,7 +656,7 @@ diff ../../../src/test/regress/expected/atx5.out ../tmp_check/regress_outdir/res
643
656
diff ../../../src/test/regress/expected/atx9.out ../tmp_check/regress_outdir/results/atx9.out
644
657
--- ../../../src/test/regress/expected/atx9.out CENSORED
645
658
+++ ../tmp_check/regress_outdir/results/atx9.out CENSORED
646
- @@ -29 ,50 +29 ,38 @@
659
+ @@ -28 ,50 +28 ,38 @@
647
660
INSERT INTO abc VALUES (1);
648
661
INSERT INTO abc VALUES (2);
649
662
COMMIT AND CHAIN; -- TBLOCK_END
@@ -703,7 +716,7 @@ diff ../../../src/test/regress/expected/atx9.out ../tmp_check/regress_outdir/res
703
716
COMMIT;
704
717
ROLLBACK;
705
718
BEGIN;
706
- @@ -144 ,24 +132 ,13 @@
719
+ @@ -143 ,24 +131 ,13 @@
707
720
708
721
SAVEPOINT x;
709
722
COMMIT AND CHAIN; -- TBLOCK_SUBCOMMIT
@@ -732,7 +745,7 @@ diff ../../../src/test/regress/expected/atx9.out ../tmp_check/regress_outdir/res
732
745
COMMIT;
733
746
ROLLBACK;
734
747
-- different mix of options just for fun
735
- @@ -232 ,17 +209 ,14 @@
748
+ @@ -231 ,17 +208 ,14 @@
736
749
COMMIT;
737
750
-- not allowed outside a transaction block
738
751
COMMIT AUTONOMOUS AND CHAIN; -- error
0 commit comments