@@ -638,6 +638,38 @@ diff ../../../src/test/regress/expected/atx.out ../tmp_check/regress_outdir/resu
638638 \c regression_atx_test_database
639639 create table atx_test as select 1 as id;
640640 begin;
641+ diff ../../../src/test/regress/expected/atx3.out ../tmp_check/regress_outdir/results/atx3.out
642+ --- ../../../src/test/regress/expected/atx3.outCENSORED
643+ +++ ../tmp_check/regress_outdir/results/atx3.outCENSORED
644+ @@ -69,12 +69,14 @@
645+ return 1;
646+ end$$;
647+ select * from test_func5893(10);
648+ + NOTICE: other exception 42703, [MTM] failed to prepare transaction at peer node
649+ test_func5893
650+ ---------------
651+ 1
652+ (1 row)
653+
654+ drop table mmm5893;
655+ + ERROR: table "mmm5893" does not exist
656+ drop function test_func5893(i int);
657+ -- test without 'exception' block
658+ create or replace function test_func5893(i int) returns int language plpgsql as $$
659+ @@ -88,10 +90,8 @@
660+ return 1;
661+ end$$;
662+ select * from test_func5893(10);
663+ - test_func5893
664+ - ---------------
665+ - 1
666+ - (1 row)
667+ -
668+ + ERROR: [MTM] failed to prepare transaction at peer node
669+ + CONTEXT: PL/pgSQL function test_func5893(integer) line 5 during autonomous statement block exit
670+ drop table mmm5893;
671+ + ERROR: table "mmm5893" does not exist
672+ drop function test_func5893(i int);
641673diff ../../../src/test/regress/expected/atx5.out ../tmp_check/regress_outdir/results/atx5.out
642674--- ../../../src/test/regress/expected/atx5.outCENSORED
643675+++ ../tmp_check/regress_outdir/results/atx5.outCENSORED