2025-01-31 07:46:13.873 UTC postmaster[15509] LOG: starting PostgreSQL 18devel on x86_64-freebsd, compiled by clang-17.0.6, 64-bit 2025-01-31 07:46:13.873 UTC postmaster[15509] LOG: listening on Unix socket "/tmp/pg_regress-pmA1he/.s.PGSQL.40001" 2025-01-31 07:46:13.876 UTC startup[15512] LOG: database system was shut down at 2025-01-31 07:46:13 UTC 2025-01-31 07:46:13.877 UTC postmaster[15509] LOG: database system is ready to accept connections 2025-01-31 07:46:13.970 UTC client backend[15530] pg_regress/plperl_setup ERROR: permission denied to create extension "plperl" 2025-01-31 07:46:13.970 UTC client backend[15530] pg_regress/plperl_setup HINT: Must have CREATE privilege on current database to create this extension. 2025-01-31 07:46:13.970 UTC client backend[15530] pg_regress/plperl_setup STATEMENT: CREATE EXTENSION plperl; 2025-01-31 07:46:13.970 UTC client backend[15530] pg_regress/plperl_setup ERROR: permission denied to create extension "plperlu" 2025-01-31 07:46:13.970 UTC client backend[15530] pg_regress/plperl_setup HINT: Must be superuser to create this extension. 2025-01-31 07:46:13.970 UTC client backend[15530] pg_regress/plperl_setup STATEMENT: CREATE EXTENSION plperlu; 2025-01-31 07:46:13.993 UTC client backend[15530] pg_regress/plperl_setup ERROR: permission denied to create extension "plperlu" 2025-01-31 07:46:13.993 UTC client backend[15530] pg_regress/plperl_setup HINT: Must be superuser to create this extension. 2025-01-31 07:46:13.993 UTC client backend[15530] pg_regress/plperl_setup STATEMENT: CREATE EXTENSION plperlu; 2025-01-31 07:46:14.029 UTC client backend[15542] pg_regress/plperl_setup ERROR: permission denied for language plperl 2025-01-31 07:46:14.029 UTC client backend[15542] pg_regress/plperl_setup STATEMENT: CREATE FUNCTION foo2() returns int language plperl as '2;'; 2025-01-31 07:46:14.042 UTC client backend[15542] pg_regress/plperl_setup ERROR: cannot drop language plperl because extension plperl requires it 2025-01-31 07:46:14.042 UTC client backend[15542] pg_regress/plperl_setup HINT: You can drop extension plperl instead. 2025-01-31 07:46:14.042 UTC client backend[15542] pg_regress/plperl_setup STATEMENT: DROP LANGUAGE plperl CASCADE; 2025-01-31 07:46:14.081 UTC client backend[15557] pg_regress/plperl ERROR: SETOF-composite-returning PL/Perl function must call return_next with reference to hash 2025-01-31 07:46:14.081 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "perl_set" 2025-01-31 07:46:14.081 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT perl_set(); 2025-01-31 07:46:14.082 UTC client backend[15557] pg_regress/plperl ERROR: SETOF-composite-returning PL/Perl function must call return_next with reference to hash 2025-01-31 07:46:14.082 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "perl_set" 2025-01-31 07:46:14.082 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT * FROM perl_set(); 2025-01-31 07:46:14.083 UTC client backend[15557] pg_regress/plperl ERROR: a column definition list is required for functions returning "record" at character 15 2025-01-31 07:46:14.083 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT * FROM perl_record(); 2025-01-31 07:46:14.084 UTC client backend[15557] pg_regress/plperl ERROR: function returning record called in context that cannot accept type record 2025-01-31 07:46:14.084 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "perl_record" 2025-01-31 07:46:14.084 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT perl_record(); 2025-01-31 07:46:14.084 UTC client backend[15557] pg_regress/plperl ERROR: a column definition list is required for functions returning "record" at character 15 2025-01-31 07:46:14.084 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT * FROM perl_record(); 2025-01-31 07:46:14.085 UTC client backend[15557] pg_regress/plperl ERROR: a column definition list is required for functions returning "record" at character 15 2025-01-31 07:46:14.085 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT * FROM perl_record_set(); 2025-01-31 07:46:14.086 UTC client backend[15557] pg_regress/plperl ERROR: function returning record called in context that cannot accept type record 2025-01-31 07:46:14.086 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "perl_record_set" 2025-01-31 07:46:14.086 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT perl_record_set(); 2025-01-31 07:46:14.086 UTC client backend[15557] pg_regress/plperl ERROR: a column definition list is required for functions returning "record" at character 15 2025-01-31 07:46:14.086 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT * FROM perl_record_set(); 2025-01-31 07:46:14.086 UTC client backend[15557] pg_regress/plperl ERROR: SETOF-composite-returning PL/Perl function must call return_next with reference to hash 2025-01-31 07:46:14.086 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "perl_record_set" 2025-01-31 07:46:14.086 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT * FROM perl_record_set() AS (f1 integer, f2 text, f3 text); 2025-01-31 07:46:14.086 UTC client backend[15557] pg_regress/plperl ERROR: function returning record called in context that cannot accept type record 2025-01-31 07:46:14.086 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "perl_record_set" 2025-01-31 07:46:14.086 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT perl_record_set(); 2025-01-31 07:46:14.086 UTC client backend[15557] pg_regress/plperl ERROR: a column definition list is required for functions returning "record" at character 15 2025-01-31 07:46:14.086 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT * FROM perl_record_set(); 2025-01-31 07:46:14.090 UTC client backend[15557] pg_regress/plperl ERROR: Perl hash contains nonexistent column "z" 2025-01-31 07:46:14.090 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "foo_bad" 2025-01-31 07:46:14.090 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT * FROM foo_bad(); 2025-01-31 07:46:14.091 UTC client backend[15557] pg_regress/plperl ERROR: malformed record literal: "42" 2025-01-31 07:46:14.091 UTC client backend[15557] pg_regress/plperl DETAIL: Missing left parenthesis. 2025-01-31 07:46:14.091 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "foo_bad" 2025-01-31 07:46:14.091 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT * FROM foo_bad(); 2025-01-31 07:46:14.091 UTC client backend[15557] pg_regress/plperl ERROR: cannot convert Perl array to non-array type footype 2025-01-31 07:46:14.091 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "foo_bad" 2025-01-31 07:46:14.091 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT * FROM foo_bad(); 2025-01-31 07:46:14.092 UTC client backend[15557] pg_regress/plperl ERROR: set-returning PL/Perl function must return reference to array or use return_next 2025-01-31 07:46:14.092 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "foo_set_bad" 2025-01-31 07:46:14.092 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT * FROM foo_set_bad(); 2025-01-31 07:46:14.092 UTC client backend[15557] pg_regress/plperl ERROR: set-returning PL/Perl function must return reference to array or use return_next 2025-01-31 07:46:14.092 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "foo_set_bad" 2025-01-31 07:46:14.092 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT * FROM foo_set_bad(); 2025-01-31 07:46:14.093 UTC client backend[15557] pg_regress/plperl ERROR: SETOF-composite-returning PL/Perl function must call return_next with reference to hash 2025-01-31 07:46:14.093 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "foo_set_bad" 2025-01-31 07:46:14.093 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT * FROM foo_set_bad(); 2025-01-31 07:46:14.093 UTC client backend[15557] pg_regress/plperl ERROR: Perl hash contains nonexistent column "z" 2025-01-31 07:46:14.093 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "foo_set_bad" 2025-01-31 07:46:14.093 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT * FROM foo_set_bad(); 2025-01-31 07:46:14.096 UTC client backend[15557] pg_regress/plperl ERROR: value for domain orderedfootype violates check constraint "orderedfootype_check" 2025-01-31 07:46:14.096 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "foo_ordered" 2025-01-31 07:46:14.096 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT * FROM foo_ordered(); 2025-01-31 07:46:14.097 UTC client backend[15557] pg_regress/plperl ERROR: value for domain orderedfootype violates check constraint "orderedfootype_check" 2025-01-31 07:46:14.097 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "foo_ordered_set" 2025-01-31 07:46:14.097 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT * FROM foo_ordered_set(); 2025-01-31 07:46:14.099 UTC client backend[15557] pg_regress/plperl ERROR: value for domain orderedfootype violates check constraint "orderedfootype_check" 2025-01-31 07:46:14.099 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT perl_get_cfield((12,11), 'x'); 2025-01-31 07:46:14.100 UTC client backend[15557] pg_regress/plperl ERROR: value for domain orderedfootype violates check constraint "orderedfootype_check" 2025-01-31 07:46:14.100 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT perl_get_rfield((12,11)::orderedfootype, 'x'); 2025-01-31 07:46:14.108 UTC client backend[15557] pg_regress/plperl ERROR: type "does_not_exist" does not exist at line 2. 2025-01-31 07:46:14.108 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "perl_spi_prepared_bad" 2025-01-31 07:46:14.108 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT perl_spi_prepared_bad(4.35) as "double precision"; 2025-01-31 07:46:14.110 UTC client backend[15557] pg_regress/plperl ERROR: 'system' trapped by operation mask at line 1. 2025-01-31 07:46:14.110 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl anonymous code block 2025-01-31 07:46:14.110 UTC client backend[15557] pg_regress/plperl STATEMENT: DO $$ system("/nonesuch"); $$ LANGUAGE plperl; 2025-01-31 07:46:14.110 UTC client backend[15557] pg_regress/plperl ERROR: 'quoted execution (``, qx)' trapped by operation mask at line 1. 2025-01-31 07:46:14.110 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl anonymous code block 2025-01-31 07:46:14.110 UTC client backend[15557] pg_regress/plperl STATEMENT: DO $$ qx("/nonesuch"); $$ LANGUAGE plperl; 2025-01-31 07:46:14.110 UTC client backend[15557] pg_regress/plperl ERROR: 'open' trapped by operation mask at line 1. 2025-01-31 07:46:14.110 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl anonymous code block 2025-01-31 07:46:14.110 UTC client backend[15557] pg_regress/plperl STATEMENT: DO $$ open my $fh, " qw(void) ; my @y; sort @y; 1; $do$ LANGUAGE plperl; 2025-01-31 07:46:14.112 UTC client backend[15557] pg_regress/plperl ERROR: cannot convert Perl array to non-array type text 2025-01-31 07:46:14.112 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "text_arrayref" 2025-01-31 07:46:14.112 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT text_arrayref(); 2025-01-31 07:46:14.113 UTC client backend[15557] pg_regress/plperl ERROR: cannot convert Perl hash to non-composite type text 2025-01-31 07:46:14.113 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "text_hashref" 2025-01-31 07:46:14.113 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT text_hashref(); 2025-01-31 07:46:14.113 UTC client backend[15557] pg_regress/plperl ERROR: cannot convert Perl hash to non-composite type text 2025-01-31 07:46:14.113 UTC client backend[15557] pg_regress/plperl CONTEXT: PL/Perl function "text_obj" 2025-01-31 07:46:14.113 UTC client backend[15557] pg_regress/plperl STATEMENT: SELECT text_obj(); 2025-01-31 07:46:14.137 UTC client backend[15573] pg_regress/plperl_lc ERROR: invalid byte sequence for encoding "UTF8": 0x00 2025-01-31 07:46:14.137 UTC client backend[15573] pg_regress/plperl_lc CONTEXT: PL/Perl function "perl_zerob" 2025-01-31 07:46:14.137 UTC client backend[15573] pg_regress/plperl_lc STATEMENT: SELECT perl_zerob(); 2025-01-31 07:46:14.185 UTC client backend[15583] pg_regress/plperl_trigger ERROR: trigger functions can only be called as triggers 2025-01-31 07:46:14.185 UTC client backend[15583] pg_regress/plperl_trigger CONTEXT: compilation of PL/Perl function "direct_trigger" 2025-01-31 07:46:14.185 UTC client backend[15583] pg_regress/plperl_trigger STATEMENT: SELECT direct_trigger(); 2025-01-31 07:46:14.197 UTC client backend[15583] pg_regress/plperl_trigger ERROR: cannot set generated column "j" 2025-01-31 07:46:14.197 UTC client backend[15583] pg_regress/plperl_trigger CONTEXT: PL/Perl function "generated_test_func1" 2025-01-31 07:46:14.197 UTC client backend[15583] pg_regress/plperl_trigger STATEMENT: INSERT INTO trigger_test_generated (i) VALUES (1); 2025-01-31 07:46:14.257 UTC client backend[15626] pg_regress/plperl_elog WARNING: implicit elog via warn at line 4. 2025-01-31 07:46:14.257 UTC client backend[15626] pg_regress/plperl_elog CONTEXT: PL/Perl function "perl_warn" 2025-01-31 07:46:14.259 UTC client backend[15626] 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-31 07:46:14.259 UTC client backend[15626] pg_regress/plperl_elog CONTEXT: compilation of PL/Perl function "uses_global" 2025-01-31 07:46:14.259 UTC client backend[15626] 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-31 07:46:14.262 UTC client backend[15626] pg_regress/plperl_elog ERROR: function uses_global() does not exist at character 8 2025-01-31 07:46:14.262 UTC client backend[15626] pg_regress/plperl_elog HINT: No function matches the given name and argument types. You might need to add explicit type casts. 2025-01-31 07:46:14.262 UTC client backend[15626] pg_regress/plperl_elog STATEMENT: select uses_global(); 2025-01-31 07:46:14.271 UTC client backend[15626] pg_regress/plperl_elog ERROR: just die at line 2. 2025-01-31 07:46:14.271 UTC client backend[15626] pg_regress/plperl_elog CONTEXT: PL/Perl function "just_die" 2025-01-31 07:46:14.271 UTC client backend[15626] pg_regress/plperl_elog STATEMENT: select just_die(); 2025-01-31 07:46:14.281 UTC client backend[15626] pg_regress/plperl_elog ERROR: this message contains a no-break space at line 2. 2025-01-31 07:46:14.281 UTC client backend[15626] pg_regress/plperl_elog CONTEXT: PL/Perl function "error_with_nbsp" 2025-01-31 07:46:14.281 UTC client backend[15626] pg_regress/plperl_elog STATEMENT: select error_with_nbsp(); 2025-01-31 07:46:14.327 UTC client backend[15631] pg_regress/plperl_util ERROR: value for domain perl_foo_pos violates check constraint "perl_foo_pos_check" 2025-01-31 07:46:14.327 UTC client backend[15631] pg_regress/plperl_util CONTEXT: PL/Perl function "perl_encode_typed_literal" 2025-01-31 07:46:14.327 UTC client backend[15631] pg_regress/plperl_util STATEMENT: select perl_encode_typed_literal(); 2025-01-31 07:46:14.359 UTC client backend[15635] pg_regress/plperl_init ERROR: 'system' trapped by operation mask at line 1. 2025-01-31 07:46:14.359 UTC client backend[15635] pg_regress/plperl_init CONTEXT: while executing plperl.on_plperl_init PL/Perl anonymous code block 2025-01-31 07:46:14.359 UTC client backend[15635] pg_regress/plperl_init STATEMENT: DO $$ warn 42 $$ language plperl; 2025-01-31 07:46:14.368 UTC client backend[15636] pg_regress/plperl_init WARNING: permission denied to set parameter "plperl.on_plperl_init" 2025-01-31 07:46:14.379 UTC client backend[15636] pg_regress/plperl_init WARNING: 42 at line 1. 2025-01-31 07:46:14.379 UTC client backend[15636] pg_regress/plperl_init CONTEXT: PL/Perl anonymous code block 2025-01-31 07:46:14.380 UTC client backend[15636] pg_regress/plperl_init ERROR: permission denied to set parameter "plperl.on_plperl_init" 2025-01-31 07:46:14.380 UTC client backend[15636] pg_regress/plperl_init STATEMENT: SET SESSION plperl.on_plperl_init = 'test'; 2025-01-31 07:46:14.405 UTC client backend[15640] pg_regress/plperlu WARNING: 42 at line 1. 2025-01-31 07:46:14.405 UTC client backend[15640] pg_regress/plperlu CONTEXT: PL/Perl anonymous code block 2025-01-31 07:46:14.438 UTC client backend[15643] pg_regress/plperl_array ERROR: number of array dimensions exceeds the maximum allowed (6) at character 25 2025-01-31 07:46:14.438 UTC client backend[15643] 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-31 07:46:14.438 UTC client backend[15643] 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-31 07:46:14.438 UTC client backend[15643] pg_regress/plperl_array DETAIL: Multidimensional arrays must have sub-arrays with matching dimensions. 2025-01-31 07:46:14.438 UTC client backend[15643] pg_regress/plperl_array STATEMENT: select plperl_sum_array('{{{1,2,3}, {4,5,6,7}}, {{7,8,9}, {10, 11, 12}}}'); 2025-01-31 07:46:14.461 UTC client backend[15643] pg_regress/plperl_array ERROR: multidimensional arrays must have array expressions with matching dimensions 2025-01-31 07:46:14.461 UTC client backend[15643] pg_regress/plperl_array CONTEXT: PL/Perl function "plperl_md_array_out" 2025-01-31 07:46:14.461 UTC client backend[15643] pg_regress/plperl_array STATEMENT: select plperl_md_array_out(); 2025-01-31 07:46:14.461 UTC client backend[15643] pg_regress/plperl_array ERROR: multidimensional arrays must have array expressions with matching dimensions 2025-01-31 07:46:14.461 UTC client backend[15643] pg_regress/plperl_array CONTEXT: PL/Perl function "plperl_md_array_out" 2025-01-31 07:46:14.461 UTC client backend[15643] pg_regress/plperl_array STATEMENT: select plperl_md_array_out(); 2025-01-31 07:46:14.462 UTC client backend[15643] pg_regress/plperl_array ERROR: multidimensional arrays must have array expressions with matching dimensions 2025-01-31 07:46:14.462 UTC client backend[15643] pg_regress/plperl_array CONTEXT: PL/Perl function "plperl_md_array_out" 2025-01-31 07:46:14.462 UTC client backend[15643] pg_regress/plperl_array STATEMENT: select plperl_md_array_out(); 2025-01-31 07:46:14.463 UTC client backend[15643] pg_regress/plperl_array ERROR: multidimensional arrays must have array expressions with matching dimensions 2025-01-31 07:46:14.463 UTC client backend[15643] pg_regress/plperl_array CONTEXT: PL/Perl function "plperl_md_array_out" 2025-01-31 07:46:14.463 UTC client backend[15643] pg_regress/plperl_array STATEMENT: select plperl_md_array_out(); 2025-01-31 07:46:14.528 UTC client backend[15651] pg_regress/plperl_transaction ERROR: invalid transaction termination at line 5. 2025-01-31 07:46:14.528 UTC client backend[15651] pg_regress/plperl_transaction CONTEXT: PL/Perl function "transaction_test2" 2025-01-31 07:46:14.528 UTC client backend[15651] pg_regress/plperl_transaction STATEMENT: SELECT transaction_test2(); 2025-01-31 07:46:14.529 UTC client backend[15651] pg_regress/plperl_transaction ERROR: invalid transaction termination at line 5. at line 2. 2025-01-31 07:46:14.529 UTC client backend[15651] pg_regress/plperl_transaction CONTEXT: PL/Perl function "transaction_test3" 2025-01-31 07:46:14.529 UTC client backend[15651] pg_regress/plperl_transaction STATEMENT: SELECT transaction_test3(); 2025-01-31 07:46:14.530 UTC client backend[15651] pg_regress/plperl_transaction ERROR: invalid transaction termination at line 1. at line 2. 2025-01-31 07:46:14.530 UTC client backend[15651] pg_regress/plperl_transaction CONTEXT: PL/Perl function "transaction_test4" 2025-01-31 07:46:14.530 UTC client backend[15651] pg_regress/plperl_transaction STATEMENT: SELECT transaction_test4(); 2025-01-31 07:46:14.535 UTC client backend[15651] pg_regress/plperl_transaction ERROR: division by zero at line 5. 2025-01-31 07:46:14.535 UTC client backend[15651] pg_regress/plperl_transaction CONTEXT: PL/Perl anonymous code block 2025-01-31 07:46:14.535 UTC client backend[15651] 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-31 07:46:14.545 UTC client backend[15651] pg_regress/plperl_transaction ERROR: insert or update on table "testfk" violates foreign key constraint "testfk_f1_fkey" at line 4. 2025-01-31 07:46:14.545 UTC client backend[15651] pg_regress/plperl_transaction CONTEXT: PL/Perl anonymous code block 2025-01-31 07:46:14.545 UTC client backend[15651] 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-31 07:46:14.574 UTC client backend[15655] pg_regress/plperl_env WARNING: attempted alteration of $ENV{TEST_PLPERL_ENV_FOO} at line 12. 2025-01-31 07:46:14.574 UTC client backend[15655] pg_regress/plperl_env CONTEXT: PL/Perl anonymous code block 2025-01-31 07:46:14.580 UTC postmaster[15509] LOG: received fast shutdown request 2025-01-31 07:46:14.580 UTC postmaster[15509] LOG: aborting any active transactions TRAP: failed Assert("(remainMask.mask | targetMask.mask) == BTYPE_MASK_ALL.mask"), File: "../src/backend/postmaster/postmaster.c", Line: 2951, PID: 15509 0xaa7bb2 at /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres 0x8a0234 at /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres 0x89e215 at /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres 0x89d524 at /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres