2026-05-06 15:15:55.316 UTC postmaster[92302] LOG: starting PostgreSQL 19devel on x86_64-pc-linux-gnu, compiled by gcc (Debian 14.2.0-19) 14.2.0, 64-bit 2026-05-06 15:15:55.316 UTC postmaster[92302] LOG: listening on Unix socket "/tmp/IpOwV2borZ/.s.PGSQL.27399" 2026-05-06 15:15:55.324 UTC startup[92307] LOG: database system was shut down at 2026-05-06 14:51:15 UTC 2026-05-06 15:15:55.334 UTC postmaster[92302] LOG: database system is ready to accept connections 2026-05-06 15:15:55.495 UTC client backend[92316] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:55.496 UTC client backend[92316] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:55.496 UTC client backend[92316] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:55.521 UTC client backend[92316] 035_conflicts.pl LOG: connection ready: setup total=28.736 ms, fork=1.611 ms, authentication=0.619 ms 2026-05-06 15:15:55.522 UTC client backend[92316] 035_conflicts.pl LOG: statement: CREATE TABLE conf_tab (a int PRIMARY key, b int UNIQUE, c int UNIQUE); 2026-05-06 15:15:55.533 UTC client backend[92316] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.039 user=postgres database=postgres host=[local] 2026-05-06 15:15:55.552 UTC client backend[92318] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:55.554 UTC client backend[92318] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:55.554 UTC client backend[92318] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:55.556 UTC client backend[92318] 035_conflicts.pl LOG: connection ready: setup total=5.769 ms, fork=1.470 ms, authentication=0.476 ms 2026-05-06 15:15:55.556 UTC client backend[92318] 035_conflicts.pl LOG: statement: CREATE TABLE conf_tab_2 (a int PRIMARY KEY, b int, c int, unique(a,b)) PARTITION BY RANGE (a); 2026-05-06 15:15:55.565 UTC client backend[92318] 035_conflicts.pl LOG: statement: CREATE TABLE conf_tab_2_p1 PARTITION OF conf_tab_2 FOR VALUES FROM (MINVALUE) TO (100); 2026-05-06 15:15:55.573 UTC client backend[92318] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.021 user=postgres database=postgres host=[local] 2026-05-06 15:15:55.617 UTC client backend[92322] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:55.619 UTC client backend[92322] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:55.619 UTC client backend[92322] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:55.621 UTC client backend[92322] 035_conflicts.pl LOG: connection ready: setup total=5.869 ms, fork=1.545 ms, authentication=0.527 ms 2026-05-06 15:15:55.622 UTC client backend[92322] 035_conflicts.pl LOG: statement: CREATE SUBSCRIPTION sub_tab CONNECTION 'port=27398 host=/tmp/IpOwV2borZ dbname=postgres application_name=sub_tab' PUBLICATION pub_tab WITH (conflict_log_destination=all) 2026-05-06 15:15:55.656 UTC client backend[92322] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.038 user=postgres database=postgres host=[local] 2026-05-06 15:15:55.663 UTC logical replication apply worker[92324] LOG: logical replication apply worker for subscription "sub_tab" has started 2026-05-06 15:15:55.676 UTC client backend[92328] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:55.678 UTC client backend[92328] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:55.678 UTC client backend[92328] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:55.680 UTC logical replication tablesync worker[92327] LOG: logical replication table synchronization worker for subscription "sub_tab", table "conf_tab" has started 2026-05-06 15:15:55.680 UTC client backend[92328] 035_conflicts.pl LOG: connection ready: setup total=5.610 ms, fork=1.501 ms, authentication=0.395 ms 2026-05-06 15:15:55.681 UTC client backend[92328] 035_conflicts.pl LOG: statement: SELECT count(1) = 0 FROM pg_subscription_rel WHERE srsubstate NOT IN ('r', 's'); 2026-05-06 15:15:55.687 UTC client backend[92328] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.011 user=postgres database=postgres host=[local] 2026-05-06 15:15:55.691 UTC logical replication tablesync worker[92330] LOG: logical replication table synchronization worker for subscription "sub_tab", table "conf_tab_2" has started 2026-05-06 15:15:55.714 UTC logical replication tablesync worker[92327] LOG: logical replication table synchronization worker for subscription "sub_tab", table "conf_tab" has finished 2026-05-06 15:15:55.725 UTC logical replication tablesync worker[92330] LOG: logical replication table synchronization worker for subscription "sub_tab", table "conf_tab_2" has finished 2026-05-06 15:15:55.802 UTC client backend[92333] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:55.804 UTC client backend[92333] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:55.804 UTC client backend[92333] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:55.806 UTC client backend[92333] 035_conflicts.pl LOG: connection ready: setup total=5.461 ms, fork=1.574 ms, authentication=0.385 ms 2026-05-06 15:15:55.806 UTC client backend[92333] 035_conflicts.pl LOG: statement: SELECT count(1) = 0 FROM pg_subscription_rel WHERE srsubstate NOT IN ('r', 's'); 2026-05-06 15:15:55.810 UTC client backend[92333] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.008 user=postgres database=postgres host=[local] 2026-05-06 15:15:55.928 UTC client backend[92343] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:55.930 UTC client backend[92343] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:55.930 UTC client backend[92343] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:55.932 UTC client backend[92343] 035_conflicts.pl LOG: connection ready: setup total=6.164 ms, fork=1.735 ms, authentication=0.443 ms 2026-05-06 15:15:55.932 UTC client backend[92343] 035_conflicts.pl LOG: statement: INSERT INTO conf_tab VALUES (2,2,2), (3,3,3), (4,4,4); 2026-05-06 15:15:55.935 UTC client backend[92343] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.007 user=postgres database=postgres host=[local] 2026-05-06 15:15:55.960 UTC logical replication apply worker[92324] ERROR: conflict detected on relation "public.conf_tab": conflict=multiple_unique_conflicts 2026-05-06 15:15:55.960 UTC logical replication apply worker[92324] DETAIL: Could not apply remote change: remote row (2, 3, 4). Key already exists in unique index "conf_tab_pkey", modified in transaction 708: key (a)=(2), local row (2, 2, 2). Key already exists in unique index "conf_tab_b_key", modified in transaction 708: key (b)=(3), local row (3, 3, 3). Key already exists in unique index "conf_tab_c_key", modified in transaction 708: key (c)=(4), local row (4, 4, 4). 2026-05-06 15:15:55.960 UTC logical replication apply worker[92324] CONTEXT: processing remote data for replication origin "pg_16410" during message type "INSERT" for replication target relation "public.conf_tab" in transaction 697, finished at 0/017F4D28 2026-05-06 15:15:55.969 UTC postmaster[92302] LOG: background worker "logical replication apply worker" (PID 92324) exited with exit code 1 2026-05-06 15:15:55.976 UTC client backend[92347] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:55.978 UTC client backend[92347] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:55.978 UTC client backend[92347] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:55.980 UTC client backend[92347] 035_conflicts.pl LOG: connection ready: setup total=5.723 ms, fork=1.614 ms, authentication=0.386 ms 2026-05-06 15:15:55.980 UTC client backend[92347] 035_conflicts.pl LOG: statement: SELECT oid FROM pg_subscription WHERE subname = 'sub_tab'; 2026-05-06 15:15:55.984 UTC client backend[92347] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.007 user=postgres database=postgres host=[local] 2026-05-06 15:15:56.001 UTC client backend[92349] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:56.003 UTC client backend[92349] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:56.003 UTC client backend[92349] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:56.005 UTC client backend[92349] 035_conflicts.pl LOG: connection ready: setup total=5.635 ms, fork=1.661 ms, authentication=0.383 ms 2026-05-06 15:15:56.005 UTC client backend[92349] 035_conflicts.pl LOG: statement: SELECT count(*) > 0 FROM pg_conflict.pg_conflict_log_16410; 2026-05-06 15:15:56.008 UTC client backend[92349] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.007 user=postgres database=postgres host=[local] 2026-05-06 15:15:56.026 UTC client backend[92351] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:56.028 UTC client backend[92351] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:56.028 UTC client backend[92351] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:56.030 UTC client backend[92351] 035_conflicts.pl LOG: connection ready: setup total=5.762 ms, fork=1.684 ms, authentication=0.406 ms 2026-05-06 15:15:56.030 UTC client backend[92351] 035_conflicts.pl LOG: statement: SELECT count(*) >= 1 FROM pg_conflict.pg_conflict_log_16410 WHERE conflict_type = 'multiple_unique_conflicts'; 2026-05-06 15:15:56.033 UTC client backend[92351] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.007 user=postgres database=postgres host=[local] 2026-05-06 15:15:56.051 UTC client backend[92353] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:56.053 UTC client backend[92353] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:56.053 UTC client backend[92353] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:56.055 UTC client backend[92353] 035_conflicts.pl LOG: connection ready: setup total=5.542 ms, fork=1.538 ms, authentication=0.467 ms 2026-05-06 15:15:56.055 UTC client backend[92353] 035_conflicts.pl LOG: statement: SELECT local_conflicts FROM pg_conflict.pg_conflict_log_16410; 2026-05-06 15:15:56.057 UTC client backend[92353] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.006 user=postgres database=postgres host=[local] 2026-05-06 15:15:56.075 UTC client backend[92355] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:56.076 UTC client backend[92355] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:56.076 UTC client backend[92355] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:56.078 UTC client backend[92355] 035_conflicts.pl LOG: connection ready: setup total=5.333 ms, fork=1.469 ms, authentication=0.437 ms 2026-05-06 15:15:56.079 UTC client backend[92355] 035_conflicts.pl LOG: statement: TRUNCATE conf_tab; 2026-05-06 15:15:56.084 UTC client backend[92355] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.009 user=postgres database=postgres host=[local] 2026-05-06 15:15:56.102 UTC client backend[92357] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:56.104 UTC client backend[92357] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:56.104 UTC client backend[92357] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:56.106 UTC client backend[92357] 035_conflicts.pl LOG: connection ready: setup total=5.700 ms, fork=1.677 ms, authentication=0.418 ms 2026-05-06 15:15:56.106 UTC client backend[92357] 035_conflicts.pl LOG: statement: DELETE FROM pg_conflict.pg_conflict_log_16410 2026-05-06 15:15:56.108 UTC client backend[92357] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.006 user=postgres database=postgres host=[local] 2026-05-06 15:15:56.150 UTC client backend[92361] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:56.151 UTC client backend[92361] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:56.151 UTC client backend[92361] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:56.153 UTC client backend[92361] 035_conflicts.pl LOG: connection ready: setup total=5.398 ms, fork=1.569 ms, authentication=0.374 ms 2026-05-06 15:15:56.154 UTC client backend[92361] 035_conflicts.pl LOG: statement: INSERT INTO conf_tab VALUES (6,6,6), (7,7,7), (8,8,8); 2026-05-06 15:15:56.156 UTC client backend[92361] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.006 user=postgres database=postgres host=[local] 2026-05-06 15:15:56.162 UTC logical replication apply worker[92362] LOG: logical replication apply worker for subscription "sub_tab" has started 2026-05-06 15:15:56.183 UTC logical replication apply worker[92362] ERROR: conflict detected on relation "public.conf_tab": conflict=multiple_unique_conflicts 2026-05-06 15:15:56.183 UTC logical replication apply worker[92362] DETAIL: Could not apply remote change: remote row (6, 7, 8), replica identity (a)=(5). Key already exists in unique index "conf_tab_pkey", modified in transaction 713: key (a)=(6), local row (6, 6, 6). Key already exists in unique index "conf_tab_b_key", modified in transaction 713: key (b)=(7), local row (7, 7, 7). Key already exists in unique index "conf_tab_c_key", modified in transaction 713: key (c)=(8), local row (8, 8, 8). 2026-05-06 15:15:56.183 UTC logical replication apply worker[92362] CONTEXT: processing remote data for replication origin "pg_16410" during message type "UPDATE" for replication target relation "public.conf_tab" in transaction 699, finished at 0/017F4FA8 2026-05-06 15:15:56.191 UTC postmaster[92302] LOG: background worker "logical replication apply worker" (PID 92362) exited with exit code 1 2026-05-06 15:15:56.205 UTC client backend[92367] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:56.206 UTC client backend[92367] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:56.206 UTC client backend[92367] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:56.209 UTC client backend[92367] 035_conflicts.pl LOG: connection ready: setup total=5.922 ms, fork=1.833 ms, authentication=0.403 ms 2026-05-06 15:15:56.209 UTC client backend[92367] 035_conflicts.pl LOG: statement: SELECT count(*) > 0 FROM pg_conflict.pg_conflict_log_16410; 2026-05-06 15:15:56.212 UTC client backend[92367] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.007 user=postgres database=postgres host=[local] 2026-05-06 15:15:56.230 UTC client backend[92369] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:56.231 UTC client backend[92369] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:56.231 UTC client backend[92369] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:56.233 UTC client backend[92369] 035_conflicts.pl LOG: connection ready: setup total=5.582 ms, fork=1.644 ms, authentication=0.406 ms 2026-05-06 15:15:56.234 UTC client backend[92369] 035_conflicts.pl LOG: statement: SELECT count(*) >= 1 FROM pg_conflict.pg_conflict_log_16410 WHERE conflict_type = 'multiple_unique_conflicts'; 2026-05-06 15:15:56.237 UTC client backend[92369] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.007 user=postgres database=postgres host=[local] 2026-05-06 15:15:56.256 UTC client backend[92371] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:56.257 UTC client backend[92371] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:56.257 UTC client backend[92371] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:56.259 UTC client backend[92371] 035_conflicts.pl LOG: connection ready: setup total=5.883 ms, fork=1.761 ms, authentication=0.406 ms 2026-05-06 15:15:56.260 UTC client backend[92371] 035_conflicts.pl LOG: statement: SELECT local_conflicts FROM pg_conflict.pg_conflict_log_16410; 2026-05-06 15:15:56.262 UTC client backend[92371] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.006 user=postgres database=postgres host=[local] 2026-05-06 15:15:56.280 UTC client backend[92373] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:56.282 UTC client backend[92373] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:56.282 UTC client backend[92373] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:56.284 UTC client backend[92373] 035_conflicts.pl LOG: connection ready: setup total=5.362 ms, fork=1.517 ms, authentication=0.381 ms 2026-05-06 15:15:56.284 UTC client backend[92373] 035_conflicts.pl LOG: statement: TRUNCATE conf_tab; 2026-05-06 15:15:56.289 UTC client backend[92373] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.009 user=postgres database=postgres host=[local] 2026-05-06 15:15:56.307 UTC client backend[92375] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:56.309 UTC client backend[92375] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:56.309 UTC client backend[92375] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:56.311 UTC client backend[92375] 035_conflicts.pl LOG: connection ready: setup total=5.731 ms, fork=1.707 ms, authentication=0.490 ms 2026-05-06 15:15:56.311 UTC client backend[92375] 035_conflicts.pl LOG: statement: INSERT INTO conf_tab_2 VALUES (55,2,3); 2026-05-06 15:15:56.314 UTC client backend[92375] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.007 user=postgres database=postgres host=[local] 2026-05-06 15:15:56.663 UTC logical replication apply worker[92378] LOG: logical replication apply worker for subscription "sub_tab" has started 2026-05-06 15:15:56.677 UTC logical replication apply worker[92378] LOG: conflict detected on relation "public.conf_tab": conflict=update_missing 2026-05-06 15:15:56.677 UTC logical replication apply worker[92378] DETAIL: Could not find the row to be updated: remote row (6, 7, 8), replica identity (a)=(5). 2026-05-06 15:15:56.677 UTC logical replication apply worker[92378] CONTEXT: processing remote data for replication origin "pg_16410" during message type "UPDATE" for replication target relation "public.conf_tab" in transaction 699, finished at 0/017F4FA8 2026-05-06 15:15:56.679 UTC logical replication apply worker[92378] ERROR: conflict detected on relation "public.conf_tab_2_p1": conflict=multiple_unique_conflicts 2026-05-06 15:15:56.679 UTC logical replication apply worker[92378] DETAIL: Could not apply remote change: remote row (55, 2, 3). Key already exists in unique index "conf_tab_2_p1_pkey", modified in transaction 719: key (a)=(55), local row (55, 2, 3). Key already exists in unique index "conf_tab_2_p1_a_b_key", modified in transaction 719: key (a, b)=(55, 2), local row (55, 2, 3). 2026-05-06 15:15:56.679 UTC logical replication apply worker[92378] CONTEXT: processing remote data for replication origin "pg_16410" during message type "INSERT" for replication target relation "public.conf_tab_2" in transaction 700, finished at 0/017F5200 2026-05-06 15:15:56.688 UTC postmaster[92302] LOG: background worker "logical replication apply worker" (PID 92378) exited with exit code 1 2026-05-06 15:15:56.960 UTC postmaster[92302] LOG: received fast shutdown request 2026-05-06 15:15:56.960 UTC postmaster[92302] LOG: aborting any active transactions 2026-05-06 15:15:56.968 UTC postmaster[92302] LOG: background worker "logical replication launcher" (PID 92310) exited with exit code 1 2026-05-06 15:15:56.969 UTC checkpointer[92305] LOG: shutting down 2026-05-06 15:15:56.969 UTC checkpointer[92305] LOG: checkpoint starting: shutdown fast 2026-05-06 15:15:56.970 UTC checkpointer[92305] LOG: checkpoint complete: shutdown fast: wrote 23 buffers (18.0%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.001 s, total=0.002 s; sync files=0, longest=0.000 s, average=0.000 s; distance=276 kB, estimate=276 kB; lsn=0/01801830, redo lsn=0/01801830 2026-05-06 15:15:56.987 UTC postmaster[92302] LOG: database system is shut down 2026-05-06 15:15:57.092 UTC postmaster[92390] LOG: starting PostgreSQL 19devel on x86_64-pc-linux-gnu, compiled by gcc (Debian 14.2.0-19) 14.2.0, 64-bit 2026-05-06 15:15:57.093 UTC postmaster[92390] LOG: listening on Unix socket "/tmp/IpOwV2borZ/.s.PGSQL.27399" 2026-05-06 15:15:57.100 UTC startup[92395] LOG: database system was shut down at 2026-05-06 15:15:56 UTC 2026-05-06 15:15:57.100 UTC startup[92395] LOG: recovered replication state of node 1 to 0/017F4FD8 2026-05-06 15:15:57.110 UTC postmaster[92390] LOG: database system is ready to accept connections 2026-05-06 15:15:57.145 UTC logical replication apply worker[92399] LOG: logical replication apply worker for subscription "sub_tab" has started 2026-05-06 15:15:57.182 UTC logical replication apply worker[92399] ERROR: conflict detected on relation "public.conf_tab_2_p1": conflict=multiple_unique_conflicts 2026-05-06 15:15:57.182 UTC logical replication apply worker[92399] DETAIL: Could not apply remote change: remote row (55, 2, 3). Key already exists in unique index "conf_tab_2_p1_pkey", modified in transaction 719: key (a)=(55), local row (55, 2, 3). Key already exists in unique index "conf_tab_2_p1_a_b_key", modified in transaction 719: key (a, b)=(55, 2), local row (55, 2, 3). 2026-05-06 15:15:57.182 UTC logical replication apply worker[92399] CONTEXT: processing remote data for replication origin "pg_16410" during message type "INSERT" for replication target relation "public.conf_tab_2" in transaction 700, finished at 0/017F5200 2026-05-06 15:15:57.192 UTC postmaster[92390] LOG: background worker "logical replication apply worker" (PID 92399) exited with exit code 1 2026-05-06 15:15:57.208 UTC client backend[92404] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:57.209 UTC client backend[92404] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:57.209 UTC client backend[92404] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:57.211 UTC client backend[92404] 035_conflicts.pl LOG: connection ready: setup total=5.621 ms, fork=1.410 ms, authentication=0.458 ms 2026-05-06 15:15:57.212 UTC client backend[92404] 035_conflicts.pl LOG: statement: CREATE TABLE tab (a int PRIMARY KEY, b int) 2026-05-06 15:15:57.220 UTC client backend[92404] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.012 user=postgres database=postgres host=[local] 2026-05-06 15:15:57.263 UTC client backend[92408] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:57.264 UTC client backend[92408] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:57.264 UTC client backend[92408] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:57.266 UTC client backend[92408] 035_conflicts.pl LOG: connection ready: setup total=5.720 ms, fork=1.484 ms, authentication=0.465 ms 2026-05-06 15:15:57.267 UTC client backend[92408] 035_conflicts.pl LOG: statement: CREATE SUBSCRIPTION tap_sub_b_a CONNECTION 'port=27398 host=/tmp/IpOwV2borZ dbname=postgres application_name=tap_sub_b_a' PUBLICATION tap_pub_A WITH (origin = none, retain_dead_tuples = true) 2026-05-06 15:15:57.305 UTC logical replication launcher[92398] LOG: creating replication conflict detection slot 2026-05-06 15:15:57.305 UTC client backend[92408] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.042 user=postgres database=postgres host=[local] 2026-05-06 15:15:57.312 UTC logical replication apply worker[92410] LOG: logical replication apply worker for subscription "tap_sub_b_a" has started 2026-05-06 15:15:57.323 UTC client backend[92414] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:57.325 UTC client backend[92414] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:57.325 UTC client backend[92414] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:57.326 UTC logical replication tablesync worker[92413] LOG: logical replication table synchronization worker for subscription "tap_sub_b_a", table "tab" has started 2026-05-06 15:15:57.326 UTC client backend[92414] 035_conflicts.pl LOG: connection ready: setup total=4.714 ms, fork=1.209 ms, authentication=0.312 ms 2026-05-06 15:15:57.327 UTC client backend[92414] 035_conflicts.pl LOG: statement: CREATE PUBLICATION tap_pub_B FOR TABLE tab 2026-05-06 15:15:57.330 UTC client backend[92414] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.007 user=postgres database=postgres host=[local] 2026-05-06 15:15:57.357 UTC client backend[92418] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:57.358 UTC logical replication tablesync worker[92413] LOG: logical replication table synchronization worker for subscription "tap_sub_b_a", table "tab" has finished 2026-05-06 15:15:57.358 UTC walsender[92418] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:57.358 UTC walsender[92418] [unknown] LOG: replication connection authorized: user=postgres application_name=tap_sub_a_b 2026-05-06 15:15:57.360 UTC walsender[92418] tap_sub_a_b LOG: connection ready: setup total=5.598 ms, fork=1.626 ms, authentication=0.450 ms 2026-05-06 15:15:57.360 UTC walsender[92418] tap_sub_a_b LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2026-05-06 15:15:57.361 UTC walsender[92418] tap_sub_a_b LOG: statement: SELECT t.pubname FROM pg_catalog.pg_publication t WHERE t.pubname IN ('tap_pub_b') 2026-05-06 15:15:57.364 UTC walsender[92418] tap_sub_a_b LOG: statement: SELECT DISTINCT n.nspname, c.relname, c.relkind, gpt.attrs FROM pg_class c JOIN pg_namespace n ON n.oid = c.relnamespace JOIN ( SELECT (pg_get_publication_tables(VARIADIC array_agg(pubname::text))).* FROM pg_publication WHERE pubname IN ( 'tap_pub_b' )) AS gpt ON gpt.relid = c.oid UNION ALL SELECT DISTINCT s.schemaname, s.sequencename, 'S'::"char" AS relkind, NULL::int2vector AS attrs FROM pg_catalog.pg_publication_sequences s WHERE s.pubname IN ( 'tap_pub_b' ) 2026-05-06 15:15:57.381 UTC walsender[92418] tap_sub_a_b LOG: received replication command: CREATE_REPLICATION_SLOT "tap_sub_a_b" LOGICAL pgoutput (SNAPSHOT 'nothing') 2026-05-06 15:15:57.381 UTC walsender[92418] tap_sub_a_b STATEMENT: CREATE_REPLICATION_SLOT "tap_sub_a_b" LOGICAL pgoutput (SNAPSHOT 'nothing') 2026-05-06 15:15:57.381 UTC walsender[92418] tap_sub_a_b LOG: logical decoding found consistent point at 0/01827750 2026-05-06 15:15:57.381 UTC walsender[92418] tap_sub_a_b DETAIL: There are no running transactions. 2026-05-06 15:15:57.381 UTC walsender[92418] tap_sub_a_b STATEMENT: CREATE_REPLICATION_SLOT "tap_sub_a_b" LOGICAL pgoutput (SNAPSHOT 'nothing') 2026-05-06 15:15:57.382 UTC walsender[92418] tap_sub_a_b LOG: released logical replication slot "tap_sub_a_b" 2026-05-06 15:15:57.382 UTC walsender[92418] tap_sub_a_b STATEMENT: CREATE_REPLICATION_SLOT "tap_sub_a_b" LOGICAL pgoutput (SNAPSHOT 'nothing') 2026-05-06 15:15:57.382 UTC walsender[92418] tap_sub_a_b LOG: disconnection: session time: 0:00:00.025 user=postgres database=postgres host=[local] 2026-05-06 15:15:57.395 UTC client backend[92421] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:57.397 UTC walsender[92421] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:57.397 UTC walsender[92421] [unknown] LOG: replication connection authorized: user=postgres application_name=tap_sub_a_b 2026-05-06 15:15:57.399 UTC walsender[92421] tap_sub_a_b LOG: connection ready: setup total=5.918 ms, fork=1.407 ms, authentication=0.459 ms 2026-05-06 15:15:57.400 UTC walsender[92421] tap_sub_a_b LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2026-05-06 15:15:57.401 UTC walsender[92421] tap_sub_a_b LOG: received replication command: IDENTIFY_SYSTEM 2026-05-06 15:15:57.401 UTC walsender[92421] tap_sub_a_b STATEMENT: IDENTIFY_SYSTEM 2026-05-06 15:15:57.401 UTC walsender[92421] tap_sub_a_b LOG: received replication command: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'none', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.401 UTC walsender[92421] tap_sub_a_b STATEMENT: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'none', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.401 UTC walsender[92421] tap_sub_a_b LOG: acquired logical replication slot "tap_sub_a_b" 2026-05-06 15:15:57.401 UTC walsender[92421] tap_sub_a_b STATEMENT: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'none', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.402 UTC walsender[92421] tap_sub_a_b LOG: starting logical decoding for slot "tap_sub_a_b" 2026-05-06 15:15:57.402 UTC walsender[92421] tap_sub_a_b DETAIL: Streaming transactions committing after 0/01827788, reading WAL from 0/01827750. 2026-05-06 15:15:57.402 UTC walsender[92421] tap_sub_a_b STATEMENT: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'none', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.402 UTC walsender[92421] tap_sub_a_b LOG: logical decoding found consistent point at 0/01827750 2026-05-06 15:15:57.402 UTC walsender[92421] tap_sub_a_b DETAIL: There are no running transactions. 2026-05-06 15:15:57.402 UTC walsender[92421] tap_sub_a_b STATEMENT: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'none', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.427 UTC client backend[92424] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:57.428 UTC client backend[92424] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:57.428 UTC client backend[92424] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:57.430 UTC client backend[92424] 035_conflicts.pl LOG: connection ready: setup total=5.380 ms, fork=1.588 ms, authentication=0.393 ms 2026-05-06 15:15:57.431 UTC client backend[92424] 035_conflicts.pl LOG: statement: SELECT pg_is_in_recovery() 2026-05-06 15:15:57.432 UTC client backend[92424] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.005 user=postgres database=postgres host=[local] 2026-05-06 15:15:57.449 UTC client backend[92426] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:57.450 UTC client backend[92426] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:57.450 UTC client backend[92426] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:57.452 UTC client backend[92426] 035_conflicts.pl LOG: connection ready: setup total=5.301 ms, fork=1.595 ms, authentication=0.357 ms 2026-05-06 15:15:57.453 UTC client backend[92426] 035_conflicts.pl LOG: statement: SELECT pg_current_wal_lsn() 2026-05-06 15:15:57.454 UTC client backend[92426] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.005 user=postgres database=postgres host=[local] 2026-05-06 15:15:57.471 UTC client backend[92428] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:57.472 UTC client backend[92428] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:57.472 UTC client backend[92428] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:57.474 UTC client backend[92428] 035_conflicts.pl LOG: connection ready: setup total=5.184 ms, fork=1.430 ms, authentication=0.341 ms 2026-05-06 15:15:57.475 UTC client backend[92428] 035_conflicts.pl LOG: statement: SELECT '0/01827788' <= replay_lsn AND state = 'streaming' FROM pg_catalog.pg_stat_replication WHERE application_name IN ('tap_sub_a_b', 'walreceiver') 2026-05-06 15:15:57.485 UTC client backend[92428] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.014 user=postgres database=postgres host=[local] 2026-05-06 15:15:57.502 UTC client backend[92430] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:57.503 UTC client backend[92430] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:57.503 UTC client backend[92430] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:57.505 UTC client backend[92430] 035_conflicts.pl LOG: connection ready: setup total=5.224 ms, fork=1.517 ms, authentication=0.340 ms 2026-05-06 15:15:57.506 UTC client backend[92430] 035_conflicts.pl LOG: statement: SELECT count(1) = 0 FROM pg_subscription_rel WHERE srsubstate NOT IN ('r', 's'); 2026-05-06 15:15:57.509 UTC client backend[92430] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.007 user=postgres database=postgres host=[local] 2026-05-06 15:15:57.605 UTC client backend[92438] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:57.607 UTC client backend[92438] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:57.607 UTC client backend[92438] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:57.609 UTC client backend[92438] 035_conflicts.pl LOG: connection ready: setup total=5.725 ms, fork=1.643 ms, authentication=0.421 ms 2026-05-06 15:15:57.610 UTC client backend[92438] 035_conflicts.pl LOG: statement: SELECT xmin IS NOT NULL from pg_replication_slots WHERE slot_name = 'pg_conflict_detection' 2026-05-06 15:15:57.617 UTC client backend[92438] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.011 user=postgres database=postgres host=[local] 2026-05-06 15:15:57.623 UTC logical replication apply worker[92439] LOG: logical replication apply worker for subscription "sub_tab" has started 2026-05-06 15:15:57.640 UTC logical replication apply worker[92439] ERROR: conflict detected on relation "public.conf_tab_2_p1": conflict=multiple_unique_conflicts 2026-05-06 15:15:57.640 UTC logical replication apply worker[92439] DETAIL: Could not apply remote change: remote row (55, 2, 3). Key already exists in unique index "conf_tab_2_p1_pkey", modified in transaction 719: key (a)=(55), local row (55, 2, 3). Key already exists in unique index "conf_tab_2_p1_a_b_key", modified in transaction 719: key (a, b)=(55, 2), local row (55, 2, 3). 2026-05-06 15:15:57.640 UTC logical replication apply worker[92439] CONTEXT: processing remote data for replication origin "pg_16410" during message type "INSERT" for replication target relation "public.conf_tab_2" in transaction 700, finished at 0/017F5200 2026-05-06 15:15:57.649 UTC postmaster[92390] LOG: background worker "logical replication apply worker" (PID 92439) exited with exit code 1 2026-05-06 15:15:57.666 UTC walsender[92421] tap_sub_a_b LOG: released logical replication slot "tap_sub_a_b" 2026-05-06 15:15:57.666 UTC walsender[92421] tap_sub_a_b LOG: disconnection: session time: 0:00:00.271 user=postgres database=postgres host=[local] 2026-05-06 15:15:57.725 UTC client backend[92449] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:57.727 UTC walsender[92449] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:57.727 UTC walsender[92449] [unknown] LOG: replication connection authorized: user=postgres application_name=tap_sub_a_b 2026-05-06 15:15:57.729 UTC walsender[92449] tap_sub_a_b LOG: connection ready: setup total=6.038 ms, fork=1.718 ms, authentication=0.390 ms 2026-05-06 15:15:57.729 UTC walsender[92449] tap_sub_a_b LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2026-05-06 15:15:57.730 UTC walsender[92449] tap_sub_a_b LOG: statement: SELECT pg_is_in_recovery() 2026-05-06 15:15:57.731 UTC walsender[92449] tap_sub_a_b LOG: disconnection: session time: 0:00:00.006 user=postgres database=postgres host=[local] 2026-05-06 15:15:57.765 UTC client backend[92452] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:57.767 UTC walsender[92452] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:57.767 UTC walsender[92452] [unknown] LOG: replication connection authorized: user=postgres application_name=tap_sub_a_b 2026-05-06 15:15:57.769 UTC walsender[92452] tap_sub_a_b LOG: connection ready: setup total=6.032 ms, fork=1.765 ms, authentication=0.399 ms 2026-05-06 15:15:57.770 UTC walsender[92452] tap_sub_a_b LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2026-05-06 15:15:57.770 UTC walsender[92452] tap_sub_a_b LOG: statement: SELECT pg_is_in_recovery() 2026-05-06 15:15:57.771 UTC walsender[92452] tap_sub_a_b LOG: disconnection: session time: 0:00:00.006 user=postgres database=postgres host=[local] 2026-05-06 15:15:57.781 UTC client backend[92455] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:57.783 UTC walsender[92455] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:57.783 UTC walsender[92455] [unknown] LOG: replication connection authorized: user=postgres application_name=tap_sub_a_b 2026-05-06 15:15:57.785 UTC walsender[92455] tap_sub_a_b LOG: connection ready: setup total=5.778 ms, fork=1.402 ms, authentication=0.414 ms 2026-05-06 15:15:57.786 UTC walsender[92455] tap_sub_a_b LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2026-05-06 15:15:57.787 UTC walsender[92455] tap_sub_a_b LOG: received replication command: IDENTIFY_SYSTEM 2026-05-06 15:15:57.787 UTC walsender[92455] tap_sub_a_b STATEMENT: IDENTIFY_SYSTEM 2026-05-06 15:15:57.787 UTC walsender[92455] tap_sub_a_b LOG: received replication command: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'none', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.787 UTC walsender[92455] tap_sub_a_b STATEMENT: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'none', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.787 UTC walsender[92455] tap_sub_a_b LOG: acquired logical replication slot "tap_sub_a_b" 2026-05-06 15:15:57.787 UTC walsender[92455] tap_sub_a_b STATEMENT: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'none', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.788 UTC walsender[92455] tap_sub_a_b LOG: starting logical decoding for slot "tap_sub_a_b" 2026-05-06 15:15:57.788 UTC walsender[92455] tap_sub_a_b DETAIL: Streaming transactions committing after 0/01827788, reading WAL from 0/01827750. 2026-05-06 15:15:57.788 UTC walsender[92455] tap_sub_a_b STATEMENT: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'none', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.788 UTC walsender[92455] tap_sub_a_b LOG: logical decoding found consistent point at 0/01827750 2026-05-06 15:15:57.788 UTC walsender[92455] tap_sub_a_b DETAIL: There are no running transactions. 2026-05-06 15:15:57.788 UTC walsender[92455] tap_sub_a_b STATEMENT: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'none', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.831 UTC client backend[92459] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:57.833 UTC walsender[92459] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:57.833 UTC walsender[92459] [unknown] LOG: replication connection authorized: user=postgres application_name=tap_sub_a_b 2026-05-06 15:15:57.835 UTC walsender[92459] tap_sub_a_b LOG: connection ready: setup total=6.219 ms, fork=1.783 ms, authentication=0.414 ms 2026-05-06 15:15:57.836 UTC walsender[92459] tap_sub_a_b LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2026-05-06 15:15:57.837 UTC walsender[92459] tap_sub_a_b LOG: statement: SELECT pg_is_in_recovery() 2026-05-06 15:15:57.837 UTC walsender[92459] tap_sub_a_b LOG: statement: SELECT DISTINCT P.pubname AS pubname FROM pg_publication P, LATERAL pg_get_publication_tables(P.pubname) GPT JOIN pg_subscription_rel PS ON (GPT.relid = PS.srrelid OR GPT.relid IN (SELECT relid FROM pg_partition_ancestors(PS.srrelid) UNION SELECT relid FROM pg_partition_tree(PS.srrelid))), pg_class C JOIN pg_namespace N ON (N.oid = C.relnamespace) WHERE C.oid = GPT.relid AND P.pubname IN ('tap_pub_b') 2026-05-06 15:15:57.854 UTC walsender[92459] tap_sub_a_b LOG: disconnection: session time: 0:00:00.023 user=postgres database=postgres host=[local] 2026-05-06 15:15:57.860 UTC walsender[92455] tap_sub_a_b LOG: released logical replication slot "tap_sub_a_b" 2026-05-06 15:15:57.860 UTC walsender[92455] tap_sub_a_b LOG: disconnection: session time: 0:00:00.079 user=postgres database=postgres host=[local] 2026-05-06 15:15:57.872 UTC client backend[92462] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:57.873 UTC walsender[92462] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:57.873 UTC walsender[92462] [unknown] LOG: replication connection authorized: user=postgres application_name=tap_sub_a_b 2026-05-06 15:15:57.876 UTC walsender[92462] tap_sub_a_b LOG: connection ready: setup total=6.334 ms, fork=1.742 ms, authentication=0.490 ms 2026-05-06 15:15:57.876 UTC walsender[92462] tap_sub_a_b LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2026-05-06 15:15:57.878 UTC walsender[92462] tap_sub_a_b LOG: received replication command: IDENTIFY_SYSTEM 2026-05-06 15:15:57.878 UTC walsender[92462] tap_sub_a_b STATEMENT: IDENTIFY_SYSTEM 2026-05-06 15:15:57.878 UTC walsender[92462] tap_sub_a_b LOG: received replication command: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'any', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.878 UTC walsender[92462] tap_sub_a_b STATEMENT: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'any', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.878 UTC walsender[92462] tap_sub_a_b LOG: acquired logical replication slot "tap_sub_a_b" 2026-05-06 15:15:57.878 UTC walsender[92462] tap_sub_a_b STATEMENT: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'any', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.879 UTC walsender[92462] tap_sub_a_b LOG: starting logical decoding for slot "tap_sub_a_b" 2026-05-06 15:15:57.879 UTC walsender[92462] tap_sub_a_b DETAIL: Streaming transactions committing after 0/01827A60, reading WAL from 0/01827750. 2026-05-06 15:15:57.879 UTC walsender[92462] tap_sub_a_b STATEMENT: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'any', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.879 UTC walsender[92462] tap_sub_a_b LOG: logical decoding found consistent point at 0/01827750 2026-05-06 15:15:57.879 UTC walsender[92462] tap_sub_a_b DETAIL: There are no running transactions. 2026-05-06 15:15:57.879 UTC walsender[92462] tap_sub_a_b STATEMENT: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'any', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.884 UTC walsender[92462] tap_sub_a_b LOG: released logical replication slot "tap_sub_a_b" 2026-05-06 15:15:57.884 UTC walsender[92462] tap_sub_a_b LOG: disconnection: session time: 0:00:00.013 user=postgres database=postgres host=[local] 2026-05-06 15:15:57.897 UTC client backend[92466] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:57.899 UTC walsender[92466] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:57.899 UTC walsender[92466] [unknown] LOG: replication connection authorized: user=postgres application_name=tap_sub_a_b 2026-05-06 15:15:57.901 UTC walsender[92466] tap_sub_a_b LOG: connection ready: setup total=5.848 ms, fork=1.651 ms, authentication=0.379 ms 2026-05-06 15:15:57.901 UTC walsender[92466] tap_sub_a_b LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2026-05-06 15:15:57.902 UTC walsender[92466] tap_sub_a_b LOG: received replication command: IDENTIFY_SYSTEM 2026-05-06 15:15:57.902 UTC walsender[92466] tap_sub_a_b STATEMENT: IDENTIFY_SYSTEM 2026-05-06 15:15:57.902 UTC walsender[92466] tap_sub_a_b LOG: received replication command: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'none', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.902 UTC walsender[92466] tap_sub_a_b STATEMENT: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'none', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.902 UTC walsender[92466] tap_sub_a_b LOG: acquired logical replication slot "tap_sub_a_b" 2026-05-06 15:15:57.902 UTC walsender[92466] tap_sub_a_b STATEMENT: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'none', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.903 UTC walsender[92466] tap_sub_a_b LOG: starting logical decoding for slot "tap_sub_a_b" 2026-05-06 15:15:57.903 UTC walsender[92466] tap_sub_a_b DETAIL: Streaming transactions committing after 0/01827A60, reading WAL from 0/01827750. 2026-05-06 15:15:57.903 UTC walsender[92466] tap_sub_a_b STATEMENT: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'none', publication_names '"tap_pub_b"') 2026-05-06 15:15:57.903 UTC walsender[92466] tap_sub_a_b LOG: logical decoding found consistent point at 0/01827750 2026-05-06 15:15:57.903 UTC walsender[92466] tap_sub_a_b DETAIL: There are no running transactions. 2026-05-06 15:15:57.903 UTC walsender[92466] tap_sub_a_b STATEMENT: START_REPLICATION SLOT "tap_sub_a_b" LOGICAL 0/00000000 (proto_version '4', streaming 'parallel', origin 'none', publication_names '"tap_pub_b"') 2026-05-06 15:15:58.015 UTC client backend[92475] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:58.017 UTC client backend[92475] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:58.017 UTC client backend[92475] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:58.019 UTC client backend[92475] 035_conflicts.pl LOG: connection ready: setup total=6.019 ms, fork=1.804 ms, authentication=0.420 ms 2026-05-06 15:15:58.019 UTC client backend[92475] 035_conflicts.pl LOG: statement: SELECT * FROM tab; 2026-05-06 15:15:58.022 UTC client backend[92475] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.007 user=postgres database=postgres host=[local] 2026-05-06 15:15:58.046 UTC walsender[92466] tap_sub_a_b LOG: released logical replication slot "tap_sub_a_b" 2026-05-06 15:15:58.047 UTC walsender[92466] tap_sub_a_b LOG: disconnection: session time: 0:00:00.149 user=postgres database=postgres host=[local] 2026-05-06 15:15:58.097 UTC client backend[92481] [unknown] LOG: connection received: host=[local] 2026-05-06 15:15:58.099 UTC client backend[92481] [unknown] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/test/subscription/tmp_check/t_035_conflicts_subscriber_data/pgdata/pg_hba.conf:117) 2026-05-06 15:15:58.099 UTC client backend[92481] [unknown] LOG: connection authorized: user=postgres database=postgres application_name=035_conflicts.pl 2026-05-06 15:15:58.101 UTC client backend[92481] 035_conflicts.pl LOG: connection ready: setup total=5.877 ms, fork=1.792 ms, authentication=0.398 ms 2026-05-06 15:15:58.102 UTC client backend[92481] 035_conflicts.pl LOG: statement: UPDATE tab SET b = 3 WHERE a = 1; 2026-05-06 15:15:58.105 UTC client backend[92481] 035_conflicts.pl LOG: disconnection: session time: 0:00:00.007 user=postgres database=postgres host=[local] 2026-05-06 15:15:58.121 UTC logical replication apply worker[92483] LOG: logical replication apply worker for subscription "sub_tab" has started TRAP: failed Assert("conflictlogrel != NULL"), File: "conflict.c", Line: 195, PID: 92410 /lib/x86_64-linux-gnu/libasan.so.8(+0x7e403) [0x7f8c5507e403] postgres: subscriber: logical replication apply worker for subscription 16428 (ExceptionalCondition+0xe6) [0x55d8dd940570] postgres: subscriber: logical replication apply worker for subscription 16428 (ReportApplyConflict+0x1ed) [0x55d8dd45d497] postgres: subscriber: logical replication apply worker for subscription 16428 (+0xe32a0c) [0x55d8dd4aea0c] postgres: subscriber: logical replication apply worker for subscription 16428 (+0xe39a6a) [0x55d8dd4b5a6a] postgres: subscriber: logical replication apply worker for subscription 16428 (apply_dispatch+0x73) [0x55d8dd4b8ce8] postgres: subscriber: logical replication apply worker for subscription 16428 (+0xe3e31e) [0x55d8dd4ba31e] postgres: subscriber: logical replication apply worker for subscription 16428 (start_apply+0x136) [0x55d8dd4bbe0c] postgres: subscriber: logical replication apply worker for subscription 16428 (+0xe40b20) [0x55d8dd4bcb20] postgres: subscriber: logical replication apply worker for subscription 16428 (ApplyWorkerMain+0x1c) [0x55d8dd4bcbcc] postgres: subscriber: logical replication apply worker for subscription 16428 (BackgroundWorkerMain+0x48e) [0x55d8dd40a932] postgres: subscriber: logical replication apply worker for subscription 16428 (postmaster_child_launch+0x26e) [0x55d8dd414ac4] postgres: subscriber: logical replication apply worker for subscription 16428 (+0xd9cddf) [0x55d8dd418ddf] postgres: subscriber: logical replication apply worker for subscription 16428 (+0xd9d33d) [0x55d8dd41933d] postgres: subscriber: logical replication apply worker for subscription 16428 (+0xd9f5bd) [0x55d8dd41b5bd] postgres: subscriber: logical replication apply worker for subscription 16428 (+0xda1d40) [0x55d8dd41dd40] postgres: subscriber: logical replication apply worker for subscription 16428 (PostmasterMain+0x1cf6) [0x55d8dd41fee3] postgres: subscriber: logical replication apply worker for subscription 16428 (main+0x2a8) [0x55d8dd18350d] /lib/x86_64-linux-gnu/libc.so.6(+0x29ca8) [0x7f8c53a35ca8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f8c53a35d65] postgres: subscriber: logical replication apply worker for subscription 16428 (_start+0x21) [0x55d8dcaf2561] 2026-05-06 15:15:58.140 UTC logical replication apply worker[92483] ERROR: conflict detected on relation "public.conf_tab_2_p1": conflict=multiple_unique_conflicts 2026-05-06 15:15:58.140 UTC logical replication apply worker[92483] DETAIL: Could not apply remote change: remote row (55, 2, 3). Key already exists in unique index "conf_tab_2_p1_pkey", modified in transaction 719: key (a)=(55), local row (55, 2, 3). Key already exists in unique index "conf_tab_2_p1_a_b_key", modified in transaction 719: key (a, b)=(55, 2), local row (55, 2, 3). 2026-05-06 15:15:58.140 UTC logical replication apply worker[92483] CONTEXT: processing remote data for replication origin "pg_16410" during message type "INSERT" for replication target relation "public.conf_tab_2" in transaction 700, finished at 0/017F5200 2026-05-06 15:15:58.149 UTC postmaster[92390] LOG: background worker "logical replication apply worker" (PID 92483) exited with exit code 1 2026-05-06 15:15:58.157 UTC postmaster[92390] LOG: background worker "logical replication apply worker" (PID 92410) was terminated by signal 6: Aborted 2026-05-06 15:15:58.157 UTC postmaster[92390] LOG: terminating any other active server processes 2026-05-06 15:15:58.168 UTC postmaster[92390] LOG: shutting down because "restart_after_crash" is off 2026-05-06 15:15:58.170 UTC postmaster[92390] LOG: database system is shut down