diff -U3 /tmp/cirrus-ci-build/src/pl/tcl/expected/pltcl_queries.out /tmp/cirrus-ci-build/build/testrun/pltcl/regress/results/pltcl_queries.out --- /tmp/cirrus-ci-build/src/pl/tcl/expected/pltcl_queries.out 2024-03-19 13:35:14.032937000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/pltcl/regress/results/pltcl_queries.out 2024-03-19 13:52:47.768397000 +0000 @@ -84,6 +84,7 @@ ERROR: column name/value list contains nonexistent column name "cow" -- test compound return select * from tcl_test_cube_squared(5); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree squared | cubed ---------+------- 25 | 125 @@ -91,6 +92,7 @@ -- test SRF select * from tcl_test_squared_rows(0,5); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree x | y ---+---- 0 | 0 @@ -101,6 +103,7 @@ (5 rows) select * from tcl_test_sequence(0,5) as a; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree a --- 0 @@ -144,6 +147,7 @@ (1 row) select * from tcl_composite_result(1002); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree tkey | ref1 | ref2 ------------+------+---------------------- tkey1 | 1002 | ref22 @@ -159,12 +163,14 @@ (1 row) select * from tcl_dcomposite_result(1002); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree tkey | ref1 | ref2 ------------+------+---------------------- tkey2 | 1002 | ref42 (1 row) select * from tcl_dcomposite_result(-1); -- fail +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: value for domain d_comp1 violates check constraint "d_comp1_check" create function tcl_record_result(int) returns record as $$ return [list q1 sometext q2 $1 q3 moretext] @@ -174,18 +180,21 @@ select * from tcl_record_result(42); -- fail ERROR: a column definition list is required for functions returning "record" at character 15 select * from tcl_record_result(42) as (q1 text, q2 int, q3 text); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree q1 | q2 | q3 ----------+----+---------- sometext | 42 | moretext (1 row) select * from tcl_record_result(42) as (q1 text, q2 int, q3 text, q4 int); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree q1 | q2 | q3 | q4 ----------+----+----------+---- sometext | 42 | moretext | (1 row) select * from tcl_record_result(42) as (q1 text, q2 int, q4 int); -- fail +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ERROR: column name/value list contains nonexistent column name "q3" -- test quote select tcl_eval('quote foo bar'); @@ -314,6 +323,7 @@ ERROR: forced error -- test loop control in spi_exec[p] select tcl_spi_exec(true, 'break'); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: col1 1, col2 foo NOTICE: col1 2, col2 bar NOTICE: action: break @@ -324,6 +334,7 @@ (1 row) select tcl_spi_exec(true, 'continue'); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: col1 1, col2 foo NOTICE: col1 2, col2 bar NOTICE: action: continue @@ -335,11 +346,13 @@ (1 row) select tcl_spi_exec(true, 'error'); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: col1 1, col2 foo NOTICE: col1 2, col2 bar NOTICE: action: error ERROR: error message select tcl_spi_exec(true, 'return'); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: col1 1, col2 foo NOTICE: col1 2, col2 bar NOTICE: action: return @@ -349,6 +362,7 @@ (1 row) select tcl_spi_exec(false, 'break'); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: col1 1, col2 foo NOTICE: col1 2, col2 bar NOTICE: action: break @@ -359,6 +373,7 @@ (1 row) select tcl_spi_exec(false, 'continue'); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: col1 1, col2 foo NOTICE: col1 2, col2 bar NOTICE: action: continue @@ -370,11 +385,13 @@ (1 row) select tcl_spi_exec(false, 'error'); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: col1 1, col2 foo NOTICE: col1 2, col2 bar NOTICE: action: error ERROR: error message select tcl_spi_exec(false, 'return'); +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: col1 1, col2 foo NOTICE: col1 2, col2 bar NOTICE: action: return diff -U3 /tmp/cirrus-ci-build/src/pl/tcl/expected/pltcl_trigger.out /tmp/cirrus-ci-build/build/testrun/pltcl/regress/results/pltcl_trigger.out --- /tmp/cirrus-ci-build/src/pl/tcl/expected/pltcl_trigger.out 2024-03-19 13:35:14.033012000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/pltcl/regress/results/pltcl_trigger.out 2024-03-19 13:52:47.847490000 +0000 @@ -723,6 +723,7 @@ NOTICE: TG_when: {INSTEAD OF} NOTICE: args: {24 {skidoo view}} update trigger_test_view set v = 'update' where i=1; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: NEW: {i: 1, v: update} NOTICE: OLD: {i: 1, v: insert} NOTICE: TG_level: ROW @@ -735,6 +736,7 @@ NOTICE: TG_when: {INSTEAD OF} NOTICE: args: {24 {skidoo view}} delete from trigger_test_view; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree NOTICE: NEW: {} NOTICE: OLD: {i: 1, v: insert} NOTICE: TG_level: ROW @@ -864,7 +866,9 @@ REFERENCING OLD TABLE AS old_table NEW TABLE AS new_table FOR EACH STATEMENT EXECUTE PROCEDURE transition_table_test_f(); update transition_table_test set name = 'b'; +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree INFO: old: 1 -> a +WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree INFO: new: 1 -> b drop table transition_table_test; drop function transition_table_test_f(); diff -U3 /tmp/cirrus-ci-build/src/pl/tcl/expected/pltcl_transaction.out /tmp/cirrus-ci-build/build/testrun/pltcl/regress/results/pltcl_transaction.out --- /tmp/cirrus-ci-build/src/pl/tcl/expected/pltcl_transaction.out 2024-03-19 13:35:14.032991000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/pltcl/regress/results/pltcl_transaction.out 2024-03-19 13:52:47.961129000 +0000 @@ -63,6 +63,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; CREATE PROCEDURE transaction_test4a() LANGUAGE pltcl