[15:27:44.322] src/tools/ci/cores_backtrace.sh linux /tmp/cores [15:27:44.529] dumping /tmp/cores/postgres-6-19174.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [15:27:44.770] [New LWP 19174] [15:27:44.770] [15:27:44.770] This GDB supports auto-downloading debuginfo from the following URLs: [15:27:44.770] [15:27:44.770] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [15:27:44.770] Debuginfod has been disabled. [15:27:44.770] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [15:27:44.889] [Thread debugging using libthread_db enabled] [15:27:44.889] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [15:27:44.889] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [15:27:44.889] Program terminated with signal SIGABRT, Aborted. [15:27:44.889] #0 0x00007f3dbf8a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [15:27:45.740] [15:27:45.740] Thread 1 (Thread 0x7f3dc0032f00 (LWP 19174)): [15:27:45.740] #0 0x00007f3dbf8a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [15:27:45.740] No symbol table info available. [15:27:45.740] #1 0x00007f3dbf85afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [15:27:45.740] No symbol table info available. [15:27:45.740] #2 0x00007f3dbf845472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [15:27:45.740] No symbol table info available. [15:27:45.740] #3 0x0000560edd8f5b6c in ExceptionalCondition (conditionName=conditionName@entry=0x560eddb43e45 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x560eddb68318 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [15:27:45.740] No locals. [15:27:45.740] #4 0x0000560edd2a1597 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7fff0d891900, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7fff0d89179f) at ../src/backend/executor/execTuples.c:1737 [15:27:45.740] No locals. [15:27:45.740] #5 0x0000560edd225691 in ExecIRDeleteTriggers (estate=estate@entry=0x560ede806ce0, relinfo=relinfo@entry=0x560ede807290, slot=slot@entry=0x7fff0d891900) at ../src/backend/commands/trigger.c:2841 [15:27:45.740] trigger = 0x560ede8074f0 [15:27:45.740] oldtuple = [15:27:45.740] trigdesc = 0x560ede8074a0 [15:27:45.740] newtuple = 0x0 [15:27:45.740] should_free = false [15:27:45.740] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f3db4144598, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [15:27:45.740] i = 0 [15:27:45.740] #6 0x0000560edd2fe494 in ExecMergeMatched (context=0x7fff0d891920, resultRelInfo=resultRelInfo@entry=0x560ede807290, tupleid=0x0, oldtuple=0x7fff0d891900, canSetTag=true, matched=matched@entry=0x7fff0d8918af) at ../src/backend/executor/nodeModifyTable.c:3043 [15:27:45.740] relaction = 0x560ede921730 [15:27:45.740] commandType = CMD_DELETE [15:27:45.740] result = TM_Ok [15:27:45.740] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [15:27:45.740] l__state = [15:27:45.740] mtstate = 0x560ede807080 [15:27:45.740] mergeActions = 0x560ede8073a0 [15:27:45.740] actionStates = 0x560ede921cf0 [15:27:45.740] newslot = 0x0 [15:27:45.740] rslot = 0x0 [15:27:45.740] estate = 0x560ede806ce0 [15:27:45.740] econtext = 0x560ede920d40 [15:27:45.740] isNull = false [15:27:45.740] epqstate = 0x560ede807168 [15:27:45.740] l = [15:27:45.740] __func__ = "ExecMergeMatched" [15:27:45.740] lmerge_matched = [15:27:45.740] #7 0x0000560edd2ff052 in ExecMerge (context=context@entry=0x7fff0d891920, resultRelInfo=resultRelInfo@entry=0x560ede807290, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7fff0d891900, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [15:27:45.740] rslot = 0x0 [15:27:45.740] matched = true [15:27:45.740] #8 0x0000560edd300817 in ExecModifyTable (pstate=0x560ede807080) at ../src/backend/executor/nodeModifyTable.c:4133 [15:27:45.740] node = 0x560ede807080 [15:27:45.740] context = {mtstate = 0x560ede807080, epqstate = 0x560ede807168, estate = 0x560ede806ce0, planSlot = 0x560ede91f128, tmfd = {ctid = {ip_blkid = {bi_hi = 27616, bi_lo = 56960}, ip_posid = 22030}, xmax = 3717433992, cmax = 22030, traversed = 224}, cpUpdateReturningSlot = 0x560edd938a88 } [15:27:45.740] estate = 0x560ede806ce0 [15:27:45.740] operation = CMD_MERGE [15:27:45.740] resultRelInfo = 0x560ede807290 [15:27:45.740] subplanstate = 0x560ede8079c0 [15:27:45.740] slot = [15:27:45.740] oldSlot = [15:27:45.740] tuple_ctid = {ip_blkid = {bi_hi = 56972, bi_lo = 22030}, ip_posid = 0} [15:27:45.740] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x560ede869928} [15:27:45.740] oldtuple = 0x7fff0d891900 [15:27:45.740] tupleid = 0x0 [15:27:45.740] __func__ = "ExecModifyTable" [15:27:45.740] #9 0x0000560edd293ae3 in ExecProcNodeFirst (node=0x560ede807080) at ../src/backend/executor/execProcnode.c:469 [15:27:45.740] No locals. [15:27:45.740] #10 0x0000560edd27efe1 in ExecProcNode (node=node@entry=0x560ede807080) at ../src/include/executor/executor.h:278 [15:27:45.740] No locals. [15:27:45.740] #11 0x0000560edd27f196 in ExecutePlan (estate=estate@entry=0x560ede806ce0, planstate=0x560ede807080, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x560ede88ba90, execute_once=true) at ../src/backend/executor/execMain.c:1641 [15:27:45.740] slot = [15:27:45.740] current_tuple_count = 0 [15:27:45.740] #12 0x0000560edd280f0e in standard_ExecutorRun (queryDesc=0x560ede894408, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [15:27:45.740] estate = 0x560ede806ce0 [15:27:45.740] operation = CMD_MERGE [15:27:45.740] dest = 0x560ede88ba90 [15:27:45.740] sendTuples = [15:27:45.740] oldcontext = 0x560ede88b780 [15:27:45.740] __func__ = "standard_ExecutorRun" [15:27:45.740] #13 0x0000560edd281141 in ExecutorRun (queryDesc=queryDesc@entry=0x560ede894408, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [15:27:45.740] No locals. [15:27:45.740] #14 0x0000560edd66a412 in ProcessQuery (plan=plan@entry=0x560ede8c6a88, sourceText=0x560ede704ad0 "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=0x560ede88ba90, qc=qc@entry=0x7fff0d891b50) at ../src/backend/tcop/pquery.c:160 [15:27:45.740] queryDesc = 0x560ede894408 [15:27:45.740] #15 0x0000560edd66c047 in PortalRunMulti (portal=portal@entry=0x560ede787720, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x560ede88ba90, altdest=0x560edde421e0 , qc=qc@entry=0x7fff0d891b50) at ../src/backend/tcop/pquery.c:1278 [15:27:45.740] pstmt = 0x560ede8c6a88 [15:27:45.740] stmtlist_item__state = [15:27:45.740] active_snapshot_set = true [15:27:45.740] stmtlist_item = 0x560ede8c6bb0 [15:27:45.740] #16 0x0000560edd66c599 in FillPortalStore (portal=portal@entry=0x560ede787720, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [15:27:45.740] treceiver = 0x560ede88ba90 [15:27:45.740] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [15:27:45.740] __func__ = "FillPortalStore" [15:27:45.740] #17 0x0000560edd66cb6a in PortalRun (portal=portal@entry=0x560ede787720, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x560ede8c6be8, altdest=altdest@entry=0x560ede8c6be8, qc=0x7fff0d891d30) at ../src/backend/tcop/pquery.c:763 [15:27:45.740] _save_exception_stack = 0x7fff0d891de0 [15:27:45.740] _save_context_stack = 0x0 [15:27:45.740] _local_sigjmp_buf = {{__jmpbuf = {0, -6522444493101768095, 94621861967648, 94621862719152, 94621861967648, 94621862719080, -677728794300685727, -6522451826079210911}, __mask_was_saved = 0, __saved_mask = {__val = {94621846964872, 94621861431760, 112, 4, 94621846969289, 227089599, 4, 94621862719080, 112, 163, 94621861967648, 94621862719152, 94621862719128, 94621862719080, 94621847056492, 1}}}} [15:27:45.740] _do_rethrow = [15:27:45.740] result = [15:27:45.740] nprocessed = [15:27:45.740] saveTopTransactionResourceOwner = 0x560ede7448d8 [15:27:45.740] saveTopTransactionContext = 0x560ede798700 [15:27:45.740] saveActivePortal = 0x0 [15:27:45.740] saveResourceOwner = 0x560ede7448d8 [15:27:45.740] savePortalContext = 0x0 [15:27:45.740] saveMemoryContext = 0x560ede798700 [15:27:45.740] __func__ = "PortalRun" [15:27:45.740] #18 0x0000560edd665f17 in exec_simple_query (query_string=query_string@entry=0x560ede704ad0 "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 [15:27:45.740] cmdtaglen = 5 [15:27:45.740] snapshot_set = [15:27:45.740] per_parsetree_context = 0x0 [15:27:45.740] plantree_list = 0x560ede8c6b98 [15:27:45.740] parsetree = 0x560ede83ee68 [15:27:45.740] commandTag = [15:27:45.740] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [15:27:45.740] querytree_list = [15:27:45.740] portal = 0x560ede787720 [15:27:45.740] receiver = 0x560ede8c6be8 [15:27:45.740] format = 0 [15:27:45.740] cmdtagname = [15:27:45.740] parsetree_item__state = [15:27:45.740] dest = DestRemote [15:27:45.740] oldcontext = 0x560ede798700 [15:27:45.740] parsetree_list = 0x560ede83ee98 [15:27:45.740] parsetree_item = 0x560ede83eeb0 [15:27:45.740] save_log_statement_stats = false [15:27:45.740] was_logged = true [15:27:45.740] use_implicit_block = false [15:27:45.740] msec_str = "\220\037\211\r\377\177\000\000s\270\221\335\016V\000\000\300\035\211\r\377\177\000\000\026\001\000\000\000\000\000" [15:27:45.740] __func__ = "exec_simple_query" [15:27:45.740] #19 0x0000560edd6689f0 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [15:27:45.740] query_string = 0x560ede704ad0 "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"... [15:27:45.740] firstchar = [15:27:45.740] input_message = {data = 0x560ede704ad0 "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} [15:27:45.740] local_sigjmp_buf = {{__jmpbuf = {94621859314968, -6522445030586097055, 4, 140733420478352, 140733420478496, 140733420478500, -677728794363600287, -6522451823745080735}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94621861162576, 14336, 94621859309056, 94621861689488, 140733420478496, 94621846968837, 0, 9, 2, 94621859314976, 94621861162576, 94621859309056, 140733420478352, 140733420478496, 140733420478500}}}} [15:27:45.740] send_ready_for_query = false [15:27:45.740] idle_in_transaction_timeout_enabled = false [15:27:45.740] idle_session_timeout_enabled = false [15:27:45.740] __func__ = "PostgresMain" [15:27:45.740] #20 0x0000560edd65eb12 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [15:27:45.740] bsdata = [15:27:45.740] #21 0x0000560edd517310 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7fff0d891f3c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7fff0d891f90) at ../src/backend/postmaster/launch_backend.c:274 [15:27:45.740] pid = [15:27:45.740] #22 0x0000560edd51cdbc in BackendStartup (client_sock=client_sock@entry=0x7fff0d891f90) at ../src/backend/postmaster/postmaster.c:3414 [15:27:45.740] bn = 0x560ede739e38 [15:27:45.740] pid = [15:27:45.740] startup_data = {canAcceptConnections = CAC_OK} [15:27:45.740] __func__ = "BackendStartup" [15:27:45.740] #23 0x0000560edd51d31e in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [15:27:45.740] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\203\277=\177\000\000\240?\323\300=\177\000\0008 \211\r\377\177\000\0004 \211\r\377\177", '\000' , "\373\vn\334\016V\000\000\030\367i\334\016V\000\000\000!\211\r\377\177\000\000\370 \211\r\377\177\000\000\225[\362\001\000\000\000\000\240\224\003\300=\177\000\000+", '\000' , "\016V\000\000\020\vn\334\016V\000", __ss_align = 139903209031272}, salen = 2}} [15:27:45.740] i = 0 [15:27:45.740] now = [15:27:45.740] last_lockfile_recheck_time = 1724253849 [15:27:45.740] last_touch_time = 1724253849 [15:27:45.740] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 15, user_data = 0x560edc6e0bfb}, {pos = -1055668632, events = 32573, fd = -1073506768, user_data = 0x7f3dc113c2e0}, {pos = 2090263927, events = 0, fd = 227090816, user_data = 0x7f3dc1112a48}, {pos = 15, events = 0, fd = -1073506768, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7f3dc113c2e0}, {pos = 227090680, events = 32767, fd = 227090688, user_data = 0x7f3dc113c668}, {pos = 0, events = 0, fd = -563066136, user_data = 0x560edd9871c3 }, {pos = 32768, events = 0, fd = 1, user_data = 0x560ede706890}, {pos = -1, events = 0, fd = -1081942016, user_data = 0x7f3dc0d33fa0}, {pos = -562875384, events = 22030, fd = -562875672, user_data = 0x560ede7330c1}, {pos = -1055813954, events = 32573, fd = 1, user_data = 0x7f3dc113c2e0}, {pos = 439, events = 0, fd = -572121672, user_data = 0x0}, {pos = 1, events = 0, fd = -563066136, user_data = 0x7f3dc1118ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f3dbf82e000}, {pos = -1081135680, events = 32573, fd = 16, user_data = 0x7fff0d892560}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -1055805014, events = 32573, fd = 0, user_data = 0x7f3dbf8aed14 }, {pos = 0, events = 0, fd = -565242112, user_data = 0x2}, {pos = 7, events = 0, fd = -563319056, user_data = 0x560edd5f9c9d }, {pos = -562857813, events = 22030, fd = -580921153, user_data = 0x7367702f65736162}, {pos = 8096, events = 196607, fd = -563066136, user_data = 0x7f3dc1118ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f3dbf8364a8}, {pos = -1081381257, events = 32573, fd = -565191648, user_data = 0x7d0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = -1080091552, events = 32573, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, 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 = 4294967040, fd = 0, user_data = 0x0}, {pos = -1, events = 4294967295, fd = -1, user_data = 0x30305f742f617461}, {pos = 1735417650, events = 1735423327, fd = 1853190772, user_data = 0x2f65646172677075}, {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 = -562902304, user_data = 0x7f3dbf8b56db}, {pos = -1080108576, events = 32573, fd = -1081470610, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xc0fc1c9257c4e000}, {pos = -1080105504, events = 32573, fd = -328, user_data = 0x0}, {pos = -562875992, events = 22030, fd = 2, user_data = 0x8000000000000006}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -562876192, events = 22030, fd = 3, user_data = 0x0}, {pos = 16827, events = 0, fd = -328, user_data = 0x0}, {pos = -563066136, events = 22030, fd = -1081135149, user_data = 0x7fff0d892618}, {pos = -577449988, events = 22030, fd = -565183280, user_data = 0x560edd93bab9 }, {pos = -562876192, events = 22030, fd = -563066416, user_data = 0x560ede7330e0}, {pos = -1081387301, events = 32573, fd = 0, user_data = 0x560edd94d723 }, {pos = -562876192, events = 1, fd = -577447828, user_data = 0x560ede7049d0}, {pos = 1472520192, events = 3237747858, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -1081464143, user_data = 0x7f3dbf8a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1472520192, user_data = 0x560ede6dc100}, {pos = 1472520192, events = 3237747858, fd = 11, user_data = 0xc0fc1c9257c4e000}, {pos = 0, events = 0, fd = -1081757127, user_data = 0x1}, {pos = -581865459, events = 22030, fd = 4194304, user_data = 0x560edd93b94d }, {pos = -563232512, events = 22030, fd = -563066416, user_data = 0x560ede6dc100}, {pos = 1, events = 0, fd = 0, user_data = 0x560edd94d723 }, {pos = -563232512, events = 22030, fd = -577447828, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x560edd34bafb }, {pos = 0, events = 0, fd = -583725499, user_data = 0xb}, {pos = -581844310, events = 22030, fd = -568771248, user_data = 0x560ede705378}} [15:27:45.740] nevents = 1 [15:27:45.740] __func__ = "ServerLoop" [15:27:45.740] #24 0x0000560edd51ea94 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x560ede6c2d60) at ../src/backend/postmaster/postmaster.c:1346 [15:27:45.740] opt = [15:27:45.740] status = [15:27:45.740] userDoption = [15:27:45.740] listen_addr_saved = false [15:27:45.740] output_config_variable = [15:27:45.740] __func__ = "PostmasterMain" [15:27:45.740] #25 0x0000560edd35bf26 in main (argc=4, argv=0x560ede6c2d60) at ../src/backend/main/main.c:197 [15:27:45.740] do_check_root = [15:27:45.772] -e [15:27:45.772] [15:27:45.772] [15:27:45.833] dumping /tmp/cores/postgres-6-25418.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [15:27:46.075] [New LWP 25418] [15:27:46.075] [15:27:46.075] This GDB supports auto-downloading debuginfo from the following URLs: [15:27:46.075] [15:27:46.075] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [15:27:46.075] Debuginfod has been disabled. [15:27:46.075] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [15:27:46.176] [Thread debugging using libthread_db enabled] [15:27:46.176] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [15:27:46.176] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [15:27:46.176] Program terminated with signal SIGABRT, Aborted. [15:27:46.176] #0 0x00007fd0b4aa9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [15:27:47.002] [15:27:47.002] Thread 1 (Thread 0x7fd0b5234f00 (LWP 25418)): [15:27:47.002] #0 0x00007fd0b4aa9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [15:27:47.002] No symbol table info available. [15:27:47.002] #1 0x00007fd0b4a5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [15:27:47.002] No symbol table info available. [15:27:47.002] #2 0x00007fd0b4a45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [15:27:47.002] No symbol table info available. [15:27:47.002] #3 0x0000560d65a6fb6c in ExceptionalCondition (conditionName=conditionName@entry=0x560d65cbde45 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x560d65ce2318 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [15:27:47.002] No locals. [15:27:47.002] #4 0x0000560d6541b597 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffe3d18f0a0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffe3d18ef3f) at ../src/backend/executor/execTuples.c:1737 [15:27:47.002] No locals. [15:27:47.002] #5 0x0000560d6539f691 in ExecIRDeleteTriggers (estate=estate@entry=0x560d67ffd640, relinfo=relinfo@entry=0x560d67ffdbf0, slot=slot@entry=0x7ffe3d18f0a0) at ../src/backend/commands/trigger.c:2841 [15:27:47.002] trigger = 0x560d67ffde50 [15:27:47.002] oldtuple = [15:27:47.002] trigdesc = 0x560d67ffde00 [15:27:47.002] newtuple = 0x0 [15:27:47.002] should_free = false [15:27:47.002] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fd0b057fc68, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [15:27:47.002] i = 0 [15:27:47.002] #6 0x0000560d65478494 in ExecMergeMatched (context=0x7ffe3d18f0c0, resultRelInfo=resultRelInfo@entry=0x560d67ffdbf0, tupleid=0x0, oldtuple=0x7ffe3d18f0a0, canSetTag=true, matched=matched@entry=0x7ffe3d18f04f) at ../src/backend/executor/nodeModifyTable.c:3043 [15:27:47.002] relaction = 0x560d680aabf0 [15:27:47.002] commandType = CMD_DELETE [15:27:47.002] result = TM_Ok [15:27:47.002] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [15:27:47.002] l__state = [15:27:47.002] mtstate = 0x560d67ffd9e0 [15:27:47.002] mergeActions = 0x560d67ffdd00 [15:27:47.002] actionStates = 0x560d680ab1b0 [15:27:47.002] newslot = 0x0 [15:27:47.002] rslot = 0x0 [15:27:47.002] estate = 0x560d67ffd640 [15:27:47.002] econtext = 0x560d680aa200 [15:27:47.002] isNull = false [15:27:47.002] epqstate = 0x560d67ffdac8 [15:27:47.002] l = [15:27:47.002] __func__ = "ExecMergeMatched" [15:27:47.002] lmerge_matched = [15:27:47.002] #7 0x0000560d65479052 in ExecMerge (context=context@entry=0x7ffe3d18f0c0, resultRelInfo=resultRelInfo@entry=0x560d67ffdbf0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffe3d18f0a0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [15:27:47.002] rslot = 0x0 [15:27:47.002] matched = true [15:27:47.002] #8 0x0000560d6547a817 in ExecModifyTable (pstate=0x560d67ffd9e0) at ../src/backend/executor/nodeModifyTable.c:4133 [15:27:47.002] node = 0x560d67ffd9e0 [15:27:47.002] context = {mtstate = 0x560d67ffd9e0, epqstate = 0x560d67ffdac8, estate = 0x560d67ffd640, planSlot = 0x560d680a85e8, tmfd = {ctid = {ip_blkid = {bi_hi = 43616, bi_lo = 26634}, ip_posid = 22029}, xmax = 1745564472, cmax = 22029, traversed = 5}, cpUpdateReturningSlot = 0x560d680b3338} [15:27:47.002] estate = 0x560d67ffd640 [15:27:47.002] operation = CMD_MERGE [15:27:47.002] resultRelInfo = 0x560d67ffdbf0 [15:27:47.002] subplanstate = 0x560d67ffe320 [15:27:47.002] slot = [15:27:47.002] oldSlot = [15:27:47.002] tuple_ctid = {ip_blkid = {bi_hi = 26634, bi_lo = 22029}, ip_posid = 0} [15:27:47.002] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x560d68061798} [15:27:47.002] oldtuple = 0x7ffe3d18f0a0 [15:27:47.002] tupleid = 0x0 [15:27:47.002] __func__ = "ExecModifyTable" [15:27:47.002] #9 0x0000560d6540dae3 in ExecProcNodeFirst (node=0x560d67ffd9e0) at ../src/backend/executor/execProcnode.c:469 [15:27:47.002] No locals. [15:27:47.002] #10 0x0000560d653f8fe1 in ExecProcNode (node=node@entry=0x560d67ffd9e0) at ../src/include/executor/executor.h:278 [15:27:47.002] No locals. [15:27:47.002] #11 0x0000560d653f9196 in ExecutePlan (estate=estate@entry=0x560d67ffd640, planstate=0x560d67ffd9e0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x560d68085550, execute_once=true) at ../src/backend/executor/execMain.c:1641 [15:27:47.002] slot = [15:27:47.002] current_tuple_count = 0 [15:27:47.002] #12 0x0000560d653faf0e in standard_ExecutorRun (queryDesc=queryDesc@entry=0x560d6808e5b8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [15:27:47.002] estate = 0x560d67ffd640 [15:27:47.002] operation = CMD_MERGE [15:27:47.002] dest = 0x560d68085550 [15:27:47.002] sendTuples = [15:27:47.002] oldcontext = 0x560d68085240 [15:27:47.002] __func__ = "standard_ExecutorRun" [15:27:47.002] #13 0x00007fd0b2a31813 in pgss_ExecutorRun (queryDesc=0x560d6808e5b8, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1031 [15:27:47.002] _save_exception_stack = 0x7ffe3d18f4a0 [15:27:47.002] _save_context_stack = 0x0 [15:27:47.002] _local_sigjmp_buf = {{__jmpbuf = {94615579977144, 7524188757865770059, 94615578344176, 94615579940176, 0, 0, 7524188757939170379, 7509284779915324491}, __mask_was_saved = 0, __saved_mask = {__val = {2147483647, 94615579940176, 0, 0, 94615540371564, 0, 1, 0, 94615533414938, 94615579977144, 94615552630048, 94615579939392, 140534326962124, 94615579977144, 0, 94615578344176}}}} [15:27:47.002] _do_rethrow = false [15:27:47.002] #14 0x0000560d653fb134 in ExecutorRun (queryDesc=queryDesc@entry=0x560d6808e5b8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:297 [15:27:47.002] No locals. [15:27:47.002] #15 0x0000560d657e4412 in ProcessQuery (plan=plan@entry=0x560d680b6530, sourceText=0x560d67effaf0 "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=0x560d68085550, qc=qc@entry=0x7ffe3d18f400) at ../src/backend/tcop/pquery.c:160 [15:27:47.002] queryDesc = 0x560d6808e5b8 [15:27:47.002] #16 0x0000560d657e6047 in PortalRunMulti (portal=portal@entry=0x560d67f81030, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x560d68085550, altdest=0x560d65fbc1e0 , qc=qc@entry=0x7ffe3d18f400) at ../src/backend/tcop/pquery.c:1278 [15:27:47.002] pstmt = 0x560d680b6530 [15:27:47.002] stmtlist_item__state = [15:27:47.002] active_snapshot_set = true [15:27:47.002] stmtlist_item = 0x560d680b6658 [15:27:47.002] #17 0x0000560d657e6599 in FillPortalStore (portal=portal@entry=0x560d67f81030, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [15:27:47.002] treceiver = 0x560d68085550 [15:27:47.002] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [15:27:47.002] __func__ = "FillPortalStore" [15:27:47.002] #18 0x0000560d657e6b6a in PortalRun (portal=portal@entry=0x560d67f81030, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x560d680b6690, altdest=altdest@entry=0x560d680b6690, qc=0x7ffe3d18f5e0) at ../src/backend/tcop/pquery.c:763 [15:27:47.002] _save_exception_stack = 0x7ffe3d18f690 [15:27:47.002] _save_context_stack = 0x0 [15:27:47.002] _local_sigjmp_buf = {{__jmpbuf = {0, 4291336606913375307, 94615578873904, 94615579577552, 94615578873904, 94615579577480, 7524188757872061515, 4291359808294464587}, __mask_was_saved = 0, __saved_mask = {__val = {94615540279944, 94615578343920, 112, 4, 94615540284361, 1025045871, 4, 94615579577480, 112, 163, 94615578873904, 94615579577552, 94615579577528, 94615579577480, 94615540371564, 1}}}} [15:27:47.002] _do_rethrow = [15:27:47.002] result = [15:27:47.002] nprocessed = [15:27:47.002] saveTopTransactionResourceOwner = 0x560d67f404f0 [15:27:47.002] saveTopTransactionContext = 0x560d67f93460 [15:27:47.002] saveActivePortal = 0x0 [15:27:47.002] saveResourceOwner = 0x560d67f404f0 [15:27:47.002] savePortalContext = 0x0 [15:27:47.002] saveMemoryContext = 0x560d67f93460 [15:27:47.002] __func__ = "PortalRun" [15:27:47.002] #19 0x0000560d657dff17 in exec_simple_query (query_string=query_string@entry=0x560d67effaf0 "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 [15:27:47.002] cmdtaglen = 5 [15:27:47.002] snapshot_set = [15:27:47.002] per_parsetree_context = 0x0 [15:27:47.002] plantree_list = 0x560d680b6640 [15:27:47.002] parsetree = 0x560d6802cc88 [15:27:47.002] commandTag = [15:27:47.002] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [15:27:47.002] querytree_list = [15:27:47.002] portal = 0x560d67f81030 [15:27:47.002] receiver = 0x560d680b6690 [15:27:47.002] format = 0 [15:27:47.002] cmdtagname = [15:27:47.002] parsetree_item__state = [15:27:47.002] dest = DestRemote [15:27:47.002] oldcontext = 0x560d67f93460 [15:27:47.002] parsetree_list = 0x560d6802ccb8 [15:27:47.002] parsetree_item = 0x560d6802ccd0 [15:27:47.002] save_log_statement_stats = false [15:27:47.002] was_logged = true [15:27:47.002] use_implicit_block = false [15:27:47.002] msec_str = "@\370\030=\376\177\000\000sX\251e\rV\000\000p\366\030=\376\177\000\000\026\001\000\000\000\000\000" [15:27:47.002] __func__ = "exec_simple_query" [15:27:47.002] #20 0x0000560d657e29f0 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [15:27:47.002] query_string = 0x560d67effaf0 "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"... [15:27:47.002] firstchar = [15:27:47.002] input_message = {data = 0x560d67effaf0 "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} [15:27:47.002] local_sigjmp_buf = {{__jmpbuf = {94615552630040, 4291366608654543947, 4, 140729923467328, 140729923467472, 140729923467476, 7524188757792369739, 4291359810632789067}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 6016, 10, 94615578593760, 0, 168, 94615540284463, 0, 10, 2, 94615552630048, 94615578074768, 94615552624128, 140729923467328, 140729923467472, 140729923467476}}}} [15:27:47.002] send_ready_for_query = false [15:27:47.002] idle_in_transaction_timeout_enabled = false [15:27:47.002] idle_session_timeout_enabled = false [15:27:47.002] __func__ = "PostgresMain" [15:27:47.002] #21 0x0000560d657d8b12 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [15:27:47.002] bsdata = [15:27:47.002] #22 0x0000560d65691310 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffe3d18f7ec "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe3d18f840) at ../src/backend/postmaster/launch_backend.c:274 [15:27:47.002] pid = [15:27:47.002] #23 0x0000560d65696dbc in BackendStartup (client_sock=client_sock@entry=0x7ffe3d18f840) at ../src/backend/postmaster/postmaster.c:3414 [15:27:47.002] bn = 0x560d67f2c3d8 [15:27:47.002] pid = [15:27:47.002] startup_data = {canAcceptConnections = CAC_OK} [15:27:47.002] __func__ = "BackendStartup" [15:27:47.002] #24 0x0000560d6569731e in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [15:27:47.002] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "A\266\320\177\000\000=\004\000\000\000\000\000\000\220\227\243\264\320\177\000\000\240\357\370\265\320\177\000\000\370\370\030=\376\177\000\000\364\370\030=\376\177", '\000' , "\373\253\205d\rV\000\000\030\227\201d\rV\000\000\300\371\030=\376\177\000\000\270\371\030=\376\177\000\000\225[\362\001\023b\032\324\020\233\362g\rV\000\000,\000\000\000\000\000\000", __ss_align = 0}, salen = 2}} [15:27:47.002] i = 0 [15:27:47.002] now = [15:27:47.002] last_lockfile_recheck_time = 1724253877 [15:27:47.002] last_touch_time = 1724253877 [15:27:47.002] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 1382427086, events = 0, fd = 1025047040, user_data = 0x0}, {pos = 15, events = 0, fd = 1686481915, user_data = 0x7fd0b6440668}, {pos = -1255868880, events = 32720, fd = -1237056800, user_data = 0x7c96e577}, {pos = 1025047104, events = 32766, fd = -1237226936, user_data = 0xf}, {pos = -1255868880, events = 32720, fd = 1, user_data = 0x0}, {pos = 1, events = 0, fd = -1237056800, user_data = 0x7ffe3d18f9b8}, {pos = 1025046976, events = 32766, fd = -1237055896, user_data = 0x0}, {pos = 32768, events = 0, fd = 7, user_data = 0x560d67f00610}, {pos = 1, events = 32720, fd = 1025048291, user_data = 0xffffffff}, {pos = -1264394240, events = 32720, fd = -1241976928, user_data = 0x560d67f2b3a8}, {pos = 1743958664, events = 22029, fd = 1743976753, user_data = 0x7fd0b641cebe}, {pos = 1, events = 0, fd = -1237056800, user_data = 0x1b7}, {pos = 1711127992, events = 22029, fd = 0, user_data = 0x1}, {pos = 1743788336, events = 22029, fd = -1237201218, user_data = 0x1}, {pos = 0, events = 0, fd = -1264394240, user_data = 0x7fd0b4af2dc0 }, {pos = 16, events = 0, fd = 1025048080, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x7fd0b641f1aa}, {pos = 0, events = 0, fd = -1263866604, user_data = 0x0}, {pos = 1718007552, events = 22029, fd = 2, user_data = 0x7}, {pos = 1743527728, events = 22029, fd = 1702328511, user_data = 0x7367702f65736162}, {pos = 1952410737, events = 28781, fd = 4, user_data = 0x2ffff00001fa0}, {pos = 1743788336, events = 22029, fd = -1237201218, user_data = 0x1}, {pos = -1263833123, events = 32720, fd = -1264360280, user_data = 0x560d67f349a0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = -1262543776, events = 32720, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x560d67ec1f30}, {pos = -1263830534, events = 32720, fd = 0, user_data = 0x0}, {pos = -65536, events = 4294967295, fd = -1, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = 811562031, user_data = 0x65725f6d61657274}, {pos = 1868785010, events = 2037540214, fd = 926036015, user_data = 0x7fd0b5296540}, {pos = -1255576960, events = 32720, 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 = -1262560800, events = 32720, fd = -1263922834, user_data = 0x100000400}, {pos = 7, events = 0, fd = 2, user_data = 0xd41a621308c52400}, {pos = -1262557728, events = 32720, fd = -328, user_data = 0x0}, {pos = 1743958344, events = 22029, fd = 1024, user_data = 0x560d67f2b148}, {pos = 2, events = 0, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 3, user_data = 0x0}, {pos = 23361, events = 0, fd = -328, user_data = 0x0}, {pos = 1743788336, events = 22029, fd = -1263587373, user_data = 0x7ffe3d18fec8}, {pos = 1705799676, events = 22029, fd = 1718066384, user_data = 0x560d65ab5ab9 }, {pos = 1743958144, events = 22029, fd = 1743780336, user_data = 0x560d67f2b080}, {pos = -1263839186, events = 32720, fd = 0, user_data = 0x560d65ac7723 }, {pos = 1743958144, events = 1, fd = 1705801836, user_data = 0x560d67eff9f0}, {pos = 147137536, events = 3558498835, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -1263916367, user_data = 0x7fd0b4aa14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 147137536, user_data = 0x560d67ed7120}, {pos = 147137536, events = 3558498835, fd = 11, user_data = 0xd41a621308c52400}, {pos = 0, events = 0, fd = -1264209351, user_data = 0x1}, {pos = 1701384205, events = 22029, fd = 4194304, user_data = 0x560d65ab594d }, {pos = 1743614240, events = 22029, fd = 1743780336, user_data = 0x560d67ed7120}, {pos = 1, events = 0, fd = 0, user_data = 0x560d65ac7723 }, {pos = 1743614240, events = 22029, fd = 1705801836, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x560d654c5afb }, {pos = 0, events = 0, fd = 1699524165, user_data = 0xb}, {pos = 1701405354, events = 22029, fd = 1714478416, user_data = 0x560d67f003a8}} [15:27:47.002] nevents = 1 [15:27:47.002] __func__ = "ServerLoop" [15:27:47.002] #25 0x0000560d65698a94 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x560d67ebdd90) at ../src/backend/postmaster/postmaster.c:1346 [15:27:47.002] opt = [15:27:47.002] status = [15:27:47.002] userDoption = [15:27:47.002] listen_addr_saved = false [15:27:47.002] output_config_variable = [15:27:47.002] __func__ = "PostmasterMain" [15:27:47.002] #26 0x0000560d654d5f26 in main (argc=4, argv=0x560d67ebdd90) at ../src/backend/main/main.c:197 [15:27:47.002] do_check_root = [15:27:47.035] -e [15:27:47.035] [15:27:47.035] [15:27:47.097] dumping /tmp/cores/postgres-6-18244.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [15:27:47.334] [New LWP 18244] [15:27:47.334] [15:27:47.334] This GDB supports auto-downloading debuginfo from the following URLs: [15:27:47.334] [15:27:47.334] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [15:27:47.334] Debuginfod has been disabled. [15:27:47.334] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [15:27:47.437] [Thread debugging using libthread_db enabled] [15:27:47.437] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [15:27:47.437] Core was generated by `postgres: postgres regression [local] MERGE '. [15:27:47.437] Program terminated with signal SIGABRT, Aborted. [15:27:47.437] #0 0x00007f89a74a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [15:27:48.266] [15:27:48.266] Thread 1 (Thread 0x7f89a8283f00 (LWP 18244)): [15:27:48.266] #0 0x00007f89a74a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [15:27:48.266] No symbol table info available. [15:27:48.266] #1 0x00007f89a745afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [15:27:48.266] No symbol table info available. [15:27:48.266] #2 0x00007f89a7445472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [15:27:48.266] No symbol table info available. [15:27:48.266] #3 0x0000564509341b6c in ExceptionalCondition (conditionName=conditionName@entry=0x56450958fe45 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x5645095b4318 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [15:27:48.266] No locals. [15:27:48.266] #4 0x0000564508ced597 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7fffd8bf6630, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7fffd8bf64cf) at ../src/backend/executor/execTuples.c:1737 [15:27:48.266] No locals. [15:27:48.266] #5 0x0000564508c71691 in ExecIRDeleteTriggers (estate=estate@entry=0x56450ba33b00, relinfo=relinfo@entry=0x56450ba340b0, slot=slot@entry=0x7fffd8bf6630) at ../src/backend/commands/trigger.c:2841 [15:27:48.266] trigger = 0x56450ba34310 [15:27:48.266] oldtuple = [15:27:48.266] trigdesc = 0x56450ba342c0 [15:27:48.266] newtuple = 0x0 [15:27:48.266] should_free = false [15:27:48.266] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f899bbbef30, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [15:27:48.266] i = 0 [15:27:48.266] #6 0x0000564508d4a494 in ExecMergeMatched (context=0x7fffd8bf6650, resultRelInfo=resultRelInfo@entry=0x56450ba340b0, tupleid=0x0, oldtuple=0x7fffd8bf6630, canSetTag=true, matched=matched@entry=0x7fffd8bf65df) at ../src/backend/executor/nodeModifyTable.c:3043 [15:27:48.266] relaction = 0x56450baca9c0 [15:27:48.266] commandType = CMD_DELETE [15:27:48.266] result = TM_Ok [15:27:48.266] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [15:27:48.266] l__state = [15:27:48.266] mtstate = 0x56450ba33ea0 [15:27:48.266] mergeActions = 0x56450ba341c0 [15:27:48.266] actionStates = 0x56450bacaf80 [15:27:48.266] newslot = 0x0 [15:27:48.266] rslot = 0x0 [15:27:48.266] estate = 0x56450ba33b00 [15:27:48.266] econtext = 0x56450bac9fd0 [15:27:48.266] isNull = false [15:27:48.266] epqstate = 0x56450ba33f88 [15:27:48.266] l = [15:27:48.266] __func__ = "ExecMergeMatched" [15:27:48.266] lmerge_matched = [15:27:48.266] #7 0x0000564508d4b052 in ExecMerge (context=context@entry=0x7fffd8bf6650, resultRelInfo=resultRelInfo@entry=0x56450ba340b0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7fffd8bf6630, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [15:27:48.266] rslot = 0x0 [15:27:48.266] matched = true [15:27:48.266] #8 0x0000564508d4c817 in ExecModifyTable (pstate=0x56450ba33ea0) at ../src/backend/executor/nodeModifyTable.c:4133 [15:27:48.266] node = 0x56450ba33ea0 [15:27:48.266] context = {mtstate = 0x56450ba33ea0, epqstate = 0x56450ba33f88, estate = 0x56450ba33b00, planSlot = 0x56450bac83b8, tmfd = {ctid = {ip_blkid = {bi_hi = 14848, bi_lo = 2979}, ip_posid = 22085}, xmax = 154684040, cmax = 22085, traversed = false}, cpUpdateReturningSlot = 0x564509384a88 } [15:27:48.266] estate = 0x56450ba33b00 [15:27:48.266] operation = CMD_MERGE [15:27:48.266] resultRelInfo = 0x56450ba340b0 [15:27:48.266] subplanstate = 0x56450ba347e0 [15:27:48.266] slot = [15:27:48.266] oldSlot = [15:27:48.266] tuple_ctid = {ip_blkid = {bi_hi = 2991, bi_lo = 22085}, ip_posid = 0} [15:27:48.266] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x56450ba96748} [15:27:48.266] oldtuple = 0x7fffd8bf6630 [15:27:48.266] tupleid = 0x0 [15:27:48.266] __func__ = "ExecModifyTable" [15:27:48.266] #9 0x0000564508cdfae3 in ExecProcNodeFirst (node=0x56450ba33ea0) at ../src/backend/executor/execProcnode.c:469 [15:27:48.266] No locals. [15:27:48.266] #10 0x0000564508ccafe1 in ExecProcNode (node=node@entry=0x56450ba33ea0) at ../src/include/executor/executor.h:278 [15:27:48.266] No locals. [15:27:48.266] #11 0x0000564508ccb196 in ExecutePlan (estate=estate@entry=0x56450ba33b00, planstate=0x56450ba33ea0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x56450bab6090, execute_once=true) at ../src/backend/executor/execMain.c:1641 [15:27:48.266] slot = [15:27:48.266] current_tuple_count = 0 [15:27:48.266] #12 0x0000564508cccf0e in standard_ExecutorRun (queryDesc=0x56450bad84b8, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [15:27:48.266] estate = 0x56450ba33b00 [15:27:48.266] operation = CMD_MERGE [15:27:48.266] dest = 0x56450bab6090 [15:27:48.266] sendTuples = [15:27:48.266] oldcontext = 0x56450bab5d80 [15:27:48.266] __func__ = "standard_ExecutorRun" [15:27:48.266] #13 0x0000564508ccd141 in ExecutorRun (queryDesc=queryDesc@entry=0x56450bad84b8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [15:27:48.266] No locals. [15:27:48.266] #14 0x00005645090b6412 in ProcessQuery (plan=plan@entry=0x56450baf3798, sourceText=0x56450b930b40 "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=0x56450bab6090, qc=qc@entry=0x7fffd8bf6880) at ../src/backend/tcop/pquery.c:160 [15:27:48.266] queryDesc = 0x56450bad84b8 [15:27:48.266] #15 0x00005645090b8047 in PortalRunMulti (portal=portal@entry=0x56450b9b30e0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x56450bab6090, altdest=0x56450988e1e0 , qc=qc@entry=0x7fffd8bf6880) at ../src/backend/tcop/pquery.c:1278 [15:27:48.266] pstmt = 0x56450baf3798 [15:27:48.266] stmtlist_item__state = [15:27:48.266] active_snapshot_set = true [15:27:48.266] stmtlist_item = 0x56450baf38c0 [15:27:48.266] #16 0x00005645090b8599 in FillPortalStore (portal=portal@entry=0x56450b9b30e0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [15:27:48.266] treceiver = 0x56450bab6090 [15:27:48.266] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [15:27:48.266] __func__ = "FillPortalStore" [15:27:48.266] #17 0x00005645090b8b6a in PortalRun (portal=portal@entry=0x56450b9b30e0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x56450baf38f8, altdest=altdest@entry=0x56450baf38f8, qc=0x7fffd8bf6a60) at ../src/backend/tcop/pquery.c:763 [15:27:48.266] _save_exception_stack = 0x7fffd8bf6b10 [15:27:48.266] _save_context_stack = 0x0 [15:27:48.266] _local_sigjmp_buf = {{__jmpbuf = {0, 185767979238729125, 94854547452128, 94854549288592, 94854547452128, 94854549288520, 5901506472645928357, 185773172498277797}, __mask_was_saved = 0, __saved_mask = {__val = {94854507416200, 94854546917952, 112, 4, 94854507420617, 3636423151, 4, 94854549288520, 112, 163, 94854547452128, 94854549288592, 94854549288568, 94854549288520, 94854507507820, 1}}}} [15:27:48.266] _do_rethrow = [15:27:48.266] result = [15:27:48.266] nprocessed = [15:27:48.266] saveTopTransactionResourceOwner = 0x56450b96fd98 [15:27:48.266] saveTopTransactionContext = 0x56450b9c4cf0 [15:27:48.266] saveActivePortal = 0x0 [15:27:48.266] saveResourceOwner = 0x56450b96fd98 [15:27:48.266] savePortalContext = 0x0 [15:27:48.266] saveMemoryContext = 0x56450b9c4cf0 [15:27:48.266] __func__ = "PortalRun" [15:27:48.266] #18 0x00005645090b1f17 in exec_simple_query (query_string=query_string@entry=0x56450b930b40 "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 [15:27:48.266] cmdtaglen = 5 [15:27:48.266] snapshot_set = [15:27:48.266] per_parsetree_context = 0x0 [15:27:48.266] plantree_list = 0x56450baf38a8 [15:27:48.266] parsetree = 0x56450bb73648 [15:27:48.266] commandTag = [15:27:48.266] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [15:27:48.266] querytree_list = [15:27:48.266] portal = 0x56450b9b30e0 [15:27:48.266] receiver = 0x56450baf38f8 [15:27:48.266] format = 0 [15:27:48.266] cmdtagname = [15:27:48.266] parsetree_item__state = [15:27:48.266] dest = DestRemote [15:27:48.266] oldcontext = 0x56450b9c4cf0 [15:27:48.266] parsetree_list = 0x56450bb73678 [15:27:48.266] parsetree_item = 0x56450bb73690 [15:27:48.266] save_log_statement_stats = false [15:27:48.266] was_logged = false [15:27:48.266] use_implicit_block = false [15:27:48.266] msec_str = "\300l\277\330\377\177\000\000sx6\tEV\000\000\360j\277\330\377\177\000\000\026\001\000\000\000\000\000" [15:27:48.266] __func__ = "exec_simple_query" [15:27:48.266] #19 0x00005645090b49f0 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [15:27:48.266] query_string = 0x56450b930b40 "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"... [15:27:48.266] firstchar = [15:27:48.266] input_message = {data = 0x56450b930b40 "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} [15:27:48.266] local_sigjmp_buf = {{__jmpbuf = {94854519766296, 185771599786059173, 4, 140736829811904, 140736829812048, 140736829812052, 5901506472574625189, 185773170550023589}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94854546648640, 15616, 94854519760384, 94854547172688, 140736829812048, 94854507420165, 0, 9, 2, 94854519766304, 94854546648640, 94854519760384, 140736829811904, 140736829812048, 140736829812052}}}} [15:27:48.266] send_ready_for_query = false [15:27:48.266] idle_in_transaction_timeout_enabled = false [15:27:48.266] idle_session_timeout_enabled = false [15:27:48.266] __func__ = "PostgresMain" [15:27:48.266] #20 0x00005645090aab12 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [15:27:48.266] bsdata = [15:27:48.266] #21 0x0000564508f63310 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7fffd8bf6c6c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7fffd8bf6cc0) at ../src/backend/postmaster/launch_backend.c:274 [15:27:48.266] pid = [15:27:48.266] #22 0x0000564508f68dbc in BackendStartup (client_sock=client_sock@entry=0x7fffd8bf6cc0) at ../src/backend/postmaster/postmaster.c:3414 [15:27:48.266] bn = 0x56450b9592e8 [15:27:48.266] pid = [15:27:48.266] startup_data = {canAcceptConnections = CAC_OK} [15:27:48.266] __func__ = "BackendStartup" [15:27:48.266] #23 0x0000564508f6931e in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [15:27:48.266] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "ߨ\211\177\000\000=\004\000\000\000\000\000\000\220\227C\247\211\177\000\000\240ϖ\250\211\177\000\000xm\277\330\377\177\000\000tm\277\330\377\177", '\000' , "\373\313\022\bEV\000\000\030\267\016\bEV\000\000@n\277\330\377\177\000\0008n\277\330\377\177\000\000\225[\362\001\275\033L려(\250\211\177\000\000+\000\000\000\000\000\000", __ss_align = 0}, salen = 2}} [15:27:48.266] i = 0 [15:27:48.266] now = [15:27:48.266] last_lockfile_recheck_time = 1724253846 [15:27:48.266] last_touch_time = 1724253846 [15:27:48.266] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = 1382427086, events = 0, fd = -658542976, user_data = 0x0}, {pos = 15, events = 0, fd = 135449595, user_data = 0x7f89a8e24668}, {pos = -1473731024, events = 32649, fd = -1461566752, user_data = 0x7c96e577}, {pos = -658542912, events = 32767, fd = -1461736888, user_data = 0xf}, {pos = -1473731024, events = 32649, fd = 1, user_data = 0x0}, {pos = 1, events = 0, fd = -1461566752, user_data = 0x7fffd8bf6e38}, {pos = -658543040, events = 32767, fd = -1461565848, user_data = 0x0}, {pos = 32768, events = 0, fd = 8, user_data = 0x56450b932940}, {pos = 1, events = 32649, fd = -658541725, user_data = 0xffffffff}, {pos = -1488789504, events = 32649, fd = -1466511456, user_data = 0x56450b95d7d8}, {pos = 194369208, events = 22085, fd = 194377937, user_data = 0x7f89a8e00ebe}, {pos = 1, events = 0, fd = -1461566752, user_data = 0x1b7}, {pos = 160095672, events = 22085, fd = 0, user_data = 0x1}, {pos = 194186240, events = 22085, fd = -1461711170, user_data = 0x1}, {pos = 0, events = 0, fd = -1488789504, user_data = 0x7f89a74f2dc0 }, {pos = 16, events = 0, fd = -658541936, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x7f89a8e031aa}, {pos = 0, events = 0, fd = -1488261868, user_data = 0x0}, {pos = 166975232, events = 22085, fd = 2, user_data = 0x7}, {pos = 193933024, events = 22085, fd = 151296191, user_data = 0x7367702f65736162}, {pos = 1952410737, events = 28781, fd = 8, user_data = 0x2ffff00001fa0}, {pos = 194186240, events = 22085, fd = -1461711170, user_data = 0x1}, {pos = -1488228387, events = 32649, fd = -1488755544, user_data = 0x56450b95c4a0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = -1486939040, events = 32649, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x56450b8f2ee0}, {pos = -1488225798, events = 32649, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = -1, user_data = 0xffffffffffffffff}, {pos = 762540901, events = 896816496, fd = 168449587, user_data = 0x32343237310a6174}, {pos = 876098357, events = 808716854, fd = 795768178, user_data = 0x726765722f737365}, {pos = 1836330762, events = 1768107888, fd = 1937076850, user_data = 0x0}, {pos = 0, events = 22016, 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 = -1486956064, events = 32649, fd = -1488318098, user_data = 0x100000400}, {pos = 7, events = 0, fd = 2, user_data = 0xeb4c1bbd9b70dd00}, {pos = -1486952992, events = 32649, fd = -328, user_data = 0x0}, {pos = 194368888, events = 22085, fd = 1024, user_data = 0x56450b95d578}, {pos = 2, events = 0, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 3, user_data = 0x0}, {pos = 16129, events = 0, fd = -328, user_data = 0x0}, {pos = 194186240, events = 22085, fd = -1487982637, user_data = 0x7fffd8bf7348}, {pos = 154767356, events = 22085, fd = 167034064, user_data = 0x564509387ab9 }, {pos = 194368688, events = 22085, fd = 194185792, user_data = 0x56450b95d4b0}, {pos = -1488234450, events = 32649, fd = 0, user_data = 0x564509399723 }, {pos = 194368688, events = 1, fd = 154769516, user_data = 0x56450b930a40}, {pos = -1687102208, events = 3947633597, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -1488311631, user_data = 0x7f89a74a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1687102208, user_data = 0x56450b908170}, {pos = -1687102208, events = 3947633597, fd = 11, user_data = 0xeb4c1bbd9b70dd00}, {pos = 0, events = 0, fd = -1488604615, user_data = 0x1}, {pos = 150351885, events = 22085, fd = 4194304, user_data = 0x56450938794d }, {pos = 194019696, events = 22085, fd = 194185792, user_data = 0x56450b908170}, {pos = 1, events = 0, fd = 0, user_data = 0x564509399723 }, {pos = 194019696, events = 22085, fd = 154769516, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x564508d97afb }, {pos = 0, events = 0, fd = 148491845, user_data = 0xb}, {pos = 150373034, events = 22085, fd = 163446096, user_data = 0x56450b931418}} [15:27:48.266] nevents = 1 [15:27:48.266] __func__ = "ServerLoop" [15:27:48.266] #24 0x0000564508f6aa94 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x56450b8eeda0) at ../src/backend/postmaster/postmaster.c:1346 [15:27:48.266] opt = [15:27:48.266] status = [15:27:48.266] userDoption = [15:27:48.266] listen_addr_saved = false [15:27:48.266] output_config_variable = [15:27:48.266] __func__ = "PostmasterMain" [15:27:48.266] #25 0x0000564508da7f26 in main (argc=8, argv=0x56450b8eeda0) at ../src/backend/main/main.c:197 [15:27:48.266] do_check_root =