2025-01-05 17:33:57.690 GMT [2064][postmaster] LOG: starting PostgreSQL 18devel on x86_64-windows, compiled by msvc-19.29.30157, 64-bit 2025-01-05 17:33:57.694 GMT [2064][postmaster] LOG: listening on Unix socket "C:/Windows/TEMP/JzYDXBWo7z/.s.PGSQL.22056" 2025-01-05 17:33:57.729 GMT [3404][startup] LOG: database system was shut down at 2025-01-05 17:25:50 GMT 2025-01-05 17:33:57.739 GMT [2064][postmaster] LOG: database system is ready to accept connections 2025-01-05 17:33:58.111 GMT [1748][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-05 17:33:58.112 GMT [1748][client backend] [[unknown]][0/1:0] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/021_twophase/data/t_021_twophase_subscriber_data/pgdata/pg_hba.conf:117) 2025-01-05 17:33:58.112 GMT [1748][client backend] [[unknown]][0/1:0] LOG: connection authorized: user=SYSTEM database=postgres application_name=021_twophase.pl 2025-01-05 17:33:58.132 GMT [1748][client backend] [021_twophase.pl][0/2:0] LOG: statement: CREATE TABLE tab_full (a int PRIMARY KEY) 2025-01-05 17:33:58.146 GMT [1748][client backend] [021_twophase.pl][:0] LOG: disconnection: session time: 0:00:00.039 user=SYSTEM database=postgres host=[local] 2025-01-05 17:33:58.364 GMT [1516][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-05 17:33:58.365 GMT [1516][client backend] [[unknown]][1/1:0] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/021_twophase/data/t_021_twophase_subscriber_data/pgdata/pg_hba.conf:117) 2025-01-05 17:33:58.365 GMT [1516][client backend] [[unknown]][1/1:0] LOG: connection authorized: user=SYSTEM database=postgres application_name=021_twophase.pl 2025-01-05 17:33:58.369 GMT [1516][client backend] [021_twophase.pl][1/2:0] LOG: statement: CREATE SUBSCRIPTION tap_sub CONNECTION 'port=22055 host=C:/Windows/TEMP/JzYDXBWo7z dbname=postgres application_name=tap_sub' PUBLICATION tap_pub WITH (two_phase = on) 2025-01-05 17:33:58.428 GMT [1516][client backend] [021_twophase.pl][:0] LOG: disconnection: session time: 0:00:00.068 user=SYSTEM database=postgres host=[local] 2025-01-05 17:33:58.440 GMT [5832][logical replication apply worker] LOG: logical replication apply worker for subscription "tap_sub" has started 2025-01-05 17:33:58.511 GMT [6296][logical replication tablesync worker] LOG: logical replication table synchronization worker for subscription "tap_sub", table "tab_full" has started 2025-01-05 17:33:58.562 GMT [6296][logical replication tablesync worker] LOG: logical replication table synchronization worker for subscription "tap_sub", table "tab_full" has finished 2025-01-05 17:33:58.589 GMT [1832][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-05 17:33:58.591 GMT [1832][client backend] [[unknown]][2/1:0] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/021_twophase/data/t_021_twophase_subscriber_data/pgdata/pg_hba.conf:117) 2025-01-05 17:33:58.591 GMT [1832][client backend] [[unknown]][2/1:0] LOG: connection authorized: user=SYSTEM database=postgres application_name=021_twophase.pl 2025-01-05 17:33:58.594 GMT [1832][client backend] [021_twophase.pl][2/2:0] LOG: statement: SELECT count(1) = 0 FROM pg_subscription_rel WHERE srsubstate NOT IN ('r', 's'); 2025-01-05 17:33:58.600 GMT [5832][logical replication apply worker] LOG: logical replication apply worker for subscription "tap_sub" will restart so that two_phase can be enabled 2025-01-05 17:33:58.601 GMT [1832][client backend] [021_twophase.pl][:0] LOG: disconnection: session time: 0:00:00.015 user=SYSTEM database=postgres host=[local] 2025-01-05 17:33:58.629 GMT [2096][logical replication apply worker] LOG: logical replication apply worker for subscription "tap_sub" has started 2025-01-05 17:33:58.992 GMT [4904][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2025-01-05 17:33:58.993 GMT [4904][client backend] [[unknown]][3/1:0] LOG: connection authenticated: user="SYSTEM" method=trust (C:/cirrus/build/testrun/subscription/021_twophase/data/t_021_twophase_subscriber_data/pgdata/pg_hba.conf:117) 2025-01-05 17:33:58.993 GMT [4904][client backend] [[unknown]][3/1:0] LOG: connection authorized: user=SYSTEM database=postgres application_name=021_twophase.pl 2025-01-05 17:33:58.996 GMT [4904][client backend] [021_twophase.pl][3/2:0] LOG: statement: SELECT count(1) = 0 FROM pg_subscription WHERE subtwophasestate NOT IN ('e'); 2025-01-05 17:33:59.050 GMT [4904][client backend] [021_twophase.pl][:0] LOG: disconnection: session time: 0:00:00.061 user=SYSTEM database=postgres host=[local] 2025-01-05 17:33:59.193 GMT [2096][logical replication apply worker] ERROR: prepared transactions are disabled 2025-01-05 17:33:59.193 GMT [2096][logical replication apply worker] HINT: Set "max_prepared_transactions" to a nonzero value. 2025-01-05 17:33:59.193 GMT [2096][logical replication apply worker] CONTEXT: processing remote data for replication origin "pg_16390" during message type "PREPARE" in transaction 750, finished at 0/178B100 2025-01-05 17:33:59.198 GMT [2064][postmaster] LOG: background worker "logical replication apply worker" (PID 2096) exited with exit code 1 2025-01-05 17:33:59.215 GMT [6980][logical replication apply worker] LOG: logical replication apply worker for subscription "tap_sub" has started 2025-01-05 17:33:59.230 GMT [2064][postmaster] LOG: received fast shutdown request 2025-01-05 17:33:59.231 GMT [2064][postmaster] LOG: aborting any active transactions TRAP: failed Assert("(remainMask.mask | targetMask.mask) == BTYPE_MASK_ALL.mask"), File: "../src/backend/postmaster/postmaster.c", Line: 2896, PID: 2064 abort() has been called2025-01-05 17:33:59.250 GMT [6980][logical replication apply worker] ERROR: prepared transactions are disabled 2025-01-05 17:33:59.250 GMT [6980][logical replication apply worker] HINT: Set "max_prepared_transactions" to a nonzero value. 2025-01-05 17:33:59.250 GMT [6980][logical replication apply worker] CONTEXT: processing remote data for replication origin "pg_16390" during message type "PREPARE" in transaction 750, finished at 0/178B100