2026-05-06 15:08:59.916 GMT postmaster[6132] LOG: starting PostgreSQL 19devel on x86_64-windows, compiled by msvc-19.29.30159, 64-bit 2026-05-06 15:08:59.919 GMT postmaster[6132] LOG: listening on Unix socket "C:/Windows/TEMP/ZWhzUFtHVh/.s.PGSQL.15801" 2026-05-06 15:08:59.966 GMT startup[3444] LOG: database system was shut down at 2026-05-06 14:52:48 GMT 2026-05-06 15:08:59.984 GMT postmaster[6132] LOG: database system is ready to accept connections 2026-05-06 15:09:00.291 GMT client backend[3100] [unknown] LOG: connection received: host=[local] 2026-05-06 15:09:00.292 GMT client backend[3100] [unknown] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:09:00.293 GMT client backend[3100] [unknown] LOG: connection authorized: user=SYSTEM database=postgres application_name=029_on_error.pl 2026-05-06 15:09:00.319 GMT client backend[3100] 029_on_error.pl LOG: connection ready: setup total=63.974 ms, fork=29.631 ms, authentication=1.536 ms 2026-05-06 15:09:00.320 GMT client backend[3100] 029_on_error.pl LOG: statement: CREATE TABLE tbl (i INT PRIMARY KEY, t BYTEA); 2026-05-06 15:09:00.334 GMT client backend[3100] 029_on_error.pl LOG: statement: INSERT INTO tbl VALUES (1, NULL); 2026-05-06 15:09:00.336 GMT client backend[3100] 029_on_error.pl LOG: disconnection: session time: 0:00:00.049 user=SYSTEM database=postgres host=[local] 2026-05-06 15:09:00.659 GMT client backend[8400] [unknown] LOG: connection received: host=[local] 2026-05-06 15:09:00.662 GMT client backend[8400] [unknown] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:09:00.662 GMT client backend[8400] [unknown] LOG: connection authorized: user=SYSTEM database=postgres application_name=029_on_error.pl 2026-05-06 15:09:00.665 GMT client backend[8400] 029_on_error.pl LOG: connection ready: setup total=48.902 ms, fork=35.157 ms, authentication=0.518 ms 2026-05-06 15:09:00.666 GMT client backend[8400] 029_on_error.pl LOG: statement: CREATE SUBSCRIPTION sub CONNECTION 'port=15800 host=C:/Windows/TEMP/ZWhzUFtHVh dbname=postgres' PUBLICATION pub WITH (disable_on_error = true, streaming = on, two_phase = on) 2026-05-06 15:09:00.809 GMT client backend[8400] 029_on_error.pl LOG: disconnection: session time: 0:00:00.154 user=SYSTEM database=postgres host=[local] 2026-05-06 15:09:00.833 GMT logical replication apply worker[636] LOG: logical replication apply worker for subscription "sub" has started 2026-05-06 15:09:00.926 GMT logical replication tablesync worker[1600] LOG: logical replication table synchronization worker for subscription "sub", table "tbl" has started 2026-05-06 15:09:00.941 GMT client backend[3676] [unknown] LOG: connection received: host=[local] 2026-05-06 15:09:00.943 GMT client backend[3676] [unknown] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:09:00.943 GMT client backend[3676] [unknown] LOG: connection authorized: user=SYSTEM database=postgres application_name=029_on_error.pl 2026-05-06 15:09:00.948 GMT client backend[3676] 029_on_error.pl LOG: connection ready: setup total=40.925 ms, fork=27.096 ms, authentication=0.335 ms 2026-05-06 15:09:00.948 GMT client backend[3676] 029_on_error.pl LOG: statement: SELECT subenabled = false FROM pg_catalog.pg_subscription WHERE subname = 'sub' 2026-05-06 15:09:00.953 GMT client backend[3676] 029_on_error.pl LOG: disconnection: session time: 0:00:00.017 user=SYSTEM database=postgres host=[local] 2026-05-06 15:09:00.989 GMT logical replication tablesync worker[1600] ERROR: duplicate key value violates unique constraint "tbl_pkey" 2026-05-06 15:09:00.989 GMT logical replication tablesync worker[1600] DETAIL: Key (i)=(1) already exists. 2026-05-06 15:09:00.989 GMT logical replication tablesync worker[1600] CONTEXT: COPY tbl, line 1 2026-05-06 15:09:00.989 GMT logical replication tablesync worker[1600] LOG: subscription "sub" has been disabled because of an error 2026-05-06 15:09:00.997 GMT logical replication apply worker[636] LOG: logical replication worker for subscription "sub" will stop because the subscription was disabled 2026-05-06 15:09:01.199 GMT client backend[6204] [unknown] LOG: connection received: host=[local] 2026-05-06 15:09:01.201 GMT client backend[6204] [unknown] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:09:01.201 GMT client backend[6204] [unknown] LOG: connection authorized: user=SYSTEM database=postgres application_name=029_on_error.pl 2026-05-06 15:09:01.209 GMT client backend[6204] 029_on_error.pl LOG: connection ready: setup total=91.244 ms, fork=63.689 ms, authentication=0.399 ms 2026-05-06 15:09:01.209 GMT client backend[6204] 029_on_error.pl LOG: statement: SELECT subenabled = false FROM pg_catalog.pg_subscription WHERE subname = 'sub' 2026-05-06 15:09:01.214 GMT client backend[6204] 029_on_error.pl LOG: disconnection: session time: 0:00:00.030 user=SYSTEM database=postgres host=[local] 2026-05-06 15:09:01.321 GMT client backend[8568] [unknown] LOG: connection received: host=[local] 2026-05-06 15:09:01.323 GMT client backend[8568] [unknown] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:09:01.323 GMT client backend[8568] [unknown] LOG: connection authorized: user=SYSTEM database=postgres application_name=029_on_error.pl 2026-05-06 15:09:01.325 GMT client backend[8568] 029_on_error.pl LOG: connection ready: setup total=26.224 ms, fork=15.444 ms, authentication=0.290 ms 2026-05-06 15:09:01.326 GMT client backend[8568] 029_on_error.pl LOG: statement: TRUNCATE tbl 2026-05-06 15:09:01.333 GMT client backend[8568] 029_on_error.pl LOG: disconnection: session time: 0:00:00.015 user=SYSTEM database=postgres host=[local] 2026-05-06 15:09:01.449 GMT client backend[8064] [unknown] LOG: connection received: host=[local] 2026-05-06 15:09:01.451 GMT client backend[8064] [unknown] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:09:01.451 GMT client backend[8064] [unknown] LOG: connection authorized: user=SYSTEM database=postgres application_name=029_on_error.pl 2026-05-06 15:09:01.455 GMT client backend[8064] 029_on_error.pl LOG: connection ready: setup total=35.085 ms, fork=18.528 ms, authentication=0.314 ms 2026-05-06 15:09:01.455 GMT client backend[8064] 029_on_error.pl LOG: statement: ALTER SUBSCRIPTION sub ENABLE 2026-05-06 15:09:01.456 GMT client backend[8064] 029_on_error.pl LOG: disconnection: session time: 0:00:00.015 user=SYSTEM database=postgres host=[local] 2026-05-06 15:09:01.504 GMT logical replication apply worker[3724] LOG: logical replication apply worker for subscription "sub" has started 2026-05-06 15:09:01.634 GMT logical replication tablesync worker[1808] LOG: logical replication table synchronization worker for subscription "sub", table "tbl" has started 2026-05-06 15:09:01.652 GMT client backend[6280] [unknown] LOG: connection received: host=[local] 2026-05-06 15:09:01.653 GMT client backend[6280] [unknown] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:09:01.653 GMT client backend[6280] [unknown] LOG: connection authorized: user=SYSTEM database=postgres application_name=029_on_error.pl 2026-05-06 15:09:01.656 GMT client backend[6280] 029_on_error.pl LOG: connection ready: setup total=42.771 ms, fork=33.240 ms, authentication=0.223 ms 2026-05-06 15:09:01.659 GMT client backend[6280] 029_on_error.pl LOG: statement: SELECT count(1) = 0 FROM pg_subscription_rel WHERE srsubstate NOT IN ('r', 's'); 2026-05-06 15:09:01.664 GMT client backend[6280] 029_on_error.pl LOG: disconnection: session time: 0:00:00.015 user=SYSTEM database=postgres host=[local] 2026-05-06 15:09:01.755 GMT logical replication tablesync worker[1808] LOG: logical replication table synchronization worker for subscription "sub", table "tbl" has finished 2026-05-06 15:09:01.763 GMT logical replication apply worker[3724] LOG: logical replication apply worker for subscription "sub" will restart so that two_phase can be enabled 2026-05-06 15:09:01.788 GMT logical replication apply worker[6764] LOG: logical replication apply worker for subscription "sub" has started 2026-05-06 15:09:01.875 GMT client backend[3944] [unknown] LOG: connection received: host=[local] 2026-05-06 15:09:01.877 GMT client backend[3944] [unknown] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:09:01.877 GMT client backend[3944] [unknown] LOG: connection authorized: user=SYSTEM database=postgres application_name=029_on_error.pl 2026-05-06 15:09:01.879 GMT client backend[3944] 029_on_error.pl LOG: connection ready: setup total=29.591 ms, fork=19.128 ms, authentication=0.231 ms 2026-05-06 15:09:01.880 GMT client backend[3944] 029_on_error.pl LOG: statement: SELECT count(1) = 0 FROM pg_subscription_rel WHERE srsubstate NOT IN ('r', 's'); 2026-05-06 15:09:01.885 GMT client backend[3944] 029_on_error.pl LOG: disconnection: session time: 0:00:00.013 user=SYSTEM database=postgres host=[local] 2026-05-06 15:09:02.343 GMT client backend[4760] [unknown] LOG: connection received: host=[local] 2026-05-06 15:09:02.345 GMT client backend[4760] [unknown] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:09:02.345 GMT client backend[4760] [unknown] LOG: connection authorized: user=SYSTEM database=postgres application_name=029_on_error.pl 2026-05-06 15:09:02.348 GMT client backend[4760] 029_on_error.pl LOG: connection ready: setup total=25.384 ms, fork=13.035 ms, authentication=0.351 ms 2026-05-06 15:09:02.348 GMT client backend[4760] 029_on_error.pl LOG: statement: SELECT COUNT(*) FROM tbl 2026-05-06 15:09:02.352 GMT client backend[4760] 029_on_error.pl LOG: disconnection: session time: 0:00:00.013 user=SYSTEM database=postgres host=[local] TRAP: failed Assert("conflictlogrel != NULL"), File: "../src/backend/replication/logical/conflict.c", Line: 195, PID: 6764 abort() has been called2026-05-06 15:09:02.582 GMT client backend[7092] [unknown] LOG: connection received: host=[local] 2026-05-06 15:09:02.584 GMT client backend[7092] [unknown] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:09:02.584 GMT client backend[7092] [unknown] LOG: connection authorized: user=SYSTEM database=postgres application_name=029_on_error.pl 2026-05-06 15:09:02.586 GMT client backend[7092] 029_on_error.pl LOG: connection ready: setup total=32.383 ms, fork=20.959 ms, authentication=0.257 ms 2026-05-06 15:09:02.587 GMT client backend[7092] 029_on_error.pl LOG: statement: SELECT subenabled = FALSE FROM pg_subscription WHERE subname = 'sub' 2026-05-06 15:09:02.591 GMT client backend[7092] 029_on_error.pl LOG: disconnection: session time: 0:00:00.013 user=SYSTEM database=postgres host=[local] 2026-05-06 15:09:02.770 GMT client backend[4992] [unknown] LOG: connection received: host=[local] 2026-05-06 15:09:02.771 GMT client backend[4992] [unknown] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:09:02.771 GMT client backend[4992] [unknown] LOG: connection authorized: user=SYSTEM database=postgres application_name=029_on_error.pl 2026-05-06 15:09:02.773 GMT client backend[4992] 029_on_error.pl LOG: connection ready: setup total=23.365 ms, fork=14.564 ms, authentication=0.221 ms 2026-05-06 15:09:02.774 GMT client backend[4992] 029_on_error.pl LOG: statement: SELECT subenabled = FALSE FROM pg_subscription WHERE subname = 'sub' 2026-05-06 15:09:02.777 GMT client backend[4992] 029_on_error.pl LOG: disconnection: session time: 0:00:00.010 user=SYSTEM database=postgres host=[local] 2026-05-06 15:09:02.938 GMT client backend[5304] [unknown] LOG: connection received: host=[local] 2026-05-06 15:09:02.940 GMT client backend[5304] [unknown] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:09:02.940 GMT client backend[5304] [unknown] LOG: connection authorized: user=SYSTEM database=postgres application_name=029_on_error.pl 2026-05-06 15:09:02.942 GMT client backend[5304] 029_on_error.pl LOG: connection ready: setup total=21.031 ms, fork=11.055 ms, authentication=0.260 ms 2026-05-06 15:09:02.942 GMT client backend[5304] 029_on_error.pl LOG: statement: SELECT subenabled = FALSE FROM pg_subscription WHERE subname = 'sub' 2026-05-06 15:09:02.947 GMT client backend[5304] 029_on_error.pl LOG: disconnection: session time: 0:00:00.012 user=SYSTEM database=postgres host=[local] 2026-05-06 15:09:03.113 GMT client backend[7872] [unknown] LOG: connection received: host=[local] 2026-05-06 15:09:03.115 GMT client backend[7872] [unknown] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:09:03.115 GMT client backend[7872] [unknown] LOG: connection authorized: user=SYSTEM database=postgres application_name=029_on_error.pl 2026-05-06 15:09:03.117 GMT client backend[7872] 029_on_error.pl LOG: connection ready: setup total=21.172 ms, fork=10.861 ms, authentication=0.262 ms 2026-05-06 15:09:03.118 GMT client backend[7872] 029_on_error.pl LOG: statement: SELECT subenabled = FALSE FROM pg_subscription WHERE subname = 'sub' 2026-05-06 15:09:03.124 GMT client backend[7872] 029_on_error.pl LOG: disconnection: session time: 0:00:00.015 user=SYSTEM database=postgres host=[local] 2026-05-06 15:09:03.374 GMT client backend[6364] [unknown] LOG: connection received: host=[local] 2026-05-06 15:09:03.376 GMT client backend[6364] [unknown] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:09:03.376 GMT client backend[6364] [unknown] LOG: connection authorized: user=SYSTEM database=postgres application_name=029_on_error.pl 2026-05-06 15:09:03.379 GMT client backend[6364] 029_on_error.pl LOG: connection ready: setup total=40.327 ms, fork=24.095 ms, authentication=0.528 ms 2026-05-06 15:09:03.379 GMT client backend[6364] 029_on_error.pl LOG: statement: SELECT subenabled = FALSE FROM pg_subscription WHERE subname = 'sub' 2026-05-06 15:09:03.384 GMT client backend[6364] 029_on_error.pl LOG: disconnection: session time: 0:00:00.019 user=SYSTEM database=postgres host=[local] 2026-05-06 15:09:03.595 GMT client backend[6996] [unknown] LOG: connection received: host=[local] 2026-05-06 15:09:03.596 GMT client backend[6996] [unknown] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:09:03.596 GMT client backend[6996] [unknown] LOG: connection authorized: user=SYSTEM database=postgres application_name=029_on_error.pl 2026-05-06 15:09:03.599 GMT client backend[6996] 029_on_error.pl LOG: connection ready: setup total=29.909 ms, fork=15.302 ms, authentication=0.278 ms 2026-05-06 15:09:03.600 GMT client backend[6996] 029_on_error.pl LOG: statement: SELECT subenabled = FALSE FROM pg_subscription WHERE subname = 'sub' 2026-05-06 15:09:03.604 GMT client backend[6996] 029_on_error.pl LOG: disconnection: session time: 0:00:00.017 user=SYSTEM database=postgres host=[local] 2026-05-06 15:09:03.776 GMT postmaster[6132] LOG: background worker "logical replication apply worker" (PID 6764) was terminated by exception 0xC0000354 2026-05-06 15:09:03.776 GMT postmaster[6132] HINT: See C include file "ntstatus.h" for a description of the hexadecimal value. 2026-05-06 15:09:03.776 GMT postmaster[6132] LOG: terminating any other active server processes 2026-05-06 15:09:03.821 GMT client backend[2348] [unknown] LOG: connection received: host=[local] 2026-05-06 15:09:03.823 GMT client backend[2348] [unknown] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/029_on_error/data/t_029_on_error_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:09:03.823 GMT client backend[2348] [unknown] LOG: connection authorized: user=SYSTEM database=postgres application_name=029_on_error.pl 2026-05-06 15:09:03.826 GMT client backend[2348] 029_on_error.pl LOG: connection ready: setup total=63.253 ms, fork=51.082 ms, authentication=0.297 ms 2026-05-06 15:09:03.854 GMT postmaster[6132] LOG: shutting down because "restart_after_crash" is off 2026-05-06 15:09:03.856 GMT postmaster[6132] LOG: database system is shut down