2025-01-18 18:34:58.977 UTC postmaster[15513] LOG: starting PostgreSQL 18devel on x86_64-freebsd, compiled by clang-17.0.6, 64-bit 2025-01-18 18:34:58.977 UTC postmaster[15513] LOG: listening on Unix socket "/tmp/pg_regress-AwKejs/.s.PGSQL.40001" 2025-01-18 18:34:58.979 UTC startup[15516] LOG: database system was shut down at 2025-01-18 18:34:58 UTC 2025-01-18 18:34:58.980 UTC postmaster[15513] LOG: database system is ready to accept connections 2025-01-18 18:34:59.058 UTC client backend[15526] pg_regress/plperl_setup ERROR: permission denied to create extension "plperl" 2025-01-18 18:34:59.058 UTC client backend[15526] pg_regress/plperl_setup HINT: Must have CREATE privilege on current database to create this extension. 2025-01-18 18:34:59.058 UTC client backend[15526] pg_regress/plperl_setup STATEMENT: CREATE EXTENSION plperl; 2025-01-18 18:34:59.058 UTC client backend[15526] pg_regress/plperl_setup ERROR: permission denied to create extension "plperlu" 2025-01-18 18:34:59.058 UTC client backend[15526] pg_regress/plperl_setup HINT: Must be superuser to create this extension. 2025-01-18 18:34:59.058 UTC client backend[15526] pg_regress/plperl_setup STATEMENT: CREATE EXTENSION plperlu; 2025-01-18 18:34:59.074 UTC client backend[15526] pg_regress/plperl_setup ERROR: permission denied to create extension "plperlu" 2025-01-18 18:34:59.074 UTC client backend[15526] pg_regress/plperl_setup HINT: Must be superuser to create this extension. 2025-01-18 18:34:59.074 UTC client backend[15526] pg_regress/plperl_setup STATEMENT: CREATE EXTENSION plperlu; 2025-01-18 18:34:59.086 UTC client backend[15531] pg_regress/plperl_setup ERROR: permission denied for language plperl 2025-01-18 18:34:59.086 UTC client backend[15531] pg_regress/plperl_setup STATEMENT: CREATE FUNCTION foo2() returns int language plperl as '2;'; 2025-01-18 18:34:59.099 UTC client backend[15531] pg_regress/plperl_setup ERROR: cannot drop language plperl because extension plperl requires it 2025-01-18 18:34:59.099 UTC client backend[15531] pg_regress/plperl_setup HINT: You can drop extension plperl instead. 2025-01-18 18:34:59.099 UTC client backend[15531] pg_regress/plperl_setup STATEMENT: DROP LANGUAGE plperl CASCADE; 2025-01-18 18:34:59.136 UTC client backend[15537] pg_regress/plperl ERROR: SETOF-composite-returning PL/Perl function must call return_next with reference to hash 2025-01-18 18:34:59.136 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "perl_set" 2025-01-18 18:34:59.136 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT perl_set(); 2025-01-18 18:34:59.136 UTC client backend[15537] pg_regress/plperl ERROR: SETOF-composite-returning PL/Perl function must call return_next with reference to hash 2025-01-18 18:34:59.136 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "perl_set" 2025-01-18 18:34:59.136 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT * FROM perl_set(); 2025-01-18 18:34:59.138 UTC client backend[15537] pg_regress/plperl ERROR: a column definition list is required for functions returning "record" at character 15 2025-01-18 18:34:59.138 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT * FROM perl_record(); 2025-01-18 18:34:59.139 UTC client backend[15537] pg_regress/plperl ERROR: function returning record called in context that cannot accept type record 2025-01-18 18:34:59.139 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "perl_record" 2025-01-18 18:34:59.139 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT perl_record(); 2025-01-18 18:34:59.139 UTC client backend[15537] pg_regress/plperl ERROR: a column definition list is required for functions returning "record" at character 15 2025-01-18 18:34:59.139 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT * FROM perl_record(); 2025-01-18 18:34:59.139 UTC client backend[15537] pg_regress/plperl ERROR: a column definition list is required for functions returning "record" at character 15 2025-01-18 18:34:59.139 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT * FROM perl_record_set(); 2025-01-18 18:34:59.140 UTC client backend[15537] pg_regress/plperl ERROR: function returning record called in context that cannot accept type record 2025-01-18 18:34:59.140 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "perl_record_set" 2025-01-18 18:34:59.140 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT perl_record_set(); 2025-01-18 18:34:59.140 UTC client backend[15537] pg_regress/plperl ERROR: a column definition list is required for functions returning "record" at character 15 2025-01-18 18:34:59.140 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT * FROM perl_record_set(); 2025-01-18 18:34:59.140 UTC client backend[15537] pg_regress/plperl ERROR: SETOF-composite-returning PL/Perl function must call return_next with reference to hash 2025-01-18 18:34:59.140 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "perl_record_set" 2025-01-18 18:34:59.140 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT * FROM perl_record_set() AS (f1 integer, f2 text, f3 text); 2025-01-18 18:34:59.141 UTC client backend[15537] pg_regress/plperl ERROR: function returning record called in context that cannot accept type record 2025-01-18 18:34:59.141 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "perl_record_set" 2025-01-18 18:34:59.141 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT perl_record_set(); 2025-01-18 18:34:59.141 UTC client backend[15537] pg_regress/plperl ERROR: a column definition list is required for functions returning "record" at character 15 2025-01-18 18:34:59.141 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT * FROM perl_record_set(); 2025-01-18 18:34:59.145 UTC client backend[15537] pg_regress/plperl ERROR: Perl hash contains nonexistent column "z" 2025-01-18 18:34:59.145 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "foo_bad" 2025-01-18 18:34:59.145 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT * FROM foo_bad(); 2025-01-18 18:34:59.145 UTC client backend[15537] pg_regress/plperl ERROR: malformed record literal: "42" 2025-01-18 18:34:59.145 UTC client backend[15537] pg_regress/plperl DETAIL: Missing left parenthesis. 2025-01-18 18:34:59.145 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "foo_bad" 2025-01-18 18:34:59.145 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT * FROM foo_bad(); 2025-01-18 18:34:59.146 UTC client backend[15537] pg_regress/plperl ERROR: cannot convert Perl array to non-array type footype 2025-01-18 18:34:59.146 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "foo_bad" 2025-01-18 18:34:59.146 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT * FROM foo_bad(); 2025-01-18 18:34:59.146 UTC client backend[15537] pg_regress/plperl ERROR: set-returning PL/Perl function must return reference to array or use return_next 2025-01-18 18:34:59.146 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "foo_set_bad" 2025-01-18 18:34:59.146 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT * FROM foo_set_bad(); 2025-01-18 18:34:59.147 UTC client backend[15537] pg_regress/plperl ERROR: set-returning PL/Perl function must return reference to array or use return_next 2025-01-18 18:34:59.147 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "foo_set_bad" 2025-01-18 18:34:59.147 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT * FROM foo_set_bad(); 2025-01-18 18:34:59.148 UTC client backend[15537] pg_regress/plperl ERROR: SETOF-composite-returning PL/Perl function must call return_next with reference to hash 2025-01-18 18:34:59.148 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "foo_set_bad" 2025-01-18 18:34:59.148 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT * FROM foo_set_bad(); 2025-01-18 18:34:59.148 UTC client backend[15537] pg_regress/plperl ERROR: Perl hash contains nonexistent column "z" 2025-01-18 18:34:59.148 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "foo_set_bad" 2025-01-18 18:34:59.148 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT * FROM foo_set_bad(); 2025-01-18 18:34:59.150 UTC client backend[15537] pg_regress/plperl ERROR: value for domain orderedfootype violates check constraint "orderedfootype_check" 2025-01-18 18:34:59.150 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "foo_ordered" 2025-01-18 18:34:59.150 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT * FROM foo_ordered(); 2025-01-18 18:34:59.151 UTC client backend[15537] pg_regress/plperl ERROR: value for domain orderedfootype violates check constraint "orderedfootype_check" 2025-01-18 18:34:59.151 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "foo_ordered_set" 2025-01-18 18:34:59.151 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT * FROM foo_ordered_set(); 2025-01-18 18:34:59.153 UTC client backend[15537] pg_regress/plperl ERROR: value for domain orderedfootype violates check constraint "orderedfootype_check" 2025-01-18 18:34:59.153 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT perl_get_cfield((12,11), 'x'); 2025-01-18 18:34:59.154 UTC client backend[15537] pg_regress/plperl ERROR: value for domain orderedfootype violates check constraint "orderedfootype_check" 2025-01-18 18:34:59.154 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT perl_get_rfield((12,11)::orderedfootype, 'x'); 2025-01-18 18:34:59.162 UTC client backend[15537] pg_regress/plperl ERROR: type "does_not_exist" does not exist at line 2. 2025-01-18 18:34:59.162 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "perl_spi_prepared_bad" 2025-01-18 18:34:59.162 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT perl_spi_prepared_bad(4.35) as "double precision"; 2025-01-18 18:34:59.164 UTC client backend[15537] pg_regress/plperl ERROR: 'system' trapped by operation mask at line 1. 2025-01-18 18:34:59.164 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl anonymous code block 2025-01-18 18:34:59.164 UTC client backend[15537] pg_regress/plperl STATEMENT: DO $$ system("/nonesuch"); $$ LANGUAGE plperl; 2025-01-18 18:34:59.164 UTC client backend[15537] pg_regress/plperl ERROR: 'quoted execution (``, qx)' trapped by operation mask at line 1. 2025-01-18 18:34:59.164 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl anonymous code block 2025-01-18 18:34:59.164 UTC client backend[15537] pg_regress/plperl STATEMENT: DO $$ qx("/nonesuch"); $$ LANGUAGE plperl; 2025-01-18 18:34:59.164 UTC client backend[15537] pg_regress/plperl ERROR: 'open' trapped by operation mask at line 1. 2025-01-18 18:34:59.164 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl anonymous code block 2025-01-18 18:34:59.164 UTC client backend[15537] pg_regress/plperl STATEMENT: DO $$ open my $fh, " qw(void) ; my @y; sort @y; 1; $do$ LANGUAGE plperl; 2025-01-18 18:34:59.166 UTC client backend[15537] pg_regress/plperl ERROR: cannot convert Perl array to non-array type text 2025-01-18 18:34:59.166 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "text_arrayref" 2025-01-18 18:34:59.166 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT text_arrayref(); 2025-01-18 18:34:59.166 UTC client backend[15537] pg_regress/plperl ERROR: cannot convert Perl hash to non-composite type text 2025-01-18 18:34:59.166 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "text_hashref" 2025-01-18 18:34:59.166 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT text_hashref(); 2025-01-18 18:34:59.166 UTC client backend[15537] pg_regress/plperl ERROR: cannot convert Perl hash to non-composite type text 2025-01-18 18:34:59.166 UTC client backend[15537] pg_regress/plperl CONTEXT: PL/Perl function "text_obj" 2025-01-18 18:34:59.166 UTC client backend[15537] pg_regress/plperl STATEMENT: SELECT text_obj(); 2025-01-18 18:34:59.188 UTC client backend[15542] pg_regress/plperl_lc ERROR: invalid byte sequence for encoding "UTF8": 0x00 2025-01-18 18:34:59.188 UTC client backend[15542] pg_regress/plperl_lc CONTEXT: PL/Perl function "perl_zerob" 2025-01-18 18:34:59.188 UTC client backend[15542] pg_regress/plperl_lc STATEMENT: SELECT perl_zerob(); 2025-01-18 18:34:59.309 UTC client backend[15549] pg_regress/plperl_trigger ERROR: trigger functions can only be called as triggers 2025-01-18 18:34:59.309 UTC client backend[15549] pg_regress/plperl_trigger CONTEXT: compilation of PL/Perl function "direct_trigger" 2025-01-18 18:34:59.309 UTC client backend[15549] pg_regress/plperl_trigger STATEMENT: SELECT direct_trigger(); 2025-01-18 18:34:59.359 UTC client backend[15549] pg_regress/plperl_trigger ERROR: cannot set generated column "j" 2025-01-18 18:34:59.359 UTC client backend[15549] pg_regress/plperl_trigger CONTEXT: PL/Perl function "generated_test_func1" 2025-01-18 18:34:59.359 UTC client backend[15549] pg_regress/plperl_trigger STATEMENT: INSERT INTO trigger_test_generated (i) VALUES (1); 2025-01-18 18:34:59.524 UTC client backend[15603] pg_regress/plperl_elog WARNING: implicit elog via warn at line 4. 2025-01-18 18:34:59.524 UTC client backend[15603] pg_regress/plperl_elog CONTEXT: PL/Perl function "perl_warn" 2025-01-18 18:34:59.526 UTC client backend[15603] pg_regress/plperl_elog ERROR: Global symbol "$global" requires explicit package name (did you forget to declare "my $global"?) at line 3. Global symbol "$other_global" requires explicit package name (did you forget to declare "my $other_global"?) at line 4. 2025-01-18 18:34:59.526 UTC client backend[15603] pg_regress/plperl_elog CONTEXT: compilation of PL/Perl function "uses_global" 2025-01-18 18:34:59.526 UTC client backend[15603] pg_regress/plperl_elog STATEMENT: create or replace function uses_global() returns text language plperl as $$ $global = 1; $other_global = 2; return 'uses_global worked'; $$; 2025-01-18 18:34:59.532 UTC client backend[15603] pg_regress/plperl_elog ERROR: function uses_global() does not exist at character 8 2025-01-18 18:34:59.532 UTC client backend[15603] pg_regress/plperl_elog HINT: No function matches the given name and argument types. You might need to add explicit type casts. 2025-01-18 18:34:59.532 UTC client backend[15603] pg_regress/plperl_elog STATEMENT: select uses_global(); 2025-01-18 18:34:59.541 UTC client backend[15603] pg_regress/plperl_elog ERROR: just die at line 2. 2025-01-18 18:34:59.541 UTC client backend[15603] pg_regress/plperl_elog CONTEXT: PL/Perl function "just_die" 2025-01-18 18:34:59.541 UTC client backend[15603] pg_regress/plperl_elog STATEMENT: select just_die(); 2025-01-18 18:34:59.569 UTC client backend[15603] pg_regress/plperl_elog ERROR: this message contains a no-break space at line 2. 2025-01-18 18:34:59.569 UTC client backend[15603] pg_regress/plperl_elog CONTEXT: PL/Perl function "error_with_nbsp" 2025-01-18 18:34:59.569 UTC client backend[15603] pg_regress/plperl_elog STATEMENT: select error_with_nbsp(); 2025-01-18 18:34:59.737 UTC client backend[15609] pg_regress/plperl_util ERROR: value for domain perl_foo_pos violates check constraint "perl_foo_pos_check" 2025-01-18 18:34:59.737 UTC client backend[15609] pg_regress/plperl_util CONTEXT: PL/Perl function "perl_encode_typed_literal" 2025-01-18 18:34:59.737 UTC client backend[15609] pg_regress/plperl_util STATEMENT: select perl_encode_typed_literal(); 2025-01-18 18:34:59.817 UTC client backend[15615] pg_regress/plperl_init ERROR: 'system' trapped by operation mask at line 1. 2025-01-18 18:34:59.817 UTC client backend[15615] pg_regress/plperl_init CONTEXT: while executing plperl.on_plperl_init PL/Perl anonymous code block 2025-01-18 18:34:59.817 UTC client backend[15615] pg_regress/plperl_init STATEMENT: DO $$ warn 42 $$ language plperl; 2025-01-18 18:34:59.829 UTC client backend[15616] pg_regress/plperl_init WARNING: permission denied to set parameter "plperl.on_plperl_init" 2025-01-18 18:34:59.841 UTC client backend[15616] pg_regress/plperl_init WARNING: 42 at line 1. 2025-01-18 18:34:59.841 UTC client backend[15616] pg_regress/plperl_init CONTEXT: PL/Perl anonymous code block 2025-01-18 18:34:59.846 UTC client backend[15616] pg_regress/plperl_init ERROR: permission denied to set parameter "plperl.on_plperl_init" 2025-01-18 18:34:59.846 UTC client backend[15616] pg_regress/plperl_init STATEMENT: SET SESSION plperl.on_plperl_init = 'test'; 2025-01-18 18:34:59.901 UTC client backend[15621] pg_regress/plperlu WARNING: 42 at line 1. 2025-01-18 18:34:59.901 UTC client backend[15621] pg_regress/plperlu CONTEXT: PL/Perl anonymous code block 2025-01-18 18:34:59.994 UTC client backend[15628] pg_regress/plperl_array ERROR: number of array dimensions exceeds the maximum allowed (6) at character 25 2025-01-18 18:34:59.994 UTC client backend[15628] pg_regress/plperl_array STATEMENT: select plperl_sum_array('{{{{{{{1,2},{3,4}},{{5,6},{7,8}}},{{{9,10},{11,12}}, {{13,14},{15,16}}}}, {{{{17,18},{19,20}},{{21,22},{23,24}}},{{{25,26},{27,28}},{{29,30},{31,32}}}}}, {{{{{1,2},{3,4}},{{5,6},{7,8}}},{{{9,10},{11,12}},{{13,14},{15,16}}}}, {{{{17,18},{19,20}},{{21,22},{23,24}}},{{{25,26},{27,28}},{{29,30},{31,32}}}}}}, {{{{{{1,2},{3,4}},{{5,6},{7,8}}},{{{9,10},{11,12}},{{13,14},{15,16}}}}, {{{{17,18},{19,20}},{{21,22},{23,24}}},{{{25,26},{27,28}},{{29,30},{31,32}}}}}, {{{{{1,2},{3,4}},{{5,6},{7,8}}},{{{9,10},{11,12}},{{13,14},{15,16}}}}, {{{{17,18},{19,20}},{{21,22},{23,24}}},{{{25,26},{27,28}},{{29,30},{31,32}}}}}}}' ); 2025-01-18 18:34:59.995 UTC client backend[15628] pg_regress/plperl_array ERROR: malformed array literal: "{{{1,2,3}, {4,5,6,7}}, {{7,8,9}, {10, 11, 12}}}" at character 25 2025-01-18 18:34:59.995 UTC client backend[15628] pg_regress/plperl_array DETAIL: Multidimensional arrays must have sub-arrays with matching dimensions. 2025-01-18 18:34:59.995 UTC client backend[15628] pg_regress/plperl_array STATEMENT: select plperl_sum_array('{{{1,2,3}, {4,5,6,7}}, {{7,8,9}, {10, 11, 12}}}'); 2025-01-18 18:35:00.160 UTC client backend[15628] pg_regress/plperl_array ERROR: multidimensional arrays must have array expressions with matching dimensions 2025-01-18 18:35:00.160 UTC client backend[15628] pg_regress/plperl_array CONTEXT: PL/Perl function "plperl_md_array_out" 2025-01-18 18:35:00.160 UTC client backend[15628] pg_regress/plperl_array STATEMENT: select plperl_md_array_out(); 2025-01-18 18:35:00.163 UTC client backend[15628] pg_regress/plperl_array ERROR: multidimensional arrays must have array expressions with matching dimensions 2025-01-18 18:35:00.163 UTC client backend[15628] pg_regress/plperl_array CONTEXT: PL/Perl function "plperl_md_array_out" 2025-01-18 18:35:00.163 UTC client backend[15628] pg_regress/plperl_array STATEMENT: select plperl_md_array_out(); 2025-01-18 18:35:00.166 UTC client backend[15628] pg_regress/plperl_array ERROR: multidimensional arrays must have array expressions with matching dimensions 2025-01-18 18:35:00.166 UTC client backend[15628] pg_regress/plperl_array CONTEXT: PL/Perl function "plperl_md_array_out" 2025-01-18 18:35:00.166 UTC client backend[15628] pg_regress/plperl_array STATEMENT: select plperl_md_array_out(); 2025-01-18 18:35:00.168 UTC client backend[15628] pg_regress/plperl_array ERROR: multidimensional arrays must have array expressions with matching dimensions 2025-01-18 18:35:00.168 UTC client backend[15628] pg_regress/plperl_array CONTEXT: PL/Perl function "plperl_md_array_out" 2025-01-18 18:35:00.168 UTC client backend[15628] pg_regress/plperl_array STATEMENT: select plperl_md_array_out(); 2025-01-18 18:35:00.441 UTC client backend[15646] pg_regress/plperl_transaction ERROR: invalid transaction termination at line 5. 2025-01-18 18:35:00.441 UTC client backend[15646] pg_regress/plperl_transaction CONTEXT: PL/Perl function "transaction_test2" 2025-01-18 18:35:00.441 UTC client backend[15646] pg_regress/plperl_transaction STATEMENT: SELECT transaction_test2(); 2025-01-18 18:35:00.442 UTC client backend[15646] pg_regress/plperl_transaction ERROR: invalid transaction termination at line 5. at line 2. 2025-01-18 18:35:00.442 UTC client backend[15646] pg_regress/plperl_transaction CONTEXT: PL/Perl function "transaction_test3" 2025-01-18 18:35:00.442 UTC client backend[15646] pg_regress/plperl_transaction STATEMENT: SELECT transaction_test3(); 2025-01-18 18:35:00.442 UTC client backend[15646] pg_regress/plperl_transaction ERROR: invalid transaction termination at line 1. at line 2. 2025-01-18 18:35:00.442 UTC client backend[15646] pg_regress/plperl_transaction CONTEXT: PL/Perl function "transaction_test4" 2025-01-18 18:35:00.442 UTC client backend[15646] pg_regress/plperl_transaction STATEMENT: SELECT transaction_test4(); 2025-01-18 18:35:00.449 UTC client backend[15646] pg_regress/plperl_transaction ERROR: division by zero at line 5. 2025-01-18 18:35:00.449 UTC client backend[15646] pg_regress/plperl_transaction CONTEXT: PL/Perl anonymous code block 2025-01-18 18:35:00.449 UTC client backend[15646] pg_regress/plperl_transaction STATEMENT: DO LANGUAGE plperl $$ my $sth = spi_query("SELECT * FROM test2 ORDER BY x"); my $row; while (defined($row = spi_fetchrow($sth))) { spi_exec_query("INSERT INTO test1 (a) VALUES (12/(" . $row->{x} . "-2))"); spi_commit(); } $$; 2025-01-18 18:35:00.459 UTC client backend[15646] pg_regress/plperl_transaction ERROR: insert or update on table "testfk" violates foreign key constraint "testfk_f1_fkey" at line 4. 2025-01-18 18:35:00.459 UTC client backend[15646] pg_regress/plperl_transaction CONTEXT: PL/Perl anonymous code block 2025-01-18 18:35:00.459 UTC client backend[15646] pg_regress/plperl_transaction STATEMENT: DO LANGUAGE plperl $$ # this insert will fail during commit: spi_exec_query("INSERT INTO testfk VALUES (0)"); spi_commit(); elog(WARNING, 'should not get here'); $$; 2025-01-18 18:35:00.514 UTC client backend[15651] pg_regress/plperl_env WARNING: attempted alteration of $ENV{TEST_PLPERL_ENV_FOO} at line 12. 2025-01-18 18:35:00.514 UTC client backend[15651] pg_regress/plperl_env CONTEXT: PL/Perl anonymous code block 2025-01-18 18:35:00.528 UTC postmaster[15513] LOG: received fast shutdown request 2025-01-18 18:35:00.528 UTC postmaster[15513] LOG: aborting any active transactions TRAP: failed Assert("(remainMask.mask | targetMask.mask) == BTYPE_MASK_ALL.mask"), File: "../src/backend/postmaster/postmaster.c", Line: 2909, PID: 15513 0xaa3af2 at /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres 0x89d2d5 at /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres 0x89af45 at /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres 0x89a164 at /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres