[02:43:16.039] src/tools/ci/cores_backtrace.sh linux /tmp/cores [02:43:16.270] dumping /tmp/cores/postgres-6-20483.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [02:43:16.524] [New LWP 20483] [02:43:16.524] [02:43:16.524] This GDB supports auto-downloading debuginfo from the following URLs: [02:43:16.524] [02:43:16.524] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [02:43:16.524] Debuginfod has been disabled. [02:43:16.524] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [02:43:16.656] [Thread debugging using libthread_db enabled] [02:43:16.656] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [02:43:16.656] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [02:43:16.656] Program terminated with signal SIGABRT, Aborted. [02:43:16.656] #0 0x00007fd288ea9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [02:43:17.625] [02:43:17.625] Thread 1 (Thread 0x7fd286a31f00 (LWP 20483)): [02:43:17.625] #0 0x00007fd288ea9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [02:43:17.625] No symbol table info available. [02:43:17.625] #1 0x00007fd288e5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [02:43:17.625] No symbol table info available. [02:43:17.625] #2 0x00007fd288e45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [02:43:17.625] No symbol table info available. [02:43:17.625] #3 0x00005560067fccfc in ExceptionalCondition (conditionName=conditionName@entry=0x556006a4aa85 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x556006a6eed0 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [02:43:17.625] No locals. [02:43:17.625] #4 0x00005560061a97f6 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffdefbdbb60, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffdefbdb9ff) at ../src/backend/executor/execTuples.c:1737 [02:43:17.625] No locals. [02:43:17.625] #5 0x000055600612d787 in ExecIRDeleteTriggers (estate=estate@entry=0x55600902a530, relinfo=relinfo@entry=0x55600902aae0, slot=slot@entry=0x7ffdefbdbb60) at ../src/backend/commands/trigger.c:2841 [02:43:17.625] trigger = 0x55600902ad40 [02:43:17.625] oldtuple = [02:43:17.625] trigdesc = 0x55600902acf0 [02:43:17.625] newtuple = 0x0 [02:43:17.625] should_free = false [02:43:17.625] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fd27d7435d8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [02:43:17.625] i = 0 [02:43:17.625] #6 0x00005560062066f3 in ExecMergeMatched (context=0x7ffdefbdbb80, resultRelInfo=resultRelInfo@entry=0x55600902aae0, tupleid=0x0, oldtuple=0x7ffdefbdbb60, canSetTag=true, matched=matched@entry=0x7ffdefbdbb0f) at ../src/backend/executor/nodeModifyTable.c:3043 [02:43:17.625] relaction = 0x5560090b3fa0 [02:43:17.625] commandType = CMD_DELETE [02:43:17.625] result = TM_Ok [02:43:17.625] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [02:43:17.625] l__state = [02:43:17.625] mtstate = 0x55600902a8d0 [02:43:17.625] mergeActions = 0x55600902abf0 [02:43:17.625] actionStates = 0x5560090b4560 [02:43:17.625] newslot = 0x0 [02:43:17.625] rslot = 0x0 [02:43:17.625] estate = 0x55600902a530 [02:43:17.625] econtext = 0x5560090b35b0 [02:43:17.625] isNull = false [02:43:17.625] epqstate = 0x55600902a9b8 [02:43:17.625] l = [02:43:17.625] __func__ = "ExecMergeMatched" [02:43:17.625] lmerge_matched = [02:43:17.625] #7 0x00005560062072b1 in ExecMerge (context=context@entry=0x7ffdefbdbb80, resultRelInfo=resultRelInfo@entry=0x55600902aae0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffdefbdbb60, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [02:43:17.625] rslot = 0x0 [02:43:17.625] matched = true [02:43:17.625] #8 0x0000556006208a76 in ExecModifyTable (pstate=0x55600902a8d0) at ../src/backend/executor/nodeModifyTable.c:4133 [02:43:17.625] node = 0x55600902a8d0 [02:43:17.625] context = {mtstate = 0x55600902a8d0, epqstate = 0x55600902a9b8, estate = 0x55600902a530, planSlot = 0x5560090b1998, tmfd = {ctid = {ip_blkid = {bi_hi = 42032, bi_lo = 2306}, ip_posid = 21856}, xmax = 109313054, cmax = 21856, traversed = 48}, cpUpdateReturningSlot = 0x55600683fc1e } [02:43:17.625] estate = 0x55600902a530 [02:43:17.625] operation = CMD_MERGE [02:43:17.625] resultRelInfo = 0x55600902aae0 [02:43:17.625] subplanstate = 0x55600902b210 [02:43:17.625] slot = [02:43:17.625] oldSlot = [02:43:17.625] tuple_ctid = {ip_blkid = {bi_hi = 2318, bi_lo = 21856}, ip_posid = 0} [02:43:17.625] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x556009069c38} [02:43:17.625] oldtuple = 0x7ffdefbdbb60 [02:43:17.625] tupleid = 0x0 [02:43:17.625] __func__ = "ExecModifyTable" [02:43:17.625] #9 0x000055600619bd42 in ExecProcNodeFirst (node=0x55600902a8d0) at ../src/backend/executor/execProcnode.c:469 [02:43:17.625] No locals. [02:43:17.625] #10 0x0000556006187240 in ExecProcNode (node=node@entry=0x55600902a8d0) at ../src/include/executor/executor.h:278 [02:43:17.625] No locals. [02:43:17.625] #11 0x00005560061873f5 in ExecutePlan (estate=estate@entry=0x55600902a530, planstate=0x55600902a8d0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55600908b990, execute_once=true) at ../src/backend/executor/execMain.c:1641 [02:43:17.625] slot = [02:43:17.625] current_tuple_count = 0 [02:43:17.625] #12 0x000055600618916d in standard_ExecutorRun (queryDesc=0x55600908af18, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [02:43:17.625] estate = 0x55600902a530 [02:43:17.625] operation = CMD_MERGE [02:43:17.625] dest = 0x55600908b990 [02:43:17.625] sendTuples = [02:43:17.625] oldcontext = 0x55600908b680 [02:43:17.625] __func__ = "standard_ExecutorRun" [02:43:17.625] #13 0x00005560061893a0 in ExecutorRun (queryDesc=queryDesc@entry=0x55600908af18, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [02:43:17.625] No locals. [02:43:17.625] #14 0x000055600657024f in ProcessQuery (plan=plan@entry=0x5560090e6a70, sourceText=0x556008f21ad0 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"..., params=0x0, queryEnv=0x0, dest=dest@entry=0x55600908b990, qc=qc@entry=0x7ffdefbdbdb0) at ../src/backend/tcop/pquery.c:160 [02:43:17.625] queryDesc = 0x55600908af18 [02:43:17.625] #15 0x0000556006571e84 in PortalRunMulti (portal=portal@entry=0x556008fa4720, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55600908b990, altdest=0x556006d78f00 , qc=qc@entry=0x7ffdefbdbdb0) at ../src/backend/tcop/pquery.c:1278 [02:43:17.625] pstmt = 0x5560090e6a70 [02:43:17.625] stmtlist_item__state = [02:43:17.625] active_snapshot_set = true [02:43:17.625] stmtlist_item = 0x5560090e6b98 [02:43:17.625] #16 0x00005560065723d6 in FillPortalStore (portal=portal@entry=0x556008fa4720, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [02:43:17.625] treceiver = 0x55600908b990 [02:43:17.625] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [02:43:17.625] __func__ = "FillPortalStore" [02:43:17.625] #17 0x00005560065729a7 in PortalRun (portal=portal@entry=0x556008fa4720, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x5560090e6bd0, altdest=altdest@entry=0x5560090e6bd0, qc=0x7ffdefbdbf90) at ../src/backend/tcop/pquery.c:763 [02:43:17.625] _save_exception_stack = 0x7ffdefbdc040 [02:43:17.625] _save_context_stack = 0x0 [02:43:17.625] _local_sigjmp_buf = {{__jmpbuf = {0, 4683119996253810316, 93870955841312, 93870956925184, 93870955841312, 93870956925112, 1568947793611763340, 4683134902140579468}, __mask_was_saved = 0, __saved_mask = {__val = {93870914534430, 93870955305424, 112, 4, 93870914538847, 4022189855, 4, 93870956925112, 112, 163, 93870955841312, 93870956925184, 93870956925160, 93870956925112, 93870914626050, 1}}}} [02:43:17.625] _do_rethrow = [02:43:17.625] result = [02:43:17.625] nprocessed = [02:43:17.625] saveTopTransactionResourceOwner = 0x556008f618d8 [02:43:17.625] saveTopTransactionContext = 0x556008fb5700 [02:43:17.625] saveActivePortal = 0x0 [02:43:17.625] saveResourceOwner = 0x556008f618d8 [02:43:17.625] savePortalContext = 0x0 [02:43:17.625] saveMemoryContext = 0x556008fb5700 [02:43:17.625] __func__ = "PortalRun" [02:43:17.625] #18 0x000055600656bd54 in exec_simple_query (query_string=query_string@entry=0x556008f21ad0 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"...) at ../src/backend/tcop/postgres.c:1284 [02:43:17.625] cmdtaglen = 5 [02:43:17.625] snapshot_set = [02:43:17.625] per_parsetree_context = 0x0 [02:43:17.625] plantree_list = 0x5560090e6b80 [02:43:17.625] parsetree = 0x5560090ad0b8 [02:43:17.625] commandTag = [02:43:17.625] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [02:43:17.625] querytree_list = [02:43:17.625] portal = 0x556008fa4720 [02:43:17.625] receiver = 0x5560090e6bd0 [02:43:17.625] format = 0 [02:43:17.625] cmdtagname = [02:43:17.625] parsetree_item__state = [02:43:17.625] dest = DestRemote [02:43:17.625] oldcontext = 0x556008fb5700 [02:43:17.625] parsetree_list = 0x5560090ad0e8 [02:43:17.625] parsetree_item = 0x5560090ad100 [02:43:17.625] save_log_statement_stats = false [02:43:17.625] was_logged = true [02:43:17.625] use_implicit_block = false [02:43:17.625] msec_str = "\360\301\275\357\375\177\000\000$*\202\006`U\000\000 \300\275\357\375\177\000\000\026\001\000\000\000\000\000" [02:43:17.625] __func__ = "exec_simple_query" [02:43:17.625] #19 0x000055600656e82d in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [02:43:17.625] query_string = 0x556008f21ad0 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"... [02:43:17.625] firstchar = [02:43:17.625] input_message = {data = 0x556008f21ad0 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"..., len = 278, maxlen = 1024, cursor = 278} [02:43:17.625] local_sigjmp_buf = {{__jmpbuf = {93870927071384, 4683132598872747660, 4, 140728625644016, 140728625644160, 140728625644164, 1568947792424775308, 4683134904445349516}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 93870955036240, 14336, 93870927065472, 93870955563152, 140728625644160, 93870914538395, 0, 9, 2, 93870927071392, 93870955036240, 93870927065472, 140728625644016, 140728625644160, 140728625644164}}}} [02:43:17.625] send_ready_for_query = false [02:43:17.625] idle_in_transaction_timeout_enabled = false [02:43:17.625] idle_session_timeout_enabled = false [02:43:17.625] __func__ = "PostgresMain" [02:43:17.625] #20 0x000055600656494f in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [02:43:17.625] bsdata = [02:43:17.625] #21 0x000055600641d1e0 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffdefbdc19c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffdefbdc1f0) at ../src/backend/postmaster/launch_backend.c:274 [02:43:17.625] pid = [02:43:17.625] #22 0x0000556006422c8c in BackendStartup (client_sock=client_sock@entry=0x7ffdefbdc1f0) at ../src/backend/postmaster/postmaster.c:3415 [02:43:17.625] bn = 0x556008f56988 [02:43:17.625] pid = [02:43:17.625] startup_data = {canAcceptConnections = CAC_OK} [02:43:17.625] __func__ = "BackendStartup" [02:43:17.625] #23 0x00005560064231ee in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [02:43:17.625] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\342\210\322\177\000\000\264½\357\375\177\000\000\312 u\212\322\177\000\000>\004\000\000\000\000\000\000\260\227\343\210\322\177\000\000\240?7\212\322\177\000\000\270½\357\375\177\000\000\264½\357\375\177\000\000\000\000\000\000\000\000\000\000P½\357\375\177\000\000\266\335^\005`U\000\000H\307Z\005`U\000\000\200ý\357\375\177\000\000xý\357\375\177\000\000\225[\362\001\000\000\000", __ss_align = 140542224884896}, salen = 2}} [02:43:17.625] i = 0 [02:43:17.625] now = [02:43:17.625] last_lockfile_recheck_time = 1726540773 [02:43:17.625] last_touch_time = 1726540773 [02:43:17.625] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 1, user_data = 0x7fd28a77c2e0}, {pos = -272776456, events = 0, fd = 0, user_data = 0x7fd28a77c668}, {pos = 90103222, events = 21856, fd = -1971861912, user_data = 0x7fd28963e630}, {pos = -1971862816, events = 32722, fd = 2090263927, user_data = 0x7ffdefbdc400}, {pos = -1972032952, events = 32722, fd = 15, user_data = 0x7fd28963e630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = -1971862816, events = 32722, fd = -272776328, user_data = 0x7ffdefbdc380}, {pos = -1971861912, events = 32722, fd = 0, user_data = 0x556008f50408}, {pos = 150274792, events = 21856, fd = 150274241, user_data = 0x7fd200000001}, {pos = 1, events = 0, fd = -1, user_data = 0x7fd288e2e020}, {pos = -1976090720, events = 32722, fd = 150275080, user_data = 0x7ffdefbdc770}, {pos = 150246248, events = 21856, fd = 150275312, user_data = 0x556008f50408}, {pos = -1971862816, events = 32722, fd = 438, user_data = 0x556006d98db0 }, {pos = 0, events = 0, fd = 1, user_data = 0x556008f21ae8}, {pos = -1972007234, events = 32722, fd = 1, user_data = 0x0}, {pos = -1998397408, events = 32722, fd = -1997591104, user_data = 0x7ffdefbdc7e0}, {pos = -272775232, events = 32765, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1971998278, user_data = 0x0}, {pos = -1997869788, events = 32722, fd = 0, user_data = 0x556007426240 }, {pos = 2, events = 0, fd = 7, user_data = 0x556008ee3ef0}, {pos = 0, events = 0, fd = -1998363448, user_data = 0x7fd288e9c880 }, {pos = -2036130376, events = 32722, fd = 8096, user_data = 0x100007f00000002}, {pos = -1997836665, events = 32722, fd = 2, user_data = 0x7d0}, {pos = 255, events = 0, fd = 99, user_data = 0x2}, {pos = -1996546976, events = 32722, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x556008ee3ef0}, {pos = -1997833718, events = 32722, fd = 1663923061, user_data = 0x556008ee3ef0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xffffff0000000000}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1, user_data = 0xffffffffffffffff}, {pos = 794915937, events = 808476532, fd = 1735417650, user_data = 0x5f67702f6e757274}, {pos = 1919381621, events = 795173985, fd = 0, user_data = 0x7f0000000000}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0x66c6f4a6c798e200}, {pos = -1996560928, events = 32722, fd = -328, user_data = 0x0}, {pos = 150274472, events = 21856, fd = 1024, user_data = 0x556008f501a8}, {pos = -272775048, events = 32765, fd = -1997832545, user_data = 0x2}, {pos = 6, events = 2147483648, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 3, user_data = 0x0}, {pos = 18067, events = 0, fd = -328, user_data = 0x0}, {pos = 150084328, events = 21856, fd = -1997590573, user_data = 0x7ffdefbdc878}, {pos = 109396370, events = 21856, fd = 121849936, user_data = 0x556006842c4f }, {pos = 150274272, events = 21856, fd = 150084048, user_data = 0x556008f500e0}, {pos = -1997842709, events = 32722, fd = 0, user_data = 0x5560068548b9 }, {pos = 150274272, events = 1, fd = 109398530, user_data = 0x556008f219d0}, {pos = -946281984, events = 1724314790, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -1997919567, user_data = 0x7fd288ea14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -946281984, user_data = 0x556008ef9100}, {pos = -946281984, events = 1724314790, fd = 11, user_data = 0x66c6f4a6c798e200}, {pos = 0, events = 0, fd = -1998212551, user_data = 0x1}, {pos = 104976093, events = 21856, fd = 4194304, user_data = 0x556006842ae3 }, {pos = 149917952, events = 21856, fd = 150084048, user_data = 0x556008ef9100}, {pos = 1, events = 0, fd = 0, user_data = 0x5560068548b9 }, {pos = 149917952, events = 21856, fd = 109398530, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x556006253fb6 }, {pos = 0, events = 0, fd = 103125750, user_data = 0xb}, {pos = 104997242, events = 21856, fd = 118259312, user_data = 0x556008f22378}} [02:43:17.626] nevents = 1 [02:43:17.626] __func__ = "ServerLoop" [02:43:17.626] #24 0x0000556006424964 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x556008edfd60) at ../src/backend/postmaster/postmaster.c:1346 [02:43:17.626] opt = [02:43:17.626] status = [02:43:17.626] userDoption = [02:43:17.626] listen_addr_saved = false [02:43:17.626] output_config_variable = [02:43:17.626] __func__ = "PostmasterMain" [02:43:17.626] #25 0x0000556006264392 in main (argc=4, argv=0x556008edfd60) at ../src/backend/main/main.c:197 [02:43:17.626] do_check_root = [02:43:17.662] -e [02:43:17.662] [02:43:17.662] [02:43:17.727] dumping /tmp/cores/postgres-6-19588.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [02:43:17.980] [New LWP 19588] [02:43:17.980] [02:43:17.980] This GDB supports auto-downloading debuginfo from the following URLs: [02:43:17.980] [02:43:17.980] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [02:43:17.980] Debuginfod has been disabled. [02:43:17.980] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [02:43:18.093] [Thread debugging using libthread_db enabled] [02:43:18.093] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [02:43:18.093] Core was generated by `postgres: postgres regression [local] MERGE '. [02:43:18.093] Program terminated with signal SIGABRT, Aborted. [02:43:18.093] #0 0x00007fa95faa9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [02:43:19.017] [02:43:19.017] Thread 1 (Thread 0x7fa960237f00 (LWP 19588)): [02:43:19.017] #0 0x00007fa95faa9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [02:43:19.017] No symbol table info available. [02:43:19.017] #1 0x00007fa95fa5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [02:43:19.017] No symbol table info available. [02:43:19.017] #2 0x00007fa95fa45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [02:43:19.017] No symbol table info available. [02:43:19.017] #3 0x000055b95e503cfc in ExceptionalCondition (conditionName=conditionName@entry=0x55b95e751a85 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55b95e775ed0 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [02:43:19.017] No locals. [02:43:19.017] #4 0x000055b95deb07f6 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffc5f18e340, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffc5f18e1df) at ../src/backend/executor/execTuples.c:1737 [02:43:19.017] No locals. [02:43:19.017] #5 0x000055b95de34787 in ExecIRDeleteTriggers (estate=estate@entry=0x55b95fb1cc50, relinfo=relinfo@entry=0x55b95fb1d200, slot=slot@entry=0x7ffc5f18e340) at ../src/backend/commands/trigger.c:2841 [02:43:19.017] trigger = 0x55b95fb1d460 [02:43:19.017] oldtuple = [02:43:19.017] trigdesc = 0x55b95fb1d410 [02:43:19.017] newtuple = 0x0 [02:43:19.017] should_free = false [02:43:19.017] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fa954087678, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [02:43:19.017] i = 0 [02:43:19.017] #6 0x000055b95df0d6f3 in ExecMergeMatched (context=0x7ffc5f18e360, resultRelInfo=resultRelInfo@entry=0x55b95fb1d200, tupleid=0x0, oldtuple=0x7ffc5f18e340, canSetTag=true, matched=matched@entry=0x7ffc5f18e2ef) at ../src/backend/executor/nodeModifyTable.c:3043 [02:43:19.017] relaction = 0x55b95fcbf860 [02:43:19.017] commandType = CMD_DELETE [02:43:19.017] result = TM_Ok [02:43:19.017] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [02:43:19.017] l__state = [02:43:19.017] mtstate = 0x55b95fb1cff0 [02:43:19.017] mergeActions = 0x55b95fb1d310 [02:43:19.017] actionStates = 0x55b95fcbfe20 [02:43:19.017] newslot = 0x0 [02:43:19.017] rslot = 0x0 [02:43:19.017] estate = 0x55b95fb1cc50 [02:43:19.017] econtext = 0x55b95fcbee70 [02:43:19.017] isNull = false [02:43:19.017] epqstate = 0x55b95fb1d0d8 [02:43:19.017] l = [02:43:19.017] __func__ = "ExecMergeMatched" [02:43:19.017] lmerge_matched = [02:43:19.017] #7 0x000055b95df0e2b1 in ExecMerge (context=context@entry=0x7ffc5f18e360, resultRelInfo=resultRelInfo@entry=0x55b95fb1d200, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffc5f18e340, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [02:43:19.017] rslot = 0x0 [02:43:19.017] matched = true [02:43:19.017] #8 0x000055b95df0fa76 in ExecModifyTable (pstate=0x55b95fb1cff0) at ../src/backend/executor/nodeModifyTable.c:4133 [02:43:19.017] node = 0x55b95fb1cff0 [02:43:19.017] context = {mtstate = 0x55b95fb1cff0, epqstate = 0x55b95fb1d0d8, estate = 0x55b95fb1cc50, planSlot = 0x55b95fcbd258, tmfd = {ctid = {ip_blkid = {bi_hi = 52048, bi_lo = 24497}, ip_posid = 21945}, xmax = 1582591006, cmax = 21945, traversed = 80}, cpUpdateReturningSlot = 0x55b95e546c1e } [02:43:19.017] estate = 0x55b95fb1cc50 [02:43:19.017] operation = CMD_MERGE [02:43:19.017] resultRelInfo = 0x55b95fb1d200 [02:43:19.017] subplanstate = 0x55b95fb1d930 [02:43:19.017] slot = [02:43:19.017] oldSlot = [02:43:19.017] tuple_ctid = {ip_blkid = {bi_hi = 24524, bi_lo = 21945}, ip_posid = 0} [02:43:19.017] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55b95fc37688} [02:43:19.017] oldtuple = 0x7ffc5f18e340 [02:43:19.017] tupleid = 0x0 [02:43:19.017] __func__ = "ExecModifyTable" [02:43:19.017] #9 0x000055b95dea2d42 in ExecProcNodeFirst (node=0x55b95fb1cff0) at ../src/backend/executor/execProcnode.c:469 [02:43:19.017] No locals. [02:43:19.017] #10 0x000055b95de8e240 in ExecProcNode (node=node@entry=0x55b95fb1cff0) at ../src/include/executor/executor.h:278 [02:43:19.017] No locals. [02:43:19.017] #11 0x000055b95de8e3f5 in ExecutePlan (estate=estate@entry=0x55b95fb1cc50, planstate=0x55b95fb1cff0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55b95fb02050, execute_once=true) at ../src/backend/executor/execMain.c:1641 [02:43:19.017] slot = [02:43:19.017] current_tuple_count = 0 [02:43:19.017] #12 0x000055b95de9016d in standard_ExecutorRun (queryDesc=0x55b95fc51e28, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [02:43:19.017] estate = 0x55b95fb1cc50 [02:43:19.017] operation = CMD_MERGE [02:43:19.017] dest = 0x55b95fb02050 [02:43:19.017] sendTuples = [02:43:19.017] oldcontext = 0x55b95fb01d40 [02:43:19.017] __func__ = "standard_ExecutorRun" [02:43:19.017] #13 0x000055b95de903a0 in ExecutorRun (queryDesc=queryDesc@entry=0x55b95fc51e28, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [02:43:19.017] No locals. [02:43:19.017] #14 0x000055b95e27724f in ProcessQuery (plan=plan@entry=0x55b95fcca300, sourceText=0x55b95fac8b50 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"..., params=0x0, queryEnv=0x0, dest=dest@entry=0x55b95fb02050, qc=qc@entry=0x7ffc5f18e590) at ../src/backend/tcop/pquery.c:160 [02:43:19.017] queryDesc = 0x55b95fc51e28 [02:43:19.017] #15 0x000055b95e278e84 in PortalRunMulti (portal=portal@entry=0x55b95fb4b0f0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55b95fb02050, altdest=0x55b95ea7ff00 , qc=qc@entry=0x7ffc5f18e590) at ../src/backend/tcop/pquery.c:1278 [02:43:19.017] pstmt = 0x55b95fcca300 [02:43:19.017] stmtlist_item__state = [02:43:19.017] active_snapshot_set = true [02:43:19.017] stmtlist_item = 0x55b95fcca428 [02:43:19.017] #16 0x000055b95e2793d6 in FillPortalStore (portal=portal@entry=0x55b95fb4b0f0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [02:43:19.017] treceiver = 0x55b95fb02050 [02:43:19.017] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [02:43:19.017] __func__ = "FillPortalStore" [02:43:19.017] #17 0x000055b95e2799a7 in PortalRun (portal=portal@entry=0x55b95fb4b0f0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55b95fcca460, altdest=altdest@entry=0x55b95fcca460, qc=0x7ffc5f18e770) at ../src/backend/tcop/pquery.c:763 [02:43:19.017] _save_exception_stack = 0x7ffc5f18e820 [02:43:19.017] _save_context_stack = 0x0 [02:43:19.017] _local_sigjmp_buf = {{__jmpbuf = {0, 5371849992947371312, 94254662988016, 94254663816832, 94254662988016, 94254663816760, 2163597763916336432, 5371851855403814192}, __mask_was_saved = 0, __saved_mask = {__val = {94254639901726, 94254662453840, 112, 4, 94254639906143, 1595467519, 4, 94254663816760, 112, 163, 94254662988016, 94254663816832, 94254663816808, 94254663816760, 94254639993346, 1}}}} [02:43:19.017] _do_rethrow = [02:43:19.017] result = [02:43:19.017] nprocessed = [02:43:19.017] saveTopTransactionResourceOwner = 0x55b95fb07da8 [02:43:19.017] saveTopTransactionContext = 0x55b95fb5cd00 [02:43:19.017] saveActivePortal = 0x0 [02:43:19.017] saveResourceOwner = 0x55b95fb07da8 [02:43:19.017] savePortalContext = 0x0 [02:43:19.017] saveMemoryContext = 0x55b95fb5cd00 [02:43:19.017] __func__ = "PortalRun" [02:43:19.017] #18 0x000055b95e272d54 in exec_simple_query (query_string=query_string@entry=0x55b95fac8b50 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"...) at ../src/backend/tcop/postgres.c:1284 [02:43:19.017] cmdtaglen = 5 [02:43:19.017] snapshot_set = [02:43:19.017] per_parsetree_context = 0x0 [02:43:19.017] plantree_list = 0x55b95fcca410 [02:43:19.017] parsetree = 0x55b95fc15638 [02:43:19.017] commandTag = [02:43:19.017] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [02:43:19.017] querytree_list = [02:43:19.017] portal = 0x55b95fb4b0f0 [02:43:19.017] receiver = 0x55b95fcca460 [02:43:19.017] format = 0 [02:43:19.017] cmdtagname = [02:43:19.017] parsetree_item__state = [02:43:19.017] dest = DestRemote [02:43:19.017] oldcontext = 0x55b95fb5cd00 [02:43:19.017] parsetree_list = 0x55b95fc15668 [02:43:19.017] parsetree_item = 0x55b95fc15680 [02:43:19.017] save_log_statement_stats = false [02:43:19.017] was_logged = false [02:43:19.017] use_implicit_block = false [02:43:19.017] msec_str = "\320\351\030_\374\177\000\000$\232R^\271U\000\000\000\350\030_\374\177\000\000\026\001\000\000\000\000\000" [02:43:19.017] __func__ = "exec_simple_query" [02:43:19.017] #19 0x000055b95e27582d in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [02:43:19.017] query_string = 0x55b95fac8b50 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"... [02:43:19.017] firstchar = [02:43:19.017] input_message = {data = 0x55b95fac8b50 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"..., len = 278, maxlen = 1024, cursor = 278} [02:43:19.017] local_sigjmp_buf = {{__jmpbuf = {94254652438680, 5371849485226872112, 4, 140721903954384, 140721903954528, 140721903954532, 2163597763987639600, 5371851853078072624}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94254662184560, 15616, 94254652432768, 94254662708576, 140721903954528, 94254639905691, 0, 9, 2, 94254652438688, 94254662184560, 94254652432768, 140721903954384, 140721903954528, 140721903954532}}}} [02:43:19.017] send_ready_for_query = false [02:43:19.017] idle_in_transaction_timeout_enabled = false [02:43:19.017] idle_session_timeout_enabled = false [02:43:19.017] __func__ = "PostgresMain" [02:43:19.017] #20 0x000055b95e26b94f in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [02:43:19.017] bsdata = [02:43:19.017] #21 0x000055b95e1241e0 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffc5f18e97c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffc5f18e9d0) at ../src/backend/postmaster/launch_backend.c:274 [02:43:19.017] pid = [02:43:19.017] #22 0x000055b95e129c8c in BackendStartup (client_sock=client_sock@entry=0x7ffc5f18e9d0) at ../src/backend/postmaster/postmaster.c:3415 [02:43:19.017] bn = 0x55b95faf1438 [02:43:19.017] pid = [02:43:19.017] startup_data = {canAcceptConnections = CAC_OK} [02:43:19.017] __func__ = "BackendStartup" [02:43:19.017] #23 0x000055b95e12a1ee in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [02:43:19.017] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "\243_\251\177\000\000\240\237\372`\251\177\000\000x\352\030_\374\177\000\000t\352\030_\374\177", '\000' , "\266M/]\271U\000\000H7+]\271U\000\000@\353\030_\374\177\000\0008\353\030_\374\177\000\000\225[\362\001\000\000\000\000\240\024\211`\251\177\000\000+", '\000' , "\271U\000\000\313L/]\271U\000", __ss_align = 140365457466984}, salen = 2}} [02:43:19.017] i = 0 [02:43:19.017] now = [02:43:19.017] last_lockfile_recheck_time = 1726540771 [02:43:19.017] last_touch_time = 1726540771 [02:43:19.017] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = 0, events = 0, fd = 15, user_data = 0x55b95d2f4db6}, {pos = 1631266408, events = 32681, fd = 1619596848, user_data = 0x7fa9613b22e0}, {pos = 2090263927, events = 0, fd = 1595468736, user_data = 0x7fa961388a48}, {pos = 15, events = 0, fd = 1619596848, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7fa9613b22e0}, {pos = 1595468600, events = 32764, fd = 1595468608, user_data = 0x7fa9613b2668}, {pos = 0, events = 0, fd = 32768, user_data = 0x8}, {pos = 1605151056, events = 21945, fd = 1, user_data = 0x7ffc5f18f063}, {pos = -1, events = 0, fd = 1604509728, user_data = 0x7fa960fa9fa0}, {pos = 1605326824, events = 21945, fd = 1605326536, user_data = 0x55b95faf78e1}, {pos = 1631121086, events = 32681, fd = 1, user_data = 0x7fa9613b22e0}, {pos = 438, events = 0, fd = 1588198832, user_data = 0x0}, {pos = 1, events = 0, fd = 1605143568, user_data = 0x7fa96138eebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7fa95fa2e020}, {pos = 1605316032, events = 32681, fd = 16, user_data = 0x7ffc5f18efa0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1631130042, events = 32681, fd = 0, user_data = 0x7fa95faaed24 }, {pos = 0, events = 0, fd = 1595068992, user_data = 0x2}, {pos = 7, events = 0, fd = 1604890384, user_data = 0x55b95e20a78a }, {pos = 1702060386, events = 1936158767, fd = 1952410737, user_data = 0x8}, {pos = 8096, events = 196607, fd = 1605143568, user_data = 0x7fa96138eebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7fa95fa364c8}, {pos = 1605070829, events = 32681, fd = 1595119520, user_data = 0x55b95faf44b0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = 1606360160, events = 32681, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xffff000000000000}, {pos = -1, events = 4294967295, fd = -1, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = 762540901, user_data = 0x312020200a0a6d71}, {pos = 822763892, events = 892744247, fd = 926363700, user_data = 0x726765722f6e7572}, {pos = 796095333, events = 1919378802, fd = 1836330762, user_data = 0x2d69632d73757272}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1605329104, user_data = 0x7fa95fab56eb}, {pos = 1606343136, events = 32681, fd = 1604981102, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0x3b58c9a70616100}, {pos = 1606346208, events = 32681, fd = -328, user_data = 0x0}, {pos = 1605326216, events = 21945, fd = 2, user_data = 0x8000000000000006}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1605326016, events = 21945, fd = 3, user_data = 0x0}, {pos = 17468, events = 0, fd = -328, user_data = 0x0}, {pos = 1605143568, events = 21945, fd = 1605316563, user_data = 0x7ffc5f18f058}, {pos = 1582674322, events = 21945, fd = 1595127888, user_data = 0x55b95e549c4f }, {pos = 1605326016, events = 21945, fd = 1605143120, user_data = 0x55b95faf54c0}, {pos = 1605064766, events = 32681, fd = 0, user_data = 0x55b95e55b8b9 }, {pos = 1605326016, events = 1, fd = 1582676482, user_data = 0x55b95fac8a50}, {pos = 1885430016, events = 62229658, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 1604987569, user_data = 0x7fa95faa14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1885430016, user_data = 0x55b95faa0180}, {pos = 1885430016, events = 62229658, fd = 11, user_data = 0x3b58c9a70616100}, {pos = 0, events = 0, fd = 1604694585, user_data = 0x1}, {pos = 1578254045, events = 21945, fd = 4194304, user_data = 0x55b95e549ae3 }, {pos = 1604977024, events = 21945, fd = 1605143120, user_data = 0x55b95faa0180}, {pos = 1, events = 0, fd = 0, user_data = 0x55b95e55b8b9 }, {pos = 1604977024, events = 21945, fd = 1582676482, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x55b95df5afb6 }, {pos = 0, events = 0, fd = 1576403702, user_data = 0xb}, {pos = 1578275194, events = 21945, fd = 1591537264, user_data = 0x55b95fac9428}} [02:43:19.017] nevents = 1 [02:43:19.017] __func__ = "ServerLoop" [02:43:19.017] #24 0x000055b95e12b964 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x55b95fa86dd0) at ../src/backend/postmaster/postmaster.c:1346 [02:43:19.017] opt = [02:43:19.017] status = [02:43:19.017] userDoption = [02:43:19.017] listen_addr_saved = false [02:43:19.017] output_config_variable = [02:43:19.017] __func__ = "PostmasterMain" [02:43:19.017] #25 0x000055b95df6b392 in main (argc=8, argv=0x55b95fa86dd0) at ../src/backend/main/main.c:197 [02:43:19.017] do_check_root = [02:43:19.054] -e [02:43:19.054] [02:43:19.054] [02:43:19.122] dumping /tmp/cores/postgres-6-26852.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [02:43:19.369] [New LWP 26852] [02:43:19.369] [02:43:19.369] This GDB supports auto-downloading debuginfo from the following URLs: [02:43:19.369] [02:43:19.369] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [02:43:19.369] Debuginfod has been disabled. [02:43:19.369] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [02:43:19.485] [Thread debugging using libthread_db enabled] [02:43:19.485] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [02:43:19.485] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [02:43:19.485] Program terminated with signal SIGABRT, Aborted. [02:43:19.485] #0 0x00007f67f5aa9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [02:43:20.441] [02:43:20.441] Thread 1 (Thread 0x7f67f3a1bf00 (LWP 26852)): [02:43:20.441] #0 0x00007f67f5aa9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [02:43:20.441] No symbol table info available. [02:43:20.441] #1 0x00007f67f5a5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [02:43:20.441] No symbol table info available. [02:43:20.441] #2 0x00007f67f5a45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [02:43:20.441] No symbol table info available. [02:43:20.441] #3 0x00005619f242acfc in ExceptionalCondition (conditionName=conditionName@entry=0x5619f2678a85 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x5619f269ced0 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [02:43:20.441] No locals. [02:43:20.441] #4 0x00005619f1dd77f6 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7fff9c8aecc0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7fff9c8aeb5f) at ../src/backend/executor/execTuples.c:1737 [02:43:20.441] No locals. [02:43:20.441] #5 0x00005619f1d5b787 in ExecIRDeleteTriggers (estate=estate@entry=0x5619f3a46de0, relinfo=relinfo@entry=0x5619f3a47390, slot=slot@entry=0x7fff9c8aecc0) at ../src/backend/commands/trigger.c:2841 [02:43:20.441] trigger = 0x5619f3a475f0 [02:43:20.441] oldtuple = [02:43:20.441] trigdesc = 0x5619f3a475a0 [02:43:20.441] newtuple = 0x0 [02:43:20.441] should_free = false [02:43:20.441] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f67f149d4c8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [02:43:20.441] i = 0 [02:43:20.441] #6 0x00005619f1e346f3 in ExecMergeMatched (context=0x7fff9c8aece0, resultRelInfo=resultRelInfo@entry=0x5619f3a47390, tupleid=0x0, oldtuple=0x7fff9c8aecc0, canSetTag=true, matched=matched@entry=0x7fff9c8aec6f) at ../src/backend/executor/nodeModifyTable.c:3043 [02:43:20.441] relaction = 0x5619f3acc860 [02:43:20.441] commandType = CMD_DELETE [02:43:20.441] result = TM_Ok [02:43:20.441] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [02:43:20.441] l__state = [02:43:20.441] mtstate = 0x5619f3a47180 [02:43:20.441] mergeActions = 0x5619f3a474a0 [02:43:20.441] actionStates = 0x5619f3acce20 [02:43:20.441] newslot = 0x0 [02:43:20.441] rslot = 0x0 [02:43:20.441] estate = 0x5619f3a46de0 [02:43:20.441] econtext = 0x5619f3acbe70 [02:43:20.441] isNull = false [02:43:20.441] epqstate = 0x5619f3a47268 [02:43:20.441] l = [02:43:20.441] __func__ = "ExecMergeMatched" [02:43:20.441] lmerge_matched = [02:43:20.441] #7 0x00005619f1e352b1 in ExecMerge (context=context@entry=0x7fff9c8aece0, resultRelInfo=resultRelInfo@entry=0x5619f3a47390, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7fff9c8aecc0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [02:43:20.441] rslot = 0x0 [02:43:20.441] matched = true [02:43:20.441] #8 0x00005619f1e36a76 in ExecModifyTable (pstate=0x5619f3a47180) at ../src/backend/executor/nodeModifyTable.c:4133 [02:43:20.441] node = 0x5619f3a47180 [02:43:20.441] context = {mtstate = 0x5619f3a47180, epqstate = 0x5619f3a47268, estate = 0x5619f3a46de0, planSlot = 0x5619f3aca258, tmfd = {ctid = {ip_blkid = {bi_hi = 50896, bi_lo = 62380}, ip_posid = 22041}, xmax = 4088229960, cmax = 22041, traversed = 5}, cpUpdateReturningSlot = 0x5619f3ad7048} [02:43:20.441] estate = 0x5619f3a46de0 [02:43:20.441] operation = CMD_MERGE [02:43:20.441] resultRelInfo = 0x5619f3a47390 [02:43:20.441] subplanstate = 0x5619f3a47ac0 [02:43:20.441] slot = [02:43:20.441] oldSlot = [02:43:20.441] tuple_ctid = {ip_blkid = {bi_hi = 62380, bi_lo = 22041}, ip_posid = 0} [02:43:20.441] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x5619f3a824c8} [02:43:20.441] oldtuple = 0x7fff9c8aecc0 [02:43:20.441] tupleid = 0x0 [02:43:20.441] __func__ = "ExecModifyTable" [02:43:20.441] #9 0x00005619f1dc9d42 in ExecProcNodeFirst (node=0x5619f3a47180) at ../src/backend/executor/execProcnode.c:469 [02:43:20.441] No locals. [02:43:20.441] #10 0x00005619f1db5240 in ExecProcNode (node=node@entry=0x5619f3a47180) at ../src/include/executor/executor.h:278 [02:43:20.441] No locals. [02:43:20.441] #11 0x00005619f1db53f5 in ExecutePlan (estate=estate@entry=0x5619f3a46de0, planstate=0x5619f3a47180, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x5619f3aa5530, execute_once=true) at ../src/backend/executor/execMain.c:1641 [02:43:20.441] slot = [02:43:20.441] current_tuple_count = 0 [02:43:20.441] #12 0x00005619f1db716d in standard_ExecutorRun (queryDesc=queryDesc@entry=0x5619f3a9a838, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [02:43:20.441] estate = 0x5619f3a46de0 [02:43:20.441] operation = CMD_MERGE [02:43:20.441] dest = 0x5619f3aa5530 [02:43:20.441] sendTuples = [02:43:20.441] oldcontext = 0x5619f3aa5220 [02:43:20.441] __func__ = "standard_ExecutorRun" [02:43:20.441] #13 0x00007f67f3138813 in pgss_ExecutorRun (queryDesc=0x5619f3a9a838, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1024 [02:43:20.441] _save_exception_stack = 0x7fff9c8af0c0 [02:43:20.441] _save_context_stack = 0x0 [02:43:20.441] _local_sigjmp_buf = {{__jmpbuf = {94669462153272, -6331838850343745921, 94669460699888, 94669462197552, 0, 0, -6331838851071457665, -6264483793924241793}, __mask_was_saved = 0, __saved_mask = {__val = {2147483647, 94669462197552, 0, 0, 94669438992898, 0, 1, 0, 94669432040569, 94669462153272, 94669451438240, 94669462196768, 140084436506572, 94669462153272, 0, 94669460699888}}}} [02:43:20.441] _do_rethrow = false [02:43:20.441] #14 0x00005619f1db7393 in ExecutorRun (queryDesc=queryDesc@entry=0x5619f3a9a838, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:297 [02:43:20.441] No locals. [02:43:20.441] #15 0x00005619f219e24f in ProcessQuery (plan=plan@entry=0x5619f3ada240, sourceText=0x5619f3937af0 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"..., params=0x0, queryEnv=0x0, dest=dest@entry=0x5619f3aa5530, qc=qc@entry=0x7fff9c8af020) at ../src/backend/tcop/pquery.c:160 [02:43:20.441] queryDesc = 0x5619f3a9a838 [02:43:20.441] #16 0x00005619f219fe84 in PortalRunMulti (portal=portal@entry=0x5619f39b9030, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x5619f3aa5530, altdest=0x5619f29a6f00 , qc=qc@entry=0x7fff9c8af020) at ../src/backend/tcop/pquery.c:1278 [02:43:20.441] pstmt = 0x5619f3ada240 [02:43:20.441] stmtlist_item__state = [02:43:20.441] active_snapshot_set = true [02:43:20.441] stmtlist_item = 0x5619f3ada368 [02:43:20.441] #17 0x00005619f21a03d6 in FillPortalStore (portal=portal@entry=0x5619f39b9030, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [02:43:20.441] treceiver = 0x5619f3aa5530 [02:43:20.441] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [02:43:20.441] __func__ = "FillPortalStore" [02:43:20.441] #18 0x00005619f21a09a7 in PortalRun (portal=portal@entry=0x5619f39b9030, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x5619f3ada3a0, altdest=altdest@entry=0x5619f3ada3a0, qc=0x7fff9c8af200) at ../src/backend/tcop/pquery.c:763 [02:43:20.441] _save_exception_stack = 0x7fff9c8af2b0 [02:43:20.441] _save_context_stack = 0x0 [02:43:20.441] _local_sigjmp_buf = {{__jmpbuf = {0, -293837531903015297, 94669461229616, 94669462796752, 94669461229616, 94669462796680, -6331838850333260161, -293834324427389313}, __mask_was_saved = 0, __saved_mask = {__val = {94669438901278, 94669460699632, 112, 4, 94669438905695, 2626351503, 4, 94669462796680, 112, 163, 94669461229616, 94669462796752, 94669462796728, 94669462796680, 94669438992898, 1}}}} [02:43:20.441] _do_rethrow = [02:43:20.441] result = [02:43:20.441] nprocessed = [02:43:20.441] saveTopTransactionResourceOwner = 0x5619f3978508 [02:43:20.441] saveTopTransactionContext = 0x5619f39cb460 [02:43:20.441] saveActivePortal = 0x0 [02:43:20.441] saveResourceOwner = 0x5619f3978508 [02:43:20.441] savePortalContext = 0x0 [02:43:20.441] saveMemoryContext = 0x5619f39cb460 [02:43:20.441] __func__ = "PortalRun" [02:43:20.441] #19 0x00005619f2199d54 in exec_simple_query (query_string=query_string@entry=0x5619f3937af0 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"...) at ../src/backend/tcop/postgres.c:1284 [02:43:20.441] cmdtaglen = 5 [02:43:20.441] snapshot_set = [02:43:20.441] per_parsetree_context = 0x0 [02:43:20.441] plantree_list = 0x5619f3ada350 [02:43:20.441] parsetree = 0x5619f3b37988 [02:43:20.441] commandTag = [02:43:20.441] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [02:43:20.441] querytree_list = [02:43:20.441] portal = 0x5619f39b9030 [02:43:20.441] receiver = 0x5619f3ada3a0 [02:43:20.441] format = 0 [02:43:20.441] cmdtagname = [02:43:20.441] parsetree_item__state = [02:43:20.441] dest = DestRemote [02:43:20.441] oldcontext = 0x5619f39cb460 [02:43:20.441] parsetree_list = 0x5619f3b379b8 [02:43:20.441] parsetree_item = 0x5619f3b379d0 [02:43:20.441] save_log_statement_stats = false [02:43:20.441] was_logged = true [02:43:20.441] use_implicit_block = false [02:43:20.441] msec_str = "`\364\212\234\377\177\000\000$\nE\362\031V\000\000\220\362\212\234\377\177\000\000\026\001\000\000\000\000\000" [02:43:20.441] __func__ = "exec_simple_query" [02:43:20.441] #20 0x00005619f219c82d in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [02:43:20.441] query_string = 0x5619f3937af0 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"... [02:43:20.441] firstchar = [02:43:20.441] input_message = {data = 0x5619f3937af0 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"..., len = 278, maxlen = 1024, cursor = 278} [02:43:20.441] local_sigjmp_buf = {{__jmpbuf = {94669451438232, -293836763271641473, 4, 140735819740256, 140735819740400, 140735819740404, -6331838850404563329, -293834335288539521}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 6016, 10, 94669460949472, 0, 168, 94669438905797, 0, 10, 2, 94669451438240, 94669460430480, 94669451432320, 140735819740256, 140735819740400, 140735819740404}}}} [02:43:20.441] send_ready_for_query = false [02:43:20.441] idle_in_transaction_timeout_enabled = false [02:43:20.441] idle_session_timeout_enabled = false [02:43:20.441] __func__ = "PostgresMain" [02:43:20.441] #21 0x00005619f219294f in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [02:43:20.441] bsdata = [02:43:20.441] #22 0x00005619f204b1e0 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7fff9c8af40c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7fff9c8af460) at ../src/backend/postmaster/launch_backend.c:274 [02:43:20.441] pid = [02:43:20.441] #23 0x00005619f2050c8c in BackendStartup (client_sock=client_sock@entry=0x7fff9c8af460) at ../src/backend/postmaster/postmaster.c:3415 [02:43:20.441] bn = 0x5619f3964608 [02:43:20.441] pid = [02:43:20.441] startup_data = {canAcceptConnections = CAC_OK} [02:43:20.441] __func__ = "BackendStartup" [02:43:20.441] #24 0x00005619f20511ee in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [02:43:20.441] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\212\234\377\177\000\000\364\364\212\234\377\177", '\000' , "\266\275!\361\031V\000\000H\247\035\361\031V\000\000\300\365\212\234\377\177\000\000\270\365\212\234\377\177\000\000\225[\362\001\000\000\000\000\020\033\226\363\031V\000\000,", '\000' , "˼!\361\031V\000\000h\2664\367g\177\000\0000v#\366g\177\000", __ss_align = 140084505785056}, salen = 2}} [02:43:20.441] i = 0 [02:43:20.441] now = [02:43:20.441] last_lockfile_recheck_time = 1726540802 [02:43:20.441] last_touch_time = 1726540802 [02:43:20.441] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = -249446986, events = 22041, fd = -147540376, user_data = 0x7f67f6237630}, {pos = -147541280, events = 32615, fd = 2090263927, user_data = 0x7fff9c8af640}, {pos = -147711416, events = 32615, fd = 15, user_data = 0x7f67f6237630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = -147541280, events = 32615, fd = -1668614728, user_data = 0x7fff9c8af5c0}, {pos = -147540376, events = 32615, fd = 0, user_data = 0x5619f3939930}, {pos = -229915541, events = 22041, fd = 32768, user_data = 0x1}, {pos = -208435696, events = 22041, fd = -1, user_data = 0x7f67f5a2e020}, {pos = -151769184, events = 32615, fd = -208260184, user_data = 0x5619f3963288}, {pos = -208242383, events = 22041, fd = -147685698, user_data = 0x1}, {pos = -147541280, events = 32615, fd = 438, user_data = 0x5619f29c6db0 }, {pos = 0, events = 0, fd = 1, user_data = 0x5619f3939930}, {pos = -147685698, events = 32615, fd = 1, user_data = 0x0}, {pos = -173875168, events = 32615, fd = -173068864, user_data = 0x10}, {pos = -1668613584, events = 32767, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -147676742, user_data = 0x0}, {pos = -173347548, events = 32615, fd = 0, user_data = 0x5619f3054240 }, {pos = 2, events = 0, fd = 7, user_data = 0x5619f38f9f30}, {pos = -233645231, events = 22041, fd = -208221701, user_data = 0x5619f213178a }, {pos = 1702060386, events = 1936158767, fd = 8096, user_data = 0x5619f3939930}, {pos = -147685698, events = 32615, fd = 1, user_data = 0x0}, {pos = -173841208, events = 32615, fd = -173422464, user_data = 0x41e}, {pos = -173314067, events = 32615, fd = 2, user_data = 0x5619f396c9a0}, {pos = 255, events = 0, fd = 0, user_data = 0x0}, {pos = -172024736, events = 32615, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -65536, user_data = 0xffffffffffffffff}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1, user_data = 0xffffffffffffffff}, {pos = 811562031, events = 1935619890, fd = 1634038388, user_data = 0x797265766f636572}, {pos = 926036015, events = 1920234335, fd = -165444288, user_data = 0x7f67f6238a80}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xa}, {pos = -230237154, events = 22041, fd = -208246480, user_data = 0x7f67f5ab583e}, {pos = -172041760, events = 32615, fd = -173403794, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xfe9b9ab34e57cf00}, {pos = -172038688, events = 32615, fd = -328, user_data = 0x2}, {pos = 6, events = 2147483648, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -208260792, user_data = 0x5619f246e4e1 }, {pos = -208260992, events = 22041, fd = 3, user_data = 0x0}, {pos = 24675, events = 0, fd = -328, user_data = 0x0}, {pos = -208430800, events = 22041, fd = -173068333, user_data = 0x7fff9c8afae8}, {pos = -230153838, events = 22041, fd = -217700272, user_data = 0x5619f2470c4f }, {pos = -208260992, events = 22041, fd = -208438800, user_data = 0x5619f3963080}, {pos = -173320130, events = 32615, fd = 0, user_data = 0x5619f24828b9 }, {pos = -208260992, events = 1, fd = -230151678, user_data = 0x5619f39379f0}, {pos = 1314377472, events = 4271610547, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -173397327, user_data = 0x7f67f5aa14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1314377472, user_data = 0x5619f390f120}, {pos = 1314377472, events = 4271610547, fd = 11, user_data = 0xfe9b9ab34e57cf00}, {pos = 0, events = 0, fd = -173690311, user_data = 0x1}, {pos = -234574115, events = 22041, fd = 4194304, user_data = 0x5619f2470ae3 }, {pos = -208604896, events = 22041, fd = -208438800, user_data = 0x5619f390f120}, {pos = 1, events = 0, fd = 0, user_data = 0x5619f24828b9 }, {pos = -208604896, events = 22041, fd = -230151678, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x5619f1e81fb6 }, {pos = 0, events = 0, fd = -236424458, user_data = 0xb}, {pos = -234552966, events = 22041, fd = -221290896, user_data = 0x5619f39383a8}} [02:43:20.442] nevents = 1 [02:43:20.442] __func__ = "ServerLoop" [02:43:20.442] #25 0x00005619f2052964 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x5619f38f5d90) at ../src/backend/postmaster/postmaster.c:1346 [02:43:20.442] opt = [02:43:20.442] status = [02:43:20.442] userDoption = [02:43:20.442] listen_addr_saved = false [02:43:20.442] output_config_variable = [02:43:20.442] __func__ = "PostmasterMain" [02:43:20.442] #26 0x00005619f1e92392 in main (argc=4, argv=0x5619f38f5d90) at ../src/backend/main/main.c:197 [02:43:20.442] do_check_root =