diff -U3 /tmp/cirrus-ci-build/src/pl/plpgsql/src/expected/plpgsql_array.out /tmp/cirrus-ci-build/build/testrun/plpgsql/regress/results/plpgsql_array.out --- /tmp/cirrus-ci-build/src/pl/plpgsql/src/expected/plpgsql_array.out 2024-03-27 22:35:14.148776000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/plpgsql/regress/results/plpgsql_array.out 2024-03-27 22:52:55.923468000 +0000 @@ -51,6 +51,7 @@ NOTICE: a = ("{""(,11)""}",), a.c1[1].i = 11 do $$ declare a int[]; begin a := array_agg(x) from (values(1),(2),(3)) v(x); raise notice 'a = %', a; end$$; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: a = {1,2,3} create temp table onecol as select array[1,2] as f1; do $$ declare a int[]; @@ -161,6 +162,7 @@ NOTICE: {10,10} {Hi,Hi} create table array_test_table(a int, b varchar); insert into array_test_table values(1, 'first'), (2, 'second'); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree do $$ declare tg array_test_table%rowtype[]; begin diff -U3 /tmp/cirrus-ci-build/src/pl/plpgsql/src/expected/plpgsql_call.out /tmp/cirrus-ci-build/build/testrun/plpgsql/regress/results/plpgsql_call.out --- /tmp/cirrus-ci-build/src/pl/plpgsql/src/expected/plpgsql_call.out 2024-03-27 22:35:14.149061000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/plpgsql/regress/results/plpgsql_call.out 2024-03-27 22:52:55.988060000 +0000 @@ -423,6 +423,7 @@ $$; CREATE TRIGGER t1 BEFORE INSERT ON test1 EXECUTE PROCEDURE triggerfunc1(); INSERT INTO test1 VALUES (1), (2), (3); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree UPDATE test1 SET a = 22 WHERE a = 2; SELECT * FROM test1 ORDER BY a; a diff -U3 /tmp/cirrus-ci-build/src/pl/plpgsql/src/expected/plpgsql_control.out /tmp/cirrus-ci-build/build/testrun/plpgsql/regress/results/plpgsql_control.out --- /tmp/cirrus-ci-build/src/pl/plpgsql/src/expected/plpgsql_control.out 2024-03-27 22:35:14.149240000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/plpgsql/regress/results/plpgsql_control.out 2024-03-27 22:52:56.030227000 +0000 @@ -532,18 +532,22 @@ NOTICE: 1 NOTICE: 2 NOTICE: 3 +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: 1 BB CC NOTICE: 2 BB CC NOTICE: 3 BB CC NOTICE: 4 BB CC +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: 1 NOTICE: 2 NOTICE: 3 NOTICE: 4 +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: 1 BB CC NOTICE: 2 BB CC NOTICE: 3 BB CC NOTICE: 4 BB CC +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: 1 bb cc NOTICE: 2 bb cc NOTICE: 3 bb cc diff -U3 /tmp/cirrus-ci-build/src/pl/plpgsql/src/expected/plpgsql_domain.out /tmp/cirrus-ci-build/build/testrun/plpgsql/regress/results/plpgsql_domain.out --- /tmp/cirrus-ci-build/src/pl/plpgsql/src/expected/plpgsql_domain.out 2024-03-27 22:35:14.149453000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/plpgsql/regress/results/plpgsql_domain.out 2024-03-27 22:52:56.091084000 +0000 @@ -8,14 +8,17 @@ end $$ LANGUAGE plpgsql; SELECT * FROM test_argresult_booltrue(true, true); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree test_argresult_booltrue ------------------------- t (1 row) SELECT * FROM test_argresult_booltrue(false, true); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: value for domain booltrue violates check constraint "booltrue_check" SELECT * FROM test_argresult_booltrue(true, false); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: value for domain booltrue violates check constraint "booltrue_check" CONTEXT: PL/pgSQL function test_argresult_booltrue(booltrue,boolean) while casting return value to function's return type CREATE FUNCTION test_assign_booltrue(x bool, y bool) RETURNS booltrue AS $$ @@ -26,15 +29,18 @@ end $$ LANGUAGE plpgsql; SELECT * FROM test_assign_booltrue(true, true); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree test_assign_booltrue ---------------------- t (1 row) SELECT * FROM test_assign_booltrue(false, true); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: value for domain booltrue violates check constraint "booltrue_check" CONTEXT: PL/pgSQL function test_assign_booltrue(boolean,boolean) line 2 during statement block local variable initialization SELECT * FROM test_assign_booltrue(true, false); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: value for domain booltrue violates check constraint "booltrue_check" CONTEXT: PL/pgSQL function test_assign_booltrue(boolean,boolean) line 4 at assignment CREATE DOMAIN uint2 AS int2 CHECK (VALUE >= 0); @@ -44,15 +50,18 @@ end $$ LANGUAGE plpgsql; SELECT * FROM test_argresult_uint2(100::uint2, 50); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree test_argresult_uint2 ---------------------- 50 (1 row) SELECT * FROM test_argresult_uint2(100::uint2, -50); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: value for domain uint2 violates check constraint "uint2_check" CONTEXT: PL/pgSQL function test_argresult_uint2(uint2,integer) while casting return value to function's return type SELECT * FROM test_argresult_uint2(null, 1); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree test_argresult_uint2 ---------------------- 1 @@ -66,18 +75,22 @@ end $$ LANGUAGE plpgsql; SELECT * FROM test_assign_uint2(100, 50); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree test_assign_uint2 ------------------- 50 (1 row) SELECT * FROM test_assign_uint2(100, -50); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: value for domain uint2 violates check constraint "uint2_check" CONTEXT: PL/pgSQL function test_assign_uint2(integer,integer) line 4 at assignment SELECT * FROM test_assign_uint2(-100, 50); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: value for domain uint2 violates check constraint "uint2_check" CONTEXT: PL/pgSQL function test_assign_uint2(integer,integer) line 2 during statement block local variable initialization SELECT * FROM test_assign_uint2(null, 1); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree test_assign_uint2 ------------------- 1 @@ -90,14 +103,17 @@ end $$ LANGUAGE plpgsql; SELECT * FROM test_argresult_nnint(10, 20); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree test_argresult_nnint ---------------------- 20 (1 row) SELECT * FROM test_argresult_nnint(null, 20); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: domain nnint does not allow null values SELECT * FROM test_argresult_nnint(10, null); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: domain nnint does not allow null values CONTEXT: PL/pgSQL function test_argresult_nnint(nnint,integer) while casting return value to function's return type CREATE FUNCTION test_assign_nnint(x int, y int) RETURNS nnint AS $$ @@ -108,15 +124,18 @@ end $$ LANGUAGE plpgsql; SELECT * FROM test_assign_nnint(10, 20); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree test_assign_nnint ------------------- 20 (1 row) SELECT * FROM test_assign_nnint(null, 20); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: domain nnint does not allow null values CONTEXT: PL/pgSQL function test_assign_nnint(integer,integer) line 2 during statement block local variable initialization SELECT * FROM test_assign_nnint(10, null); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: domain nnint does not allow null values CONTEXT: PL/pgSQL function test_assign_nnint(integer,integer) line 4 at assignment -- @@ -130,12 +149,14 @@ end $$ LANGUAGE plpgsql; SELECT * FROM test_argresult_array_domain(ARRAY[0, 100]::ordered_pair_domain); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree test_argresult_array_domain ----------------------------- {0,100} (1 row) SELECT * FROM test_argresult_array_domain(NULL::ordered_pair_domain); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree test_argresult_array_domain ----------------------------- @@ -148,6 +169,7 @@ end $$ LANGUAGE plpgsql; SELECT * FROM test_argresult_array_domain_check_violation(); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: value for domain ordered_pair_domain violates check constraint "ordered_pair_domain_check" CONTEXT: PL/pgSQL function test_argresult_array_domain_check_violation() while casting return value to function's return type CREATE FUNCTION test_assign_ordered_pair_domain(x int, y int, z int) RETURNS ordered_pair_domain AS $$ @@ -158,15 +180,18 @@ end $$ LANGUAGE plpgsql; SELECT * FROM test_assign_ordered_pair_domain(1,2,3); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree test_assign_ordered_pair_domain --------------------------------- {1,3} (1 row) SELECT * FROM test_assign_ordered_pair_domain(1,2,0); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: value for domain ordered_pair_domain violates check constraint "ordered_pair_domain_check" CONTEXT: PL/pgSQL function test_assign_ordered_pair_domain(integer,integer,integer) line 4 at assignment SELECT * FROM test_assign_ordered_pair_domain(2,1,3); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: value for domain ordered_pair_domain violates check constraint "ordered_pair_domain_check" CONTEXT: PL/pgSQL function test_assign_ordered_pair_domain(integer,integer,integer) line 2 during statement block local variable initialization -- @@ -266,15 +291,18 @@ end $$ LANGUAGE plpgsql; SELECT * FROM test_assign_nnint_container(1,2,3); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree f1 | f2 ----+---- 1 | 3 (1 row) SELECT * FROM test_assign_nnint_container(1,2,null); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: domain nnint does not allow null values CONTEXT: PL/pgSQL function test_assign_nnint_container(integer,integer,integer) line 4 at assignment SELECT * FROM test_assign_nnint_container(1,null,3); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: domain nnint does not allow null values CONTEXT: PL/pgSQL function test_assign_nnint_container(integer,integer,integer) line 2 during statement block local variable initialization -- Since core system allows this: @@ -294,12 +322,14 @@ end $$ LANGUAGE plpgsql; SELECT * FROM test_assign_nnint_container2(1,2,3); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree f1 | f2 ----+---- | 3 (1 row) SELECT * FROM test_assign_nnint_container2(1,2,null); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: domain nnint does not allow null values CONTEXT: PL/pgSQL function test_assign_nnint_container2(integer,integer,integer) line 4 at assignment -- @@ -346,15 +376,18 @@ end $$ LANGUAGE plpgsql; SELECT * FROM test_assign_ordered_named_pair(1,2,3); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree i | j ---+--- 1 | 3 (1 row) SELECT * FROM test_assign_ordered_named_pair(1,2,0); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: value for domain ordered_named_pair violates check constraint "ordered_named_pair_check" CONTEXT: PL/pgSQL function test_assign_ordered_named_pair(integer,integer,integer) line 4 at assignment SELECT * FROM test_assign_ordered_named_pair(2,1,3); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: value for domain ordered_named_pair violates check constraint "ordered_named_pair_check" CONTEXT: PL/pgSQL function test_assign_ordered_named_pair(integer,integer,integer) line 2 during statement block local variable initialization CREATE FUNCTION build_ordered_named_pairs(i int, j int) RETURNS ordered_named_pair[] AS $$ @@ -381,15 +414,18 @@ end $$ LANGUAGE plpgsql; SELECT * FROM test_assign_ordered_named_pairs(1,2,3); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree test_assign_ordered_named_pairs --------------------------------- {"(1,2)"} (1 row) SELECT * FROM test_assign_ordered_named_pairs(2,1,3); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: value for domain ordered_named_pair violates check constraint "ordered_named_pair_check" CONTEXT: PL/pgSQL function test_assign_ordered_named_pairs(integer,integer,integer) line 2 during statement block local variable initialization SELECT * FROM test_assign_ordered_named_pairs(1,2,0); -- should fail someday +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree test_assign_ordered_named_pairs --------------------------------- {"(1,2)"} diff -U3 /tmp/cirrus-ci-build/src/pl/plpgsql/src/expected/plpgsql_record.out /tmp/cirrus-ci-build/build/testrun/plpgsql/regress/results/plpgsql_record.out --- /tmp/cirrus-ci-build/src/pl/plpgsql/src/expected/plpgsql_record.out 2024-03-27 22:35:14.149822000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/plpgsql/regress/results/plpgsql_record.out 2024-03-27 22:52:56.272407000 +0000 @@ -375,16 +375,19 @@ (1 row) select * from returnsrecord(42) as r(x int, y int); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree x | y ----+---- 42 | 43 (1 row) select * from returnsrecord(42) as r(x int, y int, z int); -- fail +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: returned record type does not match expected record type DETAIL: Number of returned columns (2) does not match expected column count (3). CONTEXT: PL/pgSQL function returnsrecord(integer) while casting return value to function's return type select * from returnsrecord(42) as r(x int, y bigint); -- fail +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: returned record type does not match expected record type DETAIL: Returned type integer does not match expected type bigint in column 2. CONTEXT: PL/pgSQL function returnsrecord(integer) while casting return value to function's return type @@ -398,16 +401,19 @@ (1 row) select * from returnsrecord(42) as r(x int, y int); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree x | y ----+---- 42 | 43 (1 row) select * from returnsrecord(42) as r(x int, y int, z int); -- fail +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: returned record type does not match expected record type DETAIL: Number of returned columns (2) does not match expected column count (3). CONTEXT: PL/pgSQL function returnsrecord(integer) while casting return value to function's return type select * from returnsrecord(42) as r(x int, y bigint); -- fail +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: returned record type does not match expected record type DETAIL: Returned type integer does not match expected type bigint in column 2. CONTEXT: PL/pgSQL function returnsrecord(integer) while casting return value to function's return type @@ -423,16 +429,19 @@ (1 row) select * from returnsrecord(42) as r(x int, y int); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree x | y ----+---- 42 | 43 (1 row) select * from returnsrecord(42) as r(x int, y int, z int); -- fail +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: returned record type does not match expected record type DETAIL: Number of returned columns (2) does not match expected column count (3). CONTEXT: PL/pgSQL function returnsrecord(integer) while casting return value to function's return type select * from returnsrecord(42) as r(x int, y bigint); -- fail +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: returned record type does not match expected record type DETAIL: Returned type integer does not match expected type bigint in column 2. CONTEXT: PL/pgSQL function returnsrecord(integer) while casting return value to function's return type @@ -446,16 +455,19 @@ (1 row) select * from returnsrecord(42) as r(x int, y int); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree x | y ----+---- 42 | 43 (1 row) select * from returnsrecord(42) as r(x int, y int, z int); -- fail +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: returned record type does not match expected record type DETAIL: Number of returned columns (2) does not match expected column count (3). CONTEXT: PL/pgSQL function returnsrecord(integer) while casting return value to function's return type select * from returnsrecord(42) as r(x int, y bigint); -- fail +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: returned record type does not match expected record type DETAIL: Returned type integer does not match expected type bigint in column 2. CONTEXT: PL/pgSQL function returnsrecord(integer) while casting return value to function's return type @@ -528,6 +540,7 @@ raise notice 'r = %', r; end loop; end$$; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: r = (1,2) NOTICE: r = (2,3) NOTICE: r = (3,4) @@ -662,6 +675,7 @@ create trigger mutable_trig before update on mutable for each row execute procedure sillytrig(); insert into mutable values ('foo'), ('bar'); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree update mutable set f2 = f2 || ' baz'; NOTICE: old.ctid = (0,1) NOTICE: old.tableoid = mutable @@ -806,6 +820,7 @@ raise notice 'r = %', r; end loop; end$$; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: r = (1,2) NOTICE: r = (3,4) ERROR: value for domain ordered_int8s violates check constraint "ordered_int8s_check" diff -U3 /tmp/cirrus-ci-build/src/pl/plpgsql/src/expected/plpgsql_transaction.out /tmp/cirrus-ci-build/build/testrun/plpgsql/regress/results/plpgsql_transaction.out --- /tmp/cirrus-ci-build/src/pl/plpgsql/src/expected/plpgsql_transaction.out 2024-03-27 22:35:14.150096000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/plpgsql/regress/results/plpgsql_transaction.out 2024-03-27 22:52:56.382265000 +0000 @@ -196,6 +196,7 @@ -- commit inside cursor loop CREATE TABLE test2 (x int); INSERT INTO test2 VALUES (0), (1), (2), (3), (4); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree TRUNCATE test1; DO LANGUAGE plpgsql $$ DECLARE @@ -219,6 +220,7 @@ -- check that this doesn't leak a holdable portal SELECT * FROM pg_cursors; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree name | statement | is_holdable | is_binary | is_scrollable | creation_time ------+-----------+-------------+-----------+---------------+--------------- (0 rows) @@ -246,6 +248,7 @@ (2 rows) SELECT * FROM pg_cursors; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree name | statement | is_holdable | is_binary | is_scrollable | creation_time ------+-----------+-------------+-----------+---------------+--------------- (0 rows) @@ -268,6 +271,7 @@ (0 rows) SELECT * FROM pg_cursors; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree name | statement | is_holdable | is_binary | is_scrollable | creation_time ------+-----------+-------------+-----------+---------------+--------------- (0 rows) @@ -297,6 +301,7 @@ (3 rows) SELECT * FROM pg_cursors; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree name | statement | is_holdable | is_binary | is_scrollable | creation_time ------+-----------+-------------+-----------+---------------+--------------- (0 rows) @@ -331,6 +336,7 @@ (5 rows) SELECT * FROM pg_cursors; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree name | statement | is_holdable | is_binary | is_scrollable | creation_time ------+-----------+-------------+-----------+---------------+--------------- (0 rows) @@ -338,6 +344,7 @@ -- interaction of FOR UPDATE cursor with subsequent updates (bug #17050) TRUNCATE test1; INSERT INTO test1 VALUES (1,'one'), (2,'two'), (3,'three'); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree DO LANGUAGE plpgsql $$ DECLARE l_cur CURSOR FOR SELECT a FROM test1 ORDER BY 1 FOR UPDATE; @@ -357,6 +364,7 @@ (3 rows) SELECT * FROM pg_cursors; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree name | statement | is_holdable | is_binary | is_scrollable | creation_time ------+-----------+-------------+-----------+---------------+--------------- (0 rows) @@ -364,6 +372,7 @@ -- like bug #17050, but with implicit cursor TRUNCATE test1; INSERT INTO test1 VALUES (1,'one'), (2,'two'), (3,'three'); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree DO LANGUAGE plpgsql $$ DECLARE r RECORD; BEGIN @@ -382,6 +391,7 @@ (3 rows) SELECT * FROM pg_cursors; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree name | statement | is_holdable | is_binary | is_scrollable | creation_time ------+-----------+-------------+-----------+---------------+--------------- (0 rows) @@ -462,6 +472,7 @@ CREATE TEMP TABLE test4(f1 text); ALTER TABLE test4 ALTER COLUMN f1 SET STORAGE EXTERNAL; -- disable compression INSERT INTO test4 SELECT repeat('xyzzy', 2000); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree -- immutable mark is a bit of a lie, but it serves to make call a simple expr -- that will return a still-toasted value CREATE FUNCTION data_source(i int) RETURNS TEXT LANGUAGE sql @@ -536,6 +547,7 @@ $$; TRUNCATE test1; CALL cursor_fail_during_commit(); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: division by zero CONTEXT: PL/pgSQL function cursor_fail_during_commit() line 6 at COMMIT -- note that error occurs during first COMMIT, hence nothing is in test1 @@ -558,6 +570,7 @@ $$; TRUNCATE test1; CALL cursor_fail_during_rollback(); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: division by zero CONTEXT: PL/pgSQL function cursor_fail_during_rollback() line 6 at ROLLBACK SELECT count(*) FROM test1; diff -U3 /tmp/cirrus-ci-build/src/pl/plpgsql/src/expected/plpgsql_trap.out /tmp/cirrus-ci-build/build/testrun/plpgsql/regress/results/plpgsql_trap.out --- /tmp/cirrus-ci-build/src/pl/plpgsql/src/expected/plpgsql_trap.out 2024-03-27 22:35:14.150211000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/plpgsql/regress/results/plpgsql_trap.out 2024-03-27 22:52:57.455713000 +0000 @@ -58,6 +58,7 @@ CONTEXT: PL/pgSQL function trap_zero_divide(integer) line 12 at RAISE create table match_source as select x as id, x*10 as data, x/10 as ten from generate_series(1,100) x; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree create function trap_matching_test(int) returns int as $$ declare x int; sx smallint; @@ -155,6 +156,7 @@ begin; set statement_timeout to 1000; select trap_timeout(); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: nyeah nyeah, can't stop me ERROR: end of function CONTEXT: PL/pgSQL function trap_timeout() line 15 at RAISE diff -U3 /tmp/cirrus-ci-build/src/pl/plpgsql/src/expected/plpgsql_trigger.out /tmp/cirrus-ci-build/build/testrun/plpgsql/regress/results/plpgsql_trigger.out --- /tmp/cirrus-ci-build/src/pl/plpgsql/src/expected/plpgsql_trigger.out 2024-03-27 22:35:14.150267000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/plpgsql/regress/results/plpgsql_trigger.out 2024-03-27 22:52:57.474631000 +0000 @@ -14,6 +14,7 @@ create trigger testtr_trigger before insert or delete or update on testtr for each row execute function testtr_trigger(); insert into testtr values (1, 'one'), (2, 'two'); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: tg_op = INSERT NOTICE: old() = (,) NOTICE: new(1) = (1,one)