2026-05-06 14:56:32.461 UTC postmaster[61592] LOG: starting PostgreSQL 19devel on x86_64-freebsd, compiled by clang-19.1.7, 64-bit 2026-05-06 14:56:32.461 UTC postmaster[61592] LOG: listening on Unix socket "/tmp/ukkyvl9W6J/.s.PGSQL.13182" 2026-05-06 14:56:32.470 UTC startup[61608] LOG: database system was shut down at 2026-05-06 14:56:32 UTC 2026-05-06 14:56:32.472 UTC postmaster[61592] LOG: database system is ready to accept connections 2026-05-06 14:56:32.593 UTC client backend[61692] [unknown] LOG: connection received: host=[local] 2026-05-06 14:56:32.595 UTC client backend[61692] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 14:56:32.595 UTC client backend[61692] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 14:56:32.601 UTC client backend[61692] 029_on_error.pl LOG: connection ready: setup total=12.456 ms, fork=2.152 ms, authentication=1.526 ms 2026-05-06 14:56:32.602 UTC client backend[61692] 029_on_error.pl LOG: statement: CREATE TABLE tbl (i INT PRIMARY KEY, t BYTEA); 2026-05-06 14:56:32.606 UTC client backend[61692] 029_on_error.pl LOG: statement: INSERT INTO tbl VALUES (1, NULL); 2026-05-06 14:56:32.607 UTC client backend[61692] 029_on_error.pl LOG: disconnection: session time: 0:00:00.016 user=postgres database=postgres host=[local] 2026-05-06 14:56:32.630 UTC client backend[61718] [unknown] LOG: connection received: host=[local] 2026-05-06 14:56:32.637 UTC client backend[61718] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 14:56:32.637 UTC client backend[61718] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 14:56:32.638 UTC client backend[61718] 029_on_error.pl LOG: connection ready: setup total=8.509 ms, fork=0.504 ms, authentication=0.168 ms 2026-05-06 14:56:32.638 UTC client backend[61718] 029_on_error.pl LOG: statement: CREATE SUBSCRIPTION sub CONNECTION 'port=13181 host=/tmp/ukkyvl9W6J dbname=postgres' PUBLICATION pub WITH (disable_on_error = true, streaming = on, two_phase = on) 2026-05-06 14:56:32.638 UTC client backend[61718] 029_on_error.pl WARNING: subscriptions created by regression test cases should have names starting with "regress_" 2026-05-06 14:56:32.691 UTC client backend[61718] 029_on_error.pl LOG: disconnection: session time: 0:00:00.060 user=postgres database=postgres host=[local] 2026-05-06 14:56:32.694 UTC logical replication apply worker[61748] LOG: logical replication apply worker for subscription "sub" has started 2026-05-06 14:56:32.702 UTC logical replication tablesync worker[61755] LOG: logical replication table synchronization worker for subscription "sub", table "tbl" has started 2026-05-06 14:56:32.706 UTC client backend[61759] [unknown] LOG: connection received: host=[local] 2026-05-06 14:56:32.711 UTC client backend[61759] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 14:56:32.711 UTC client backend[61759] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 14:56:32.713 UTC client backend[61759] 029_on_error.pl LOG: connection ready: setup total=7.497 ms, fork=0.901 ms, authentication=0.122 ms 2026-05-06 14:56:32.713 UTC client backend[61759] 029_on_error.pl LOG: statement: SELECT subenabled = false FROM pg_catalog.pg_subscription WHERE subname = 'sub' 2026-05-06 14:56:32.724 UTC client backend[61759] 029_on_error.pl LOG: disconnection: session time: 0:00:00.018 user=postgres database=postgres host=[local] 2026-05-06 14:56:32.749 UTC logical replication tablesync worker[61755] ERROR: duplicate key value violates unique constraint "tbl_pkey" 2026-05-06 14:56:32.749 UTC logical replication tablesync worker[61755] DETAIL: Key (i)=(1) already exists. 2026-05-06 14:56:32.749 UTC logical replication tablesync worker[61755] CONTEXT: COPY tbl, line 1 2026-05-06 14:56:32.749 UTC logical replication tablesync worker[61755] LOG: subscription "sub" has been disabled because of an error 2026-05-06 14:56:32.752 UTC logical replication apply worker[61748] LOG: logical replication worker for subscription "sub" will stop because the subscription was disabled 2026-05-06 14:56:32.837 UTC client backend[61828] [unknown] LOG: connection received: host=[local] 2026-05-06 14:56:32.837 UTC client backend[61828] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 14:56:32.837 UTC client backend[61828] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 14:56:32.838 UTC client backend[61828] 029_on_error.pl LOG: connection ready: setup total=2.530 ms, fork=1.085 ms, authentication=0.134 ms 2026-05-06 14:56:32.838 UTC client backend[61828] 029_on_error.pl LOG: statement: SELECT subenabled = false FROM pg_catalog.pg_subscription WHERE subname = 'sub' 2026-05-06 14:56:32.849 UTC client backend[61828] 029_on_error.pl LOG: disconnection: session time: 0:00:00.012 user=postgres database=postgres host=[local] 2026-05-06 14:56:32.855 UTC client backend[61835] [unknown] LOG: connection received: host=[local] 2026-05-06 14:56:32.856 UTC client backend[61835] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 14:56:32.856 UTC client backend[61835] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 14:56:32.856 UTC client backend[61835] 029_on_error.pl LOG: connection ready: setup total=1.718 ms, fork=0.510 ms, authentication=0.130 ms 2026-05-06 14:56:32.856 UTC client backend[61835] 029_on_error.pl LOG: statement: TRUNCATE tbl 2026-05-06 14:56:32.861 UTC client backend[61835] 029_on_error.pl LOG: disconnection: session time: 0:00:00.005 user=postgres database=postgres host=[local] 2026-05-06 14:56:32.875 UTC client backend[61843] [unknown] LOG: connection received: host=[local] 2026-05-06 14:56:32.876 UTC client backend[61843] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 14:56:32.876 UTC client backend[61843] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 14:56:32.876 UTC client backend[61843] 029_on_error.pl LOG: connection ready: setup total=1.954 ms, fork=0.786 ms, authentication=0.133 ms 2026-05-06 14:56:32.876 UTC client backend[61843] 029_on_error.pl LOG: statement: ALTER SUBSCRIPTION sub ENABLE 2026-05-06 14:56:32.877 UTC client backend[61843] 029_on_error.pl LOG: disconnection: session time: 0:00:00.002 user=postgres database=postgres host=[local] 2026-05-06 14:56:32.894 UTC logical replication apply worker[61849] LOG: logical replication apply worker for subscription "sub" has started 2026-05-06 14:56:32.904 UTC client backend[61854] [unknown] LOG: connection received: host=[local] 2026-05-06 14:56:32.904 UTC client backend[61854] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 14:56:32.904 UTC client backend[61854] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 14:56:32.905 UTC client backend[61854] 029_on_error.pl LOG: connection ready: setup total=1.580 ms, fork=0.472 ms, authentication=0.108 ms 2026-05-06 14:56:32.905 UTC client backend[61854] 029_on_error.pl LOG: statement: SELECT count(1) = 0 FROM pg_subscription_rel WHERE srsubstate NOT IN ('r', 's'); 2026-05-06 14:56:32.905 UTC logical replication tablesync worker[61853] LOG: logical replication table synchronization worker for subscription "sub", table "tbl" has started 2026-05-06 14:56:32.926 UTC client backend[61854] 029_on_error.pl LOG: disconnection: session time: 0:00:00.022 user=postgres database=postgres host=[local] 2026-05-06 14:56:32.964 UTC logical replication tablesync worker[61853] LOG: logical replication table synchronization worker for subscription "sub", table "tbl" has finished 2026-05-06 14:56:32.966 UTC logical replication apply worker[61849] LOG: logical replication apply worker for subscription "sub" will restart so that two_phase can be enabled 2026-05-06 14:56:32.975 UTC logical replication apply worker[61881] LOG: logical replication apply worker for subscription "sub" has started 2026-05-06 14:56:33.036 UTC client backend[61912] [unknown] LOG: connection received: host=[local] 2026-05-06 14:56:33.036 UTC client backend[61912] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 14:56:33.036 UTC client backend[61912] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 14:56:33.037 UTC client backend[61912] 029_on_error.pl LOG: connection ready: setup total=3.753 ms, fork=2.538 ms, authentication=0.117 ms 2026-05-06 14:56:33.037 UTC client backend[61912] 029_on_error.pl LOG: statement: SELECT count(1) = 0 FROM pg_subscription_rel WHERE srsubstate NOT IN ('r', 's'); 2026-05-06 14:56:33.049 UTC client backend[61912] 029_on_error.pl LOG: disconnection: session time: 0:00:00.013 user=postgres database=postgres host=[local] 2026-05-06 14:56:33.112 UTC client backend[61953] [unknown] LOG: connection received: host=[local] 2026-05-06 14:56:33.112 UTC client backend[61953] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 14:56:33.112 UTC client backend[61953] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 14:56:33.115 UTC client backend[61953] 029_on_error.pl LOG: connection ready: setup total=4.605 ms, fork=1.384 ms, authentication=0.123 ms 2026-05-06 14:56:33.115 UTC client backend[61953] 029_on_error.pl LOG: statement: SELECT COUNT(*) FROM tbl 2026-05-06 14:56:33.125 UTC client backend[61953] 029_on_error.pl LOG: disconnection: session time: 0:00:00.013 user=postgres database=postgres host=[local] TRAP: failed Assert("conflictlogrel != NULL"), File: "../src/backend/replication/logical/conflict.c", Line: 195, PID: 61881 0xb3a472 at /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres 0x9433b8 at /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres 0x7d91fb at /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres 0x7d8b4b at /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres 0x96525b at /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres 0x966150 at /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres 0x967010 at /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres 0x966d6d at /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres 0x90ff0c at /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres 0x914a25 at /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres 0x917b77 at /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres 0x9198f5 at /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres 0x917156 at /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres 0x83c16d at /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres 0x82dc1ae34 <__libc_start1+0x124> at /lib/libc.so.7 2026-05-06 14:56:33.148 UTC client backend[61970] [unknown] LOG: connection received: host=[local] 2026-05-06 14:56:33.152 UTC client backend[61970] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 14:56:33.152 UTC client backend[61970] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 14:56:33.153 UTC client backend[61970] 029_on_error.pl LOG: connection ready: setup total=5.740 ms, fork=1.133 ms, authentication=0.134 ms 2026-05-06 14:56:33.153 UTC client backend[61970] 029_on_error.pl LOG: statement: SELECT subenabled = FALSE FROM pg_subscription WHERE subname = 'sub' 2026-05-06 14:56:33.170 UTC client backend[61970] 029_on_error.pl LOG: disconnection: session time: 0:00:00.022 user=postgres database=postgres host=[local] 2026-05-06 14:56:33.286 UTC client backend[62033] [unknown] LOG: connection received: host=[local] 2026-05-06 14:56:33.287 UTC client backend[62033] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 14:56:33.287 UTC client backend[62033] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 14:56:33.288 UTC client backend[62033] 029_on_error.pl LOG: connection ready: setup total=2.262 ms, fork=0.821 ms, authentication=0.128 ms 2026-05-06 14:56:33.288 UTC client backend[62033] 029_on_error.pl LOG: statement: SELECT subenabled = FALSE FROM pg_subscription WHERE subname = 'sub' 2026-05-06 14:56:33.299 UTC client backend[62033] 029_on_error.pl LOG: disconnection: session time: 0:00:00.012 user=postgres database=postgres host=[local] 2026-05-06 14:56:33.405 UTC client backend[62068] [unknown] LOG: connection received: host=[local] 2026-05-06 14:56:33.405 UTC client backend[62068] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 14:56:33.405 UTC client backend[62068] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 14:56:33.406 UTC client backend[62068] 029_on_error.pl LOG: connection ready: setup total=1.811 ms, fork=0.512 ms, authentication=0.132 ms 2026-05-06 14:56:33.406 UTC client backend[62068] 029_on_error.pl LOG: statement: SELECT subenabled = FALSE FROM pg_subscription WHERE subname = 'sub' 2026-05-06 14:56:33.415 UTC client backend[62068] 029_on_error.pl LOG: disconnection: session time: 0:00:00.010 user=postgres database=postgres host=[local] 2026-05-06 14:56:33.524 UTC client backend[62109] [unknown] LOG: connection received: host=[local] 2026-05-06 14:56:33.525 UTC client backend[62109] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 14:56:33.525 UTC client backend[62109] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 14:56:33.525 UTC client backend[62109] 029_on_error.pl LOG: connection ready: setup total=1.995 ms, fork=0.671 ms, authentication=0.124 ms 2026-05-06 14:56:33.526 UTC client backend[62109] 029_on_error.pl LOG: statement: SELECT subenabled = FALSE FROM pg_subscription WHERE subname = 'sub' 2026-05-06 14:56:33.532 UTC client backend[62109] 029_on_error.pl LOG: disconnection: session time: 0:00:00.007 user=postgres database=postgres host=[local] 2026-05-06 14:56:33.647 UTC client backend[62152] [unknown] LOG: connection received: host=[local] 2026-05-06 14:56:33.648 UTC client backend[62152] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 14:56:33.648 UTC client backend[62152] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 14:56:33.649 UTC client backend[62152] 029_on_error.pl LOG: connection ready: setup total=2.325 ms, fork=0.803 ms, authentication=0.138 ms 2026-05-06 14:56:33.651 UTC client backend[62152] 029_on_error.pl LOG: statement: SELECT subenabled = FALSE FROM pg_subscription WHERE subname = 'sub' 2026-05-06 14:56:33.658 UTC client backend[62152] 029_on_error.pl LOG: disconnection: session time: 0:00:00.010 user=postgres database=postgres host=[local] 2026-05-06 14:56:33.814 UTC client backend[62211] [unknown] LOG: connection received: host=[local] 2026-05-06 14:56:33.814 UTC client backend[62211] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 14:56:33.814 UTC client backend[62211] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 14:56:33.815 UTC client backend[62211] 029_on_error.pl LOG: connection ready: setup total=1.949 ms, fork=0.454 ms, authentication=0.120 ms 2026-05-06 14:56:33.815 UTC client backend[62211] 029_on_error.pl LOG: statement: SELECT subenabled = FALSE FROM pg_subscription WHERE subname = 'sub' 2026-05-06 14:56:33.822 UTC client backend[62211] 029_on_error.pl LOG: disconnection: session time: 0:00:00.008 user=postgres database=postgres host=[local] 2026-05-06 14:56:33.955 UTC client backend[62257] [unknown] LOG: connection received: host=[local] 2026-05-06 14:56:33.955 UTC client backend[62257] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 14:56:33.955 UTC client backend[62257] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 14:56:33.956 UTC client backend[62257] 029_on_error.pl LOG: connection ready: setup total=10.087 ms, fork=8.846 ms, authentication=0.116 ms 2026-05-06 14:56:33.956 UTC client backend[62257] 029_on_error.pl LOG: statement: SELECT subenabled = FALSE FROM pg_subscription WHERE subname = 'sub' 2026-05-06 14:56:33.972 UTC client backend[62257] 029_on_error.pl LOG: disconnection: session time: 0:00:00.017 user=postgres database=postgres host=[local] 2026-05-06 14:56:34.090 UTC client backend[62295] [unknown] LOG: connection received: host=[local] 2026-05-06 14:56:34.091 UTC client backend[62295] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 14:56:34.091 UTC client backend[62295] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=029_on_error.pl 2026-05-06 14:56:34.091 UTC client backend[62295] 029_on_error.pl LOG: connection ready: setup total=3.257 ms, fork=1.722 ms, authentication=0.142 ms 2026-05-06 14:56:34.092 UTC client backend[62295] 029_on_error.pl LOG: statement: SELECT subenabled = FALSE FROM pg_subscription WHERE subname = 'sub' 2026-05-06 14:56:34.139 UTC client backend[62295] 029_on_error.pl LOG: disconnection: session time: 0:00:00.048 user=postgres database=postgres host=[local] 2026-05-06 14:56:34.166 UTC postmaster[61592] LOG: background worker "logical replication apply worker" (PID 61881) was terminated by signal 6: Abort trap 2026-05-06 14:56:34.166 UTC postmaster[61592] LOG: terminating any other active server processes 2026-05-06 14:56:34.170 UTC postmaster[61592] LOG: shutting down because "restart_after_crash" is off 2026-05-06 14:56:34.171 UTC postmaster[61592] LOG: database system is shut down