2025-01-30 12:25:19.331 UTC [21006][postmaster] LOG: starting PostgreSQL 18devel on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit 2025-01-30 12:25:19.331 UTC [21006][postmaster] LOG: listening on Unix socket "/tmp/pg_regress-T71Xri/.s.PGSQL.65312" 2025-01-30 12:25:19.346 UTC [21025][startup] LOG: database system was shut down at 2025-01-30 12:25:18 UTC 2025-01-30 12:25:19.355 UTC [21006][postmaster] LOG: database system is ready to accept connections 2025-01-30 12:25:19.393 UTC [21043][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:19.394 UTC [21043][client backend] [[unknown]][0/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:19.394 UTC [21043][client backend] [[unknown]][0/1:0] LOG: connection authorized: user=postgres database=postgres application_name=pg_regress 2025-01-30 12:25:19.420 UTC [21043][client backend] [pg_regress][:0] LOG: disconnection: session time: 0:00:00.028 user=postgres database=postgres host=[local] 2025-01-30 12:25:19.459 UTC [21065][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:19.467 UTC [21065][client backend] [[unknown]][1/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:19.467 UTC [21065][client backend] [[unknown]][1/1:0] LOG: connection authorized: user=postgres database=postgres application_name=pg_regress 2025-01-30 12:25:19.610 UTC [21065][client backend] [pg_regress][:0] LOG: disconnection: session time: 0:00:00.151 user=postgres database=postgres host=[local] 2025-01-30 12:25:19.662 UTC [21091][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:19.663 UTC [21091][client backend] [[unknown]][2/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:19.663 UTC [21091][client backend] [[unknown]][2/1:0] LOG: connection authorized: user=postgres database=pl_regression application_name=pg_regress/plperl_setup 2025-01-30 12:25:19.690 UTC [21091][client backend] [pg_regress/plperl_setup][2/5:751] ERROR: permission denied to create extension "plperl" 2025-01-30 12:25:19.690 UTC [21091][client backend] [pg_regress/plperl_setup][2/5:751] HINT: Must have CREATE privilege on current database to create this extension. 2025-01-30 12:25:19.690 UTC [21091][client backend] [pg_regress/plperl_setup][2/5:751] STATEMENT: CREATE EXTENSION plperl; 2025-01-30 12:25:19.691 UTC [21091][client backend] [pg_regress/plperl_setup][2/6:752] ERROR: permission denied to create extension "plperlu" 2025-01-30 12:25:19.691 UTC [21091][client backend] [pg_regress/plperl_setup][2/6:752] HINT: Must be superuser to create this extension. 2025-01-30 12:25:19.691 UTC [21091][client backend] [pg_regress/plperl_setup][2/6:752] STATEMENT: CREATE EXTENSION plperlu; 2025-01-30 12:25:19.740 UTC [21091][client backend] [pg_regress/plperl_setup][2/11:755] ERROR: permission denied to create extension "plperlu" 2025-01-30 12:25:19.740 UTC [21091][client backend] [pg_regress/plperl_setup][2/11:755] HINT: Must be superuser to create this extension. 2025-01-30 12:25:19.740 UTC [21091][client backend] [pg_regress/plperl_setup][2/11:755] STATEMENT: CREATE EXTENSION plperlu; 2025-01-30 12:25:19.781 UTC [21111][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:19.783 UTC [21111][client backend] [[unknown]][3/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:19.783 UTC [21111][client backend] [[unknown]][3/1:0] LOG: connection authorized: user=postgres database=pl_regression application_name=pg_regress/plperl_setup 2025-01-30 12:25:19.786 UTC [21091][client backend] [pg_regress/plperl_setup][:0] LOG: disconnection: session time: 0:00:00.130 user=postgres database=pl_regression host=[local] 2025-01-30 12:25:19.793 UTC [21111][client backend] [pg_regress/plperl_setup][3/6:0] ERROR: permission denied for language plperl 2025-01-30 12:25:19.793 UTC [21111][client backend] [pg_regress/plperl_setup][3/6:0] STATEMENT: CREATE FUNCTION foo2() returns int language plperl as '2;'; 2025-01-30 12:25:19.854 UTC [21111][client backend] [pg_regress/plperl_setup][3/13:0] ERROR: cannot drop language plperl because extension plperl requires it 2025-01-30 12:25:19.854 UTC [21111][client backend] [pg_regress/plperl_setup][3/13:0] HINT: You can drop extension plperl instead. 2025-01-30 12:25:19.854 UTC [21111][client backend] [pg_regress/plperl_setup][3/13:0] STATEMENT: DROP LANGUAGE plperl CASCADE; 2025-01-30 12:25:19.882 UTC [21111][client backend] [pg_regress/plperl_setup][:0] LOG: disconnection: session time: 0:00:00.109 user=postgres database=pl_regression host=[local] 2025-01-30 12:25:19.930 UTC [21140][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:19.931 UTC [21140][client backend] [[unknown]][4/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:19.931 UTC [21140][client backend] [[unknown]][4/1:0] LOG: connection authorized: user=postgres database=pl_regression application_name=pg_regress/plperl 2025-01-30 12:25:19.992 UTC [21140][client backend] [pg_regress/plperl][4/28:0] ERROR: SETOF-composite-returning PL/Perl function must call return_next with reference to hash 2025-01-30 12:25:19.992 UTC [21140][client backend] [pg_regress/plperl][4/28:0] CONTEXT: PL/Perl function "perl_set" 2025-01-30 12:25:19.992 UTC [21140][client backend] [pg_regress/plperl][4/28:0] STATEMENT: SELECT perl_set(); 2025-01-30 12:25:19.992 UTC [21140][client backend] [pg_regress/plperl][4/29:0] ERROR: SETOF-composite-returning PL/Perl function must call return_next with reference to hash 2025-01-30 12:25:19.992 UTC [21140][client backend] [pg_regress/plperl][4/29:0] CONTEXT: PL/Perl function "perl_set" 2025-01-30 12:25:19.992 UTC [21140][client backend] [pg_regress/plperl][4/29:0] STATEMENT: SELECT * FROM perl_set(); 2025-01-30 12:25:19.996 UTC [21140][client backend] [pg_regress/plperl][4/35:0] ERROR: a column definition list is required for functions returning "record" at character 15 2025-01-30 12:25:19.996 UTC [21140][client backend] [pg_regress/plperl][4/35:0] STATEMENT: SELECT * FROM perl_record(); 2025-01-30 12:25:19.998 UTC [21140][client backend] [pg_regress/plperl][4/38:0] ERROR: function returning record called in context that cannot accept type record 2025-01-30 12:25:19.998 UTC [21140][client backend] [pg_regress/plperl][4/38:0] CONTEXT: PL/Perl function "perl_record" 2025-01-30 12:25:19.998 UTC [21140][client backend] [pg_regress/plperl][4/38:0] STATEMENT: SELECT perl_record(); 2025-01-30 12:25:19.998 UTC [21140][client backend] [pg_regress/plperl][4/39:0] ERROR: a column definition list is required for functions returning "record" at character 15 2025-01-30 12:25:19.998 UTC [21140][client backend] [pg_regress/plperl][4/39:0] STATEMENT: SELECT * FROM perl_record(); 2025-01-30 12:25:20.001 UTC [21140][client backend] [pg_regress/plperl][4/43:0] ERROR: a column definition list is required for functions returning "record" at character 15 2025-01-30 12:25:20.001 UTC [21140][client backend] [pg_regress/plperl][4/43:0] STATEMENT: SELECT * FROM perl_record_set(); 2025-01-30 12:25:20.002 UTC [21140][client backend] [pg_regress/plperl][4/46:0] ERROR: function returning record called in context that cannot accept type record 2025-01-30 12:25:20.002 UTC [21140][client backend] [pg_regress/plperl][4/46:0] CONTEXT: PL/Perl function "perl_record_set" 2025-01-30 12:25:20.002 UTC [21140][client backend] [pg_regress/plperl][4/46:0] STATEMENT: SELECT perl_record_set(); 2025-01-30 12:25:20.002 UTC [21140][client backend] [pg_regress/plperl][4/47:0] ERROR: a column definition list is required for functions returning "record" at character 15 2025-01-30 12:25:20.002 UTC [21140][client backend] [pg_regress/plperl][4/47:0] STATEMENT: SELECT * FROM perl_record_set(); 2025-01-30 12:25:20.002 UTC [21140][client backend] [pg_regress/plperl][4/48:0] ERROR: SETOF-composite-returning PL/Perl function must call return_next with reference to hash 2025-01-30 12:25:20.002 UTC [21140][client backend] [pg_regress/plperl][4/48:0] CONTEXT: PL/Perl function "perl_record_set" 2025-01-30 12:25:20.002 UTC [21140][client backend] [pg_regress/plperl][4/48:0] STATEMENT: SELECT * FROM perl_record_set() AS (f1 integer, f2 text, f3 text); 2025-01-30 12:25:20.003 UTC [21140][client backend] [pg_regress/plperl][4/50:0] ERROR: function returning record called in context that cannot accept type record 2025-01-30 12:25:20.003 UTC [21140][client backend] [pg_regress/plperl][4/50:0] CONTEXT: PL/Perl function "perl_record_set" 2025-01-30 12:25:20.003 UTC [21140][client backend] [pg_regress/plperl][4/50:0] STATEMENT: SELECT perl_record_set(); 2025-01-30 12:25:20.003 UTC [21140][client backend] [pg_regress/plperl][4/51:0] ERROR: a column definition list is required for functions returning "record" at character 15 2025-01-30 12:25:20.003 UTC [21140][client backend] [pg_regress/plperl][4/51:0] STATEMENT: SELECT * FROM perl_record_set(); 2025-01-30 12:25:20.008 UTC [21140][client backend] [pg_regress/plperl][4/65:0] ERROR: Perl hash contains nonexistent column "z" 2025-01-30 12:25:20.008 UTC [21140][client backend] [pg_regress/plperl][4/65:0] CONTEXT: PL/Perl function "foo_bad" 2025-01-30 12:25:20.008 UTC [21140][client backend] [pg_regress/plperl][4/65:0] STATEMENT: SELECT * FROM foo_bad(); 2025-01-30 12:25:20.010 UTC [21140][client backend] [pg_regress/plperl][4/67:0] ERROR: malformed record literal: "42" 2025-01-30 12:25:20.010 UTC [21140][client backend] [pg_regress/plperl][4/67:0] DETAIL: Missing left parenthesis. 2025-01-30 12:25:20.010 UTC [21140][client backend] [pg_regress/plperl][4/67:0] CONTEXT: PL/Perl function "foo_bad" 2025-01-30 12:25:20.010 UTC [21140][client backend] [pg_regress/plperl][4/67:0] STATEMENT: SELECT * FROM foo_bad(); 2025-01-30 12:25:20.011 UTC [21140][client backend] [pg_regress/plperl][4/69:0] ERROR: cannot convert Perl array to non-array type footype 2025-01-30 12:25:20.011 UTC [21140][client backend] [pg_regress/plperl][4/69:0] CONTEXT: PL/Perl function "foo_bad" 2025-01-30 12:25:20.011 UTC [21140][client backend] [pg_regress/plperl][4/69:0] STATEMENT: SELECT * FROM foo_bad(); 2025-01-30 12:25:20.012 UTC [21140][client backend] [pg_regress/plperl][4/71:0] ERROR: set-returning PL/Perl function must return reference to array or use return_next 2025-01-30 12:25:20.012 UTC [21140][client backend] [pg_regress/plperl][4/71:0] CONTEXT: PL/Perl function "foo_set_bad" 2025-01-30 12:25:20.012 UTC [21140][client backend] [pg_regress/plperl][4/71:0] STATEMENT: SELECT * FROM foo_set_bad(); 2025-01-30 12:25:20.012 UTC [21140][client backend] [pg_regress/plperl][4/73:0] ERROR: set-returning PL/Perl function must return reference to array or use return_next 2025-01-30 12:25:20.012 UTC [21140][client backend] [pg_regress/plperl][4/73:0] CONTEXT: PL/Perl function "foo_set_bad" 2025-01-30 12:25:20.012 UTC [21140][client backend] [pg_regress/plperl][4/73:0] STATEMENT: SELECT * FROM foo_set_bad(); 2025-01-30 12:25:20.013 UTC [21140][client backend] [pg_regress/plperl][4/75:0] ERROR: SETOF-composite-returning PL/Perl function must call return_next with reference to hash 2025-01-30 12:25:20.013 UTC [21140][client backend] [pg_regress/plperl][4/75:0] CONTEXT: PL/Perl function "foo_set_bad" 2025-01-30 12:25:20.013 UTC [21140][client backend] [pg_regress/plperl][4/75:0] STATEMENT: SELECT * FROM foo_set_bad(); 2025-01-30 12:25:20.014 UTC [21140][client backend] [pg_regress/plperl][4/77:0] ERROR: Perl hash contains nonexistent column "z" 2025-01-30 12:25:20.014 UTC [21140][client backend] [pg_regress/plperl][4/77:0] CONTEXT: PL/Perl function "foo_set_bad" 2025-01-30 12:25:20.014 UTC [21140][client backend] [pg_regress/plperl][4/77:0] STATEMENT: SELECT * FROM foo_set_bad(); 2025-01-30 12:25:20.031 UTC [21140][client backend] [pg_regress/plperl][4/82:0] ERROR: value for domain orderedfootype violates check constraint "orderedfootype_check" 2025-01-30 12:25:20.031 UTC [21140][client backend] [pg_regress/plperl][4/82:0] CONTEXT: PL/Perl function "foo_ordered" 2025-01-30 12:25:20.031 UTC [21140][client backend] [pg_regress/plperl][4/82:0] STATEMENT: SELECT * FROM foo_ordered(); 2025-01-30 12:25:20.041 UTC [21140][client backend] [pg_regress/plperl][4/86:0] ERROR: value for domain orderedfootype violates check constraint "orderedfootype_check" 2025-01-30 12:25:20.041 UTC [21140][client backend] [pg_regress/plperl][4/86:0] CONTEXT: PL/Perl function "foo_ordered_set" 2025-01-30 12:25:20.041 UTC [21140][client backend] [pg_regress/plperl][4/86:0] STATEMENT: SELECT * FROM foo_ordered_set(); 2025-01-30 12:25:20.044 UTC [21140][client backend] [pg_regress/plperl][4/94:0] ERROR: value for domain orderedfootype violates check constraint "orderedfootype_check" 2025-01-30 12:25:20.044 UTC [21140][client backend] [pg_regress/plperl][4/94:0] STATEMENT: SELECT perl_get_cfield((12,11), 'x'); 2025-01-30 12:25:20.055 UTC [21140][client backend] [pg_regress/plperl][4/99:0] ERROR: value for domain orderedfootype violates check constraint "orderedfootype_check" 2025-01-30 12:25:20.055 UTC [21140][client backend] [pg_regress/plperl][4/99:0] STATEMENT: SELECT perl_get_rfield((12,11)::orderedfootype, 'x'); 2025-01-30 12:25:20.090 UTC [21140][client backend] [pg_regress/plperl][4/118:0] ERROR: type "does_not_exist" does not exist at line 2. 2025-01-30 12:25:20.090 UTC [21140][client backend] [pg_regress/plperl][4/118:0] CONTEXT: PL/Perl function "perl_spi_prepared_bad" 2025-01-30 12:25:20.090 UTC [21140][client backend] [pg_regress/plperl][4/118:0] STATEMENT: SELECT perl_spi_prepared_bad(4.35) as "double precision"; 2025-01-30 12:25:20.093 UTC [21140][client backend] [pg_regress/plperl][4/124:0] ERROR: 'system' trapped by operation mask at line 1. 2025-01-30 12:25:20.093 UTC [21140][client backend] [pg_regress/plperl][4/124:0] CONTEXT: PL/Perl anonymous code block 2025-01-30 12:25:20.093 UTC [21140][client backend] [pg_regress/plperl][4/124:0] STATEMENT: DO $$ system("/nonesuch"); $$ LANGUAGE plperl; 2025-01-30 12:25:20.093 UTC [21140][client backend] [pg_regress/plperl][4/125:0] ERROR: 'quoted execution (``, qx)' trapped by operation mask at line 1. 2025-01-30 12:25:20.093 UTC [21140][client backend] [pg_regress/plperl][4/125:0] CONTEXT: PL/Perl anonymous code block 2025-01-30 12:25:20.093 UTC [21140][client backend] [pg_regress/plperl][4/125:0] STATEMENT: DO $$ qx("/nonesuch"); $$ LANGUAGE plperl; 2025-01-30 12:25:20.093 UTC [21140][client backend] [pg_regress/plperl][4/126:0] ERROR: 'open' trapped by operation mask at line 1. 2025-01-30 12:25:20.093 UTC [21140][client backend] [pg_regress/plperl][4/126:0] CONTEXT: PL/Perl anonymous code block 2025-01-30 12:25:20.093 UTC [21140][client backend] [pg_regress/plperl][4/126:0] STATEMENT: DO $$ open my $fh, " qw(void) ; my @y; sort @y; 1; $do$ LANGUAGE plperl; 2025-01-30 12:25:20.097 UTC [21140][client backend] [pg_regress/plperl][4/135:0] ERROR: cannot convert Perl array to non-array type text 2025-01-30 12:25:20.097 UTC [21140][client backend] [pg_regress/plperl][4/135:0] CONTEXT: PL/Perl function "text_arrayref" 2025-01-30 12:25:20.097 UTC [21140][client backend] [pg_regress/plperl][4/135:0] STATEMENT: SELECT text_arrayref(); 2025-01-30 12:25:20.098 UTC [21140][client backend] [pg_regress/plperl][4/137:0] ERROR: cannot convert Perl hash to non-composite type text 2025-01-30 12:25:20.098 UTC [21140][client backend] [pg_regress/plperl][4/137:0] CONTEXT: PL/Perl function "text_hashref" 2025-01-30 12:25:20.098 UTC [21140][client backend] [pg_regress/plperl][4/137:0] STATEMENT: SELECT text_hashref(); 2025-01-30 12:25:20.098 UTC [21140][client backend] [pg_regress/plperl][4/139:0] ERROR: cannot convert Perl hash to non-composite type text 2025-01-30 12:25:20.098 UTC [21140][client backend] [pg_regress/plperl][4/139:0] CONTEXT: PL/Perl function "text_obj" 2025-01-30 12:25:20.098 UTC [21140][client backend] [pg_regress/plperl][4/139:0] STATEMENT: SELECT text_obj(); 2025-01-30 12:25:20.117 UTC [21140][client backend] [pg_regress/plperl][:0] LOG: disconnection: session time: 0:00:00.187 user=postgres database=pl_regression host=[local] 2025-01-30 12:25:20.157 UTC [21175][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:20.166 UTC [21175][client backend] [[unknown]][5/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:20.166 UTC [21175][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=pl_regression application_name=pg_regress/plperl_lc 2025-01-30 12:25:20.234 UTC [21175][client backend] [pg_regress/plperl_lc][5/3:0] ERROR: invalid byte sequence for encoding "UTF8": 0x00 2025-01-30 12:25:20.234 UTC [21175][client backend] [pg_regress/plperl_lc][5/3:0] CONTEXT: PL/Perl function "perl_zerob" 2025-01-30 12:25:20.234 UTC [21175][client backend] [pg_regress/plperl_lc][5/3:0] STATEMENT: SELECT perl_zerob(); 2025-01-30 12:25:20.237 UTC [21175][client backend] [pg_regress/plperl_lc][:0] LOG: disconnection: session time: 0:00:00.082 user=postgres database=pl_regression host=[local] 2025-01-30 12:25:20.301 UTC [21193][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:20.302 UTC [21193][client backend] [[unknown]][6/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:20.302 UTC [21193][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=pl_regression application_name=pg_regress/plperl_trigger 2025-01-30 12:25:20.443 UTC [21193][client backend] [pg_regress/plperl_trigger][6/49:0] ERROR: trigger functions can only be called as triggers 2025-01-30 12:25:20.443 UTC [21193][client backend] [pg_regress/plperl_trigger][6/49:0] CONTEXT: compilation of PL/Perl function "direct_trigger" 2025-01-30 12:25:20.443 UTC [21193][client backend] [pg_regress/plperl_trigger][6/49:0] STATEMENT: SELECT direct_trigger(); 2025-01-30 12:25:20.483 UTC [21193][client backend] [pg_regress/plperl_trigger][6/70:0] ERROR: cannot set generated column "j" 2025-01-30 12:25:20.483 UTC [21193][client backend] [pg_regress/plperl_trigger][6/70:0] CONTEXT: PL/Perl function "generated_test_func1" 2025-01-30 12:25:20.483 UTC [21193][client backend] [pg_regress/plperl_trigger][6/70:0] STATEMENT: INSERT INTO trigger_test_generated (i) VALUES (1); 2025-01-30 12:25:20.497 UTC [21193][client backend] [pg_regress/plperl_trigger][:0] LOG: disconnection: session time: 0:00:00.197 user=postgres database=pl_regression host=[local] 2025-01-30 12:25:20.581 UTC [21230][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:20.583 UTC [21230][client backend] [[unknown]][7/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:20.583 UTC [21230][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=pl_regression application_name=pg_regress/plperl_shared 2025-01-30 12:25:20.683 UTC [21230][client backend] [pg_regress/plperl_shared][:0] LOG: disconnection: session time: 0:00:00.105 user=postgres database=pl_regression host=[local] 2025-01-30 12:25:20.854 UTC [21288][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:20.855 UTC [21288][client backend] [[unknown]][8/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:20.855 UTC [21288][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=pl_regression application_name=pg_regress/plperl_elog 2025-01-30 12:25:21.032 UTC [21288][client backend] [pg_regress/plperl_elog][8/5:0] WARNING: implicit elog via warn at line 4. 2025-01-30 12:25:21.032 UTC [21288][client backend] [pg_regress/plperl_elog][8/5:0] CONTEXT: PL/Perl function "perl_warn" 2025-01-30 12:25:21.033 UTC [21288][client backend] [pg_regress/plperl_elog][8/7:889] 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-30 12:25:21.033 UTC [21288][client backend] [pg_regress/plperl_elog][8/7:889] CONTEXT: compilation of PL/Perl function "uses_global" 2025-01-30 12:25:21.033 UTC [21288][client backend] [pg_regress/plperl_elog][8/7:889] STATEMENT: create or replace function uses_global() returns text language plperl as $$ $global = 1; $other_global = 2; return 'uses_global worked'; $$; 2025-01-30 12:25:21.033 UTC [21288][client backend] [pg_regress/plperl_elog][8/8:0] ERROR: function uses_global() does not exist at character 8 2025-01-30 12:25:21.033 UTC [21288][client backend] [pg_regress/plperl_elog][8/8:0] HINT: No function matches the given name and argument types. You might need to add explicit type casts. 2025-01-30 12:25:21.033 UTC [21288][client backend] [pg_regress/plperl_elog][8/8:0] STATEMENT: select uses_global(); 2025-01-30 12:25:21.043 UTC [21288][client backend] [pg_regress/plperl_elog][8/14:0] ERROR: just die at line 2. 2025-01-30 12:25:21.043 UTC [21288][client backend] [pg_regress/plperl_elog][8/14:0] CONTEXT: PL/Perl function "just_die" 2025-01-30 12:25:21.043 UTC [21288][client backend] [pg_regress/plperl_elog][8/14:0] STATEMENT: select just_die(); 2025-01-30 12:25:21.059 UTC [21288][client backend] [pg_regress/plperl_elog][8/21:0] ERROR: this message contains a no-break space at line 2. 2025-01-30 12:25:21.059 UTC [21288][client backend] [pg_regress/plperl_elog][8/21:0] CONTEXT: PL/Perl function "error_with_nbsp" 2025-01-30 12:25:21.059 UTC [21288][client backend] [pg_regress/plperl_elog][8/21:0] STATEMENT: select error_with_nbsp(); 2025-01-30 12:25:21.062 UTC [21288][client backend] [pg_regress/plperl_elog][:0] LOG: disconnection: session time: 0:00:00.212 user=postgres database=pl_regression host=[local] 2025-01-30 12:25:21.201 UTC [21318][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:21.207 UTC [21318][client backend] [[unknown]][9/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:21.207 UTC [21318][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=pl_regression application_name=pg_regress/plperl_util 2025-01-30 12:25:21.323 UTC [21318][client backend] [pg_regress/plperl_util][9/24:0] ERROR: value for domain perl_foo_pos violates check constraint "perl_foo_pos_check" 2025-01-30 12:25:21.323 UTC [21318][client backend] [pg_regress/plperl_util][9/24:0] CONTEXT: PL/Perl function "perl_encode_typed_literal" 2025-01-30 12:25:21.323 UTC [21318][client backend] [pg_regress/plperl_util][9/24:0] STATEMENT: select perl_encode_typed_literal(); 2025-01-30 12:25:21.330 UTC [21318][client backend] [pg_regress/plperl_util][:0] LOG: disconnection: session time: 0:00:00.131 user=postgres database=pl_regression host=[local] 2025-01-30 12:25:21.445 UTC [21344][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:21.446 UTC [21344][client backend] [[unknown]][10/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:21.446 UTC [21344][client backend] [[unknown]][10/1:0] LOG: connection authorized: user=postgres database=pl_regression application_name=pg_regress/plperl_init 2025-01-30 12:25:21.468 UTC [21344][client backend] [pg_regress/plperl_init][10/5:0] ERROR: 'system' trapped by operation mask at line 1. 2025-01-30 12:25:21.468 UTC [21344][client backend] [pg_regress/plperl_init][10/5:0] CONTEXT: while executing plperl.on_plperl_init PL/Perl anonymous code block 2025-01-30 12:25:21.468 UTC [21344][client backend] [pg_regress/plperl_init][10/5:0] STATEMENT: DO $$ warn 42 $$ language plperl; 2025-01-30 12:25:21.501 UTC [21345][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:21.503 UTC [21345][client backend] [[unknown]][11/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:21.503 UTC [21345][client backend] [[unknown]][11/1:0] LOG: connection authorized: user=postgres database=pl_regression application_name=pg_regress/plperl_init 2025-01-30 12:25:21.506 UTC [21344][client backend] [pg_regress/plperl_init][:0] LOG: disconnection: session time: 0:00:00.061 user=postgres database=pl_regression host=[local] 2025-01-30 12:25:21.528 UTC [21345][client backend] [pg_regress/plperl_init][11/6:0] WARNING: permission denied to set parameter "plperl.on_plperl_init" 2025-01-30 12:25:21.581 UTC [21345][client backend] [pg_regress/plperl_init][11/8:0] WARNING: 42 at line 1. 2025-01-30 12:25:21.581 UTC [21345][client backend] [pg_regress/plperl_init][11/8:0] CONTEXT: PL/Perl anonymous code block 2025-01-30 12:25:21.606 UTC [21345][client backend] [pg_regress/plperl_init][11/10:0] ERROR: permission denied to set parameter "plperl.on_plperl_init" 2025-01-30 12:25:21.606 UTC [21345][client backend] [pg_regress/plperl_init][11/10:0] STATEMENT: SET SESSION plperl.on_plperl_init = 'test'; 2025-01-30 12:25:21.611 UTC [21345][client backend] [pg_regress/plperl_init][:0] LOG: disconnection: session time: 0:00:00.117 user=postgres database=pl_regression host=[local] 2025-01-30 12:25:21.685 UTC [21364][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:21.687 UTC [21364][client backend] [[unknown]][12/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:21.687 UTC [21364][client backend] [[unknown]][12/1:0] LOG: connection authorized: user=postgres database=pl_regression application_name=pg_regress/plperlu 2025-01-30 12:25:21.717 UTC [21364][client backend] [pg_regress/plperlu][12/4:0] WARNING: 42 at line 1. 2025-01-30 12:25:21.717 UTC [21364][client backend] [pg_regress/plperlu][12/4:0] CONTEXT: PL/Perl anonymous code block 2025-01-30 12:25:21.723 UTC [21364][client backend] [pg_regress/plperlu][:0] LOG: disconnection: session time: 0:00:00.038 user=postgres database=pl_regression host=[local] 2025-01-30 12:25:21.790 UTC [21375][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:21.791 UTC [21375][client backend] [[unknown]][13/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:21.791 UTC [21375][client backend] [[unknown]][13/1:0] LOG: connection authorized: user=postgres database=pl_regression application_name=pg_regress/plperl_array 2025-01-30 12:25:21.852 UTC [21375][client backend] [pg_regress/plperl_array][13/8:0] ERROR: number of array dimensions exceeds the maximum allowed (6) at character 25 2025-01-30 12:25:21.852 UTC [21375][client backend] [pg_regress/plperl_array][13/8:0] 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-30 12:25:21.852 UTC [21375][client backend] [pg_regress/plperl_array][13/9:0] ERROR: malformed array literal: "{{{1,2,3}, {4,5,6,7}}, {{7,8,9}, {10, 11, 12}}}" at character 25 2025-01-30 12:25:21.852 UTC [21375][client backend] [pg_regress/plperl_array][13/9:0] DETAIL: Multidimensional arrays must have sub-arrays with matching dimensions. 2025-01-30 12:25:21.852 UTC [21375][client backend] [pg_regress/plperl_array][13/9:0] STATEMENT: select plperl_sum_array('{{{1,2,3}, {4,5,6,7}}, {{7,8,9}, {10, 11, 12}}}'); 2025-01-30 12:25:21.878 UTC [21375][client backend] [pg_regress/plperl_array][13/34:0] ERROR: multidimensional arrays must have array expressions with matching dimensions 2025-01-30 12:25:21.878 UTC [21375][client backend] [pg_regress/plperl_array][13/34:0] CONTEXT: PL/Perl function "plperl_md_array_out" 2025-01-30 12:25:21.878 UTC [21375][client backend] [pg_regress/plperl_array][13/34:0] STATEMENT: select plperl_md_array_out(); 2025-01-30 12:25:21.879 UTC [21375][client backend] [pg_regress/plperl_array][13/36:0] ERROR: multidimensional arrays must have array expressions with matching dimensions 2025-01-30 12:25:21.879 UTC [21375][client backend] [pg_regress/plperl_array][13/36:0] CONTEXT: PL/Perl function "plperl_md_array_out" 2025-01-30 12:25:21.879 UTC [21375][client backend] [pg_regress/plperl_array][13/36:0] STATEMENT: select plperl_md_array_out(); 2025-01-30 12:25:21.880 UTC [21375][client backend] [pg_regress/plperl_array][13/38:0] ERROR: multidimensional arrays must have array expressions with matching dimensions 2025-01-30 12:25:21.880 UTC [21375][client backend] [pg_regress/plperl_array][13/38:0] CONTEXT: PL/Perl function "plperl_md_array_out" 2025-01-30 12:25:21.880 UTC [21375][client backend] [pg_regress/plperl_array][13/38:0] STATEMENT: select plperl_md_array_out(); 2025-01-30 12:25:21.880 UTC [21375][client backend] [pg_regress/plperl_array][13/40:0] ERROR: multidimensional arrays must have array expressions with matching dimensions 2025-01-30 12:25:21.880 UTC [21375][client backend] [pg_regress/plperl_array][13/40:0] CONTEXT: PL/Perl function "plperl_md_array_out" 2025-01-30 12:25:21.880 UTC [21375][client backend] [pg_regress/plperl_array][13/40:0] STATEMENT: select plperl_md_array_out(); 2025-01-30 12:25:21.884 UTC [21375][client backend] [pg_regress/plperl_array][:0] LOG: disconnection: session time: 0:00:00.096 user=postgres database=pl_regression host=[local] 2025-01-30 12:25:21.983 UTC [21394][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:21.984 UTC [21394][client backend] [[unknown]][14/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:21.985 UTC [21394][client backend] [[unknown]][14/1:0] LOG: connection authorized: user=postgres database=pl_regression application_name=pg_regress/plperl_call 2025-01-30 12:25:22.070 UTC [21394][client backend] [pg_regress/plperl_call][:0] LOG: disconnection: session time: 0:00:00.093 user=postgres database=pl_regression host=[local] 2025-01-30 12:25:22.173 UTC [21409][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:22.175 UTC [21409][client backend] [[unknown]][15/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:22.175 UTC [21409][client backend] [[unknown]][15/1:0] LOG: connection authorized: user=postgres database=pl_regression application_name=pg_regress/plperl_transaction 2025-01-30 12:25:22.291 UTC [21409][client backend] [pg_regress/plperl_transaction][15/31:987] ERROR: invalid transaction termination at line 5. 2025-01-30 12:25:22.291 UTC [21409][client backend] [pg_regress/plperl_transaction][15/31:987] CONTEXT: PL/Perl function "transaction_test2" 2025-01-30 12:25:22.291 UTC [21409][client backend] [pg_regress/plperl_transaction][15/31:987] STATEMENT: SELECT transaction_test2(); 2025-01-30 12:25:22.292 UTC [21409][client backend] [pg_regress/plperl_transaction][15/34:990] ERROR: invalid transaction termination at line 5. at line 2. 2025-01-30 12:25:22.292 UTC [21409][client backend] [pg_regress/plperl_transaction][15/34:990] CONTEXT: PL/Perl function "transaction_test3" 2025-01-30 12:25:22.292 UTC [21409][client backend] [pg_regress/plperl_transaction][15/34:990] STATEMENT: SELECT transaction_test3(); 2025-01-30 12:25:22.293 UTC [21409][client backend] [pg_regress/plperl_transaction][15/37:0] ERROR: invalid transaction termination at line 1. at line 2. 2025-01-30 12:25:22.293 UTC [21409][client backend] [pg_regress/plperl_transaction][15/37:0] CONTEXT: PL/Perl function "transaction_test4" 2025-01-30 12:25:22.293 UTC [21409][client backend] [pg_regress/plperl_transaction][15/37:0] STATEMENT: SELECT transaction_test4(); 2025-01-30 12:25:22.323 UTC [21409][client backend] [pg_regress/plperl_transaction][15/52:0] ERROR: division by zero at line 5. 2025-01-30 12:25:22.323 UTC [21409][client backend] [pg_regress/plperl_transaction][15/52:0] CONTEXT: PL/Perl anonymous code block 2025-01-30 12:25:22.323 UTC [21409][client backend] [pg_regress/plperl_transaction][15/52:0] 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-30 12:25:22.348 UTC [21409][client backend] [pg_regress/plperl_transaction][15/76:0] ERROR: insert or update on table "testfk" violates foreign key constraint "testfk_f1_fkey" at line 4. 2025-01-30 12:25:22.348 UTC [21409][client backend] [pg_regress/plperl_transaction][15/76:0] CONTEXT: PL/Perl anonymous code block 2025-01-30 12:25:22.348 UTC [21409][client backend] [pg_regress/plperl_transaction][15/76:0] 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-30 12:25:22.369 UTC [21409][client backend] [pg_regress/plperl_transaction][:0] LOG: disconnection: session time: 0:00:00.204 user=postgres database=pl_regression host=[local] 2025-01-30 12:25:22.424 UTC [21439][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:22.438 UTC [21439][client backend] [[unknown]][16/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:22.438 UTC [21439][client backend] [[unknown]][16/1:0] LOG: connection authorized: user=postgres database=pl_regression application_name=pg_regress/plperl_env 2025-01-30 12:25:22.489 UTC [21439][client backend] [pg_regress/plperl_env][16/4:0] WARNING: attempted alteration of $ENV{TEST_PLPERL_ENV_FOO} at line 12. 2025-01-30 12:25:22.489 UTC [21439][client backend] [pg_regress/plperl_env][16/4:0] CONTEXT: PL/Perl anonymous code block 2025-01-30 12:25:22.521 UTC [21439][client backend] [pg_regress/plperl_env][:0] LOG: disconnection: session time: 0:00:00.098 user=postgres database=pl_regression host=[local] 2025-01-30 12:25:22.581 UTC [21448][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-30 12:25:22.583 UTC [21448][client backend] [[unknown]][17/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/pl/plperl/tmp_check/data/pg_hba.conf:117) 2025-01-30 12:25:22.583 UTC [21448][client backend] [[unknown]][17/1:0] LOG: connection authorized: user=postgres database=pl_regression application_name=pg_regress/plperl_plperlu 2025-01-30 12:25:22.650 UTC [21448][client backend] [pg_regress/plperl_plperlu][17/4:0] ERROR: syntax error at or near "invalid" at line 4. 2025-01-30 12:25:22.650 UTC [21448][client backend] [pg_regress/plperl_plperlu][17/4:0] CONTEXT: PL/Perl function "bar" 2025-01-30 12:25:22.650 UTC [21448][client backend] [pg_regress/plperl_plperlu][17/4:0] STATEMENT: SELECT * FROM bar(); 2025-01-30 12:25:22.650 UTC [21448][client backend] [pg_regress/plperl_plperlu][17/5:0] ERROR: syntax error at or near "invalid" at line 4. at line 2. 2025-01-30 12:25:22.650 UTC [21448][client backend] [pg_regress/plperl_plperlu][17/5:0] CONTEXT: PL/Perl function "foo" 2025-01-30 12:25:22.650 UTC [21448][client backend] [pg_regress/plperl_plperlu][17/5:0] STATEMENT: SELECT * FROM foo(); 2025-01-30 12:25:22.659 UTC [21448][client backend] [pg_regress/plperl_plperlu][17/19:1057] ERROR: Unable to load Errno.pm into plperl at line 2. BEGIN failed--compilation aborted at line 2. 2025-01-30 12:25:22.659 UTC [21448][client backend] [pg_regress/plperl_plperlu][17/19:1057] CONTEXT: compilation of PL/Perl function "use_plperl" 2025-01-30 12:25:22.659 UTC [21448][client backend] [pg_regress/plperl_plperlu][17/19:1057] STATEMENT: CREATE OR REPLACE FUNCTION use_plperl() RETURNS void LANGUAGE plperl AS $$ use Errno; $$; 2025-01-30 12:25:22.660 UTC [21448][client backend] [pg_regress/plperl_plperlu][17/21:1058] ERROR: Unable to load Errno.pm into plperl at line 2. BEGIN failed--compilation aborted at line 2. 2025-01-30 12:25:22.660 UTC [21448][client backend] [pg_regress/plperl_plperlu][17/21:1058] CONTEXT: compilation of PL/Perl function "use_plperl" 2025-01-30 12:25:22.660 UTC [21448][client backend] [pg_regress/plperl_plperlu][17/21:1058] STATEMENT: CREATE OR REPLACE FUNCTION use_plperl() RETURNS void LANGUAGE plperl AS $$ use Errno; $$; 2025-01-30 12:25:22.663 UTC [21448][client backend] [pg_regress/plperl_plperlu][:0] LOG: disconnection: session time: 0:00:00.089 user=postgres database=pl_regression host=[local] 2025-01-30 12:25:22.713 UTC [21006][postmaster] LOG: received fast shutdown request 2025-01-30 12:25:22.713 UTC [21006][postmaster] LOG: aborting any active transactions TRAP: failed Assert("(remainMask.mask | targetMask.mask) == BTYPE_MASK_ALL.mask"), File: "postmaster.c", Line: 2951, PID: 21006 /lib/x86_64-linux-gnu/libasan.so.8(+0x51f31)[0x7fdb22251f31] postgres(ExceptionalCondition+0xe6)[0x55cd7e940434] postgres(+0xc9776e)[0x55cd7e47e76e] postgres(+0xc97e35)[0x55cd7e47ee35] postgres(+0xc99098)[0x55cd7e480098] postgres(PostmasterMain+0x1c3c)[0x55cd7e4823d8] postgres(main+0x2a2)[0x55cd7e220997] /lib/x86_64-linux-gnu/libc.so.6(+0x2724a)[0x7fdb2104824a] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85)[0x7fdb21048305] postgres(_start+0x21)[0x55cd7dc053a1]