[06:03:50.338] src/tools/ci/cores_backtrace.sh linux /tmp/cores [06:03:50.547] dumping /tmp/cores/postgres-6-25447.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [06:03:50.791] [New LWP 25447] [06:03:50.791] [06:03:50.791] This GDB supports auto-downloading debuginfo from the following URLs: [06:03:50.791] [06:03:50.791] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [06:03:50.791] Debuginfod has been disabled. [06:03:50.791] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [06:03:50.920] [Thread debugging using libthread_db enabled] [06:03:50.920] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [06:03:50.920] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [06:03:50.920] Program terminated with signal SIGABRT, Aborted. [06:03:50.920] #0 0x00007f3d900a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [06:03:51.930] [06:03:51.930] Thread 1 (Thread 0x7f3d8ffd5f00 (LWP 25447)): [06:03:51.930] #0 0x00007f3d900a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [06:03:51.930] No symbol table info available. [06:03:51.930] #1 0x00007f3d9005afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [06:03:51.930] No symbol table info available. [06:03:51.930] #2 0x00007f3d90045472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [06:03:51.930] No symbol table info available. [06:03:51.930] #3 0x000056381be0fc70 in ExceptionalCondition (conditionName=conditionName@entry=0x56381c05da85 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x56381c081ed0 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [06:03:51.930] No locals. [06:03:51.930] #4 0x000056381b7bc7f6 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7fff06d2d0a0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7fff06d2cf3f) at ../src/backend/executor/execTuples.c:1737 [06:03:51.930] No locals. [06:03:51.930] #5 0x000056381b740787 in ExecIRDeleteTriggers (estate=estate@entry=0x56381e0c6600, relinfo=relinfo@entry=0x56381e0c6bb0, slot=slot@entry=0x7fff06d2d0a0) at ../src/backend/commands/trigger.c:2841 [06:03:51.930] trigger = 0x56381e0c6e10 [06:03:51.930] oldtuple = [06:03:51.930] trigdesc = 0x56381e0c6dc0 [06:03:51.930] newtuple = 0x0 [06:03:51.930] should_free = false [06:03:51.930] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f3d8dc37348, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [06:03:51.930] i = 0 [06:03:51.930] #6 0x000056381b8196f3 in ExecMergeMatched (context=0x7fff06d2d0c0, resultRelInfo=resultRelInfo@entry=0x56381e0c6bb0, tupleid=0x0, oldtuple=0x7fff06d2d0a0, canSetTag=true, matched=matched@entry=0x7fff06d2d04f) at ../src/backend/executor/nodeModifyTable.c:3043 [06:03:51.930] relaction = 0x56381e1dc990 [06:03:51.930] commandType = CMD_DELETE [06:03:51.930] result = TM_Ok [06:03:51.930] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [06:03:51.930] l__state = [06:03:51.930] mtstate = 0x56381e0c69a0 [06:03:51.930] mergeActions = 0x56381e0c6cc0 [06:03:51.930] actionStates = 0x56381e1dcf50 [06:03:51.930] newslot = 0x0 [06:03:51.930] rslot = 0x0 [06:03:51.930] estate = 0x56381e0c6600 [06:03:51.930] econtext = 0x56381e1dbfa0 [06:03:51.930] isNull = false [06:03:51.930] epqstate = 0x56381e0c6a88 [06:03:51.930] l = [06:03:51.930] __func__ = "ExecMergeMatched" [06:03:51.930] lmerge_matched = [06:03:51.930] #7 0x000056381b81a2b1 in ExecMerge (context=context@entry=0x7fff06d2d0c0, resultRelInfo=resultRelInfo@entry=0x56381e0c6bb0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7fff06d2d0a0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [06:03:51.930] rslot = 0x0 [06:03:51.930] matched = true [06:03:51.930] #8 0x000056381b81ba76 in ExecModifyTable (pstate=0x56381e0c69a0) at ../src/backend/executor/nodeModifyTable.c:4133 [06:03:51.930] node = 0x56381e0c69a0 [06:03:51.930] context = {mtstate = 0x56381e0c69a0, epqstate = 0x56381e0c6a88, estate = 0x56381e0c6600, planSlot = 0x56381e1da388, tmfd = {ctid = {ip_blkid = {bi_hi = 51200, bi_lo = 7709}, ip_posid = 22072}, xmax = 504995112, cmax = 22072, traversed = 5}, cpUpdateReturningSlot = 0x56381e199d28} [06:03:51.930] estate = 0x56381e0c6600 [06:03:51.930] operation = CMD_MERGE [06:03:51.930] resultRelInfo = 0x56381e0c6bb0 [06:03:51.930] subplanstate = 0x56381e0c72e0 [06:03:51.930] slot = [06:03:51.930] oldSlot = [06:03:51.930] tuple_ctid = {ip_blkid = {bi_hi = 7709, bi_lo = 22072}, ip_posid = 0} [06:03:51.930] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x56381e0fa9a8} [06:03:51.930] oldtuple = 0x7fff06d2d0a0 [06:03:51.930] tupleid = 0x0 [06:03:51.930] __func__ = "ExecModifyTable" [06:03:51.930] #9 0x000056381b7aed42 in ExecProcNodeFirst (node=0x56381e0c69a0) at ../src/backend/executor/execProcnode.c:469 [06:03:51.930] No locals. [06:03:51.930] #10 0x000056381b79a240 in ExecProcNode (node=node@entry=0x56381e0c69a0) at ../src/include/executor/executor.h:278 [06:03:51.930] No locals. [06:03:51.930] #11 0x000056381b79a3f5 in ExecutePlan (estate=estate@entry=0x56381e0c6600, planstate=0x56381e0c69a0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x56381e124a70, execute_once=true) at ../src/backend/executor/execMain.c:1641 [06:03:51.930] slot = [06:03:51.930] current_tuple_count = 0 [06:03:51.930] #12 0x000056381b79c16d in standard_ExecutorRun (queryDesc=queryDesc@entry=0x56381e127828, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [06:03:51.930] estate = 0x56381e0c6600 [06:03:51.930] operation = CMD_MERGE [06:03:51.930] dest = 0x56381e124a70 [06:03:51.930] sendTuples = [06:03:51.930] oldcontext = 0x56381e124760 [06:03:51.930] __func__ = "standard_ExecutorRun" [06:03:51.930] #13 0x00007f3d8dc49813 in pgss_ExecutorRun (queryDesc=0x56381e127828, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1024 [06:03:51.930] _save_exception_stack = 0x7fff06d2d4a0 [06:03:51.930] _save_context_stack = 0x0 [06:03:51.930] _local_sigjmp_buf = {{__jmpbuf = {94799022684200, -8916112693513434965, 94799021173488, 94799022672496, 0, 0, -8916112693716858709, -8807197461873571669}, __mask_was_saved = 0, __saved_mask = {__val = {2147483647, 94799022672496, 0, 0, 94798986252662, 0, 1, 0, 94798979300473, 94799022684200, 94798998698112, 94799022671712, 139902348208076, 94799022684200, 0, 94799021173488}}}} [06:03:51.930] _do_rethrow = false [06:03:51.930] #14 0x000056381b79c393 in ExecutorRun (queryDesc=queryDesc@entry=0x56381e127828, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:297 [06:03:51.930] No locals. [06:03:51.930] #15 0x000056381bb8324f in ProcessQuery (plan=plan@entry=0x56381e19cf20, sourceText=0x56381dfb6af0 "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=0x56381e124a70, qc=qc@entry=0x7fff06d2d400) at ../src/backend/tcop/pquery.c:160 [06:03:51.930] queryDesc = 0x56381e127828 [06:03:51.930] #16 0x000056381bb84e84 in PortalRunMulti (portal=portal@entry=0x56381e038030, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x56381e124a70, altdest=0x56381c38bf00 , qc=qc@entry=0x7fff06d2d400) at ../src/backend/tcop/pquery.c:1278 [06:03:51.930] pstmt = 0x56381e19cf20 [06:03:51.930] stmtlist_item__state = [06:03:51.930] active_snapshot_set = true [06:03:51.930] stmtlist_item = 0x56381e19d048 [06:03:51.930] #17 0x000056381bb853d6 in FillPortalStore (portal=portal@entry=0x56381e038030, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [06:03:51.930] treceiver = 0x56381e124a70 [06:03:51.930] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [06:03:51.930] __func__ = "FillPortalStore" [06:03:51.930] #18 0x000056381bb859a7 in PortalRun (portal=portal@entry=0x56381e038030, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x56381e19d080, altdest=altdest@entry=0x56381e19d080, qc=0x7fff06d2d5e0) at ../src/backend/tcop/pquery.c:763 [06:03:51.930] _save_exception_stack = 0x7fff06d2d690 [06:03:51.930] _save_context_stack = 0x0 [06:03:51.930] _local_sigjmp_buf = {{__jmpbuf = {0, -2896470794277762901, 94799021703216, 94799022769152, 94799021703216, 94799022769080, -8916112693515532117, -2896482600987539285}, __mask_was_saved = 0, __saved_mask = {__val = {94798986161042, 94799021173232, 112, 4, 94798986165459, 114480495, 4, 94799022769080, 112, 163, 94799021703216, 94799022769152, 94799022769128, 94799022769080, 94798986252662, 1}}}} [06:03:51.930] _do_rethrow = [06:03:51.930] result = [06:03:51.930] nprocessed = [06:03:51.930] saveTopTransactionResourceOwner = 0x56381dff7508 [06:03:51.930] saveTopTransactionContext = 0x56381e04a460 [06:03:51.930] saveActivePortal = 0x0 [06:03:51.930] saveResourceOwner = 0x56381dff7508 [06:03:51.930] savePortalContext = 0x0 [06:03:51.930] saveMemoryContext = 0x56381e04a460 [06:03:51.930] __func__ = "PortalRun" [06:03:51.930] #19 0x000056381bb7ed54 in exec_simple_query (query_string=query_string@entry=0x56381dfb6af0 "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 [06:03:51.930] cmdtaglen = 5 [06:03:51.930] snapshot_set = [06:03:51.930] per_parsetree_context = 0x0 [06:03:51.930] plantree_list = 0x56381e19d030 [06:03:51.930] parsetree = 0x56381e13c3b8 [06:03:51.930] commandTag = [06:03:51.930] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [06:03:51.930] querytree_list = [06:03:51.930] portal = 0x56381e038030 [06:03:51.930] receiver = 0x56381e19d080 [06:03:51.930] format = 0 [06:03:51.930] cmdtagname = [06:03:51.930] parsetree_item__state = [06:03:51.930] dest = DestRemote [06:03:51.930] oldcontext = 0x56381e04a460 [06:03:51.930] parsetree_list = 0x56381e13c3e8 [06:03:51.930] parsetree_item = 0x56381e13c400 [06:03:51.930] save_log_statement_stats = false [06:03:51.930] was_logged = true [06:03:51.930] use_implicit_block = false [06:03:51.930] msec_str = "@\330\322\006\377\177\000\000\230Y\343\0338V\000\000p\326\322\006\377\177\000\000\026\001\000\000\000\000\000" [06:03:51.930] __func__ = "exec_simple_query" [06:03:51.930] #20 0x000056381bb8182d in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [06:03:51.930] query_string = 0x56381dfb6af0 "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"... [06:03:51.930] firstchar = [06:03:51.930] input_message = {data = 0x56381dfb6af0 "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} [06:03:51.930] local_sigjmp_buf = {{__jmpbuf = {94798998698104, -2896467309717108565, 4, 140733307869248, 140733307869392, 140733307869396, -8916112693586835285, -2896482603271337813}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 6016, 10, 94799021423072, 0, 168, 94798986165561, 0, 10, 2, 94798998698112, 94799020904080, 94798998692192, 140733307869248, 140733307869392, 140733307869396}}}} [06:03:51.930] send_ready_for_query = false [06:03:51.930] idle_in_transaction_timeout_enabled = false [06:03:51.930] idle_session_timeout_enabled = false [06:03:51.930] __func__ = "PostgresMain" [06:03:51.930] #21 0x000056381bb7794f in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [06:03:51.930] bsdata = [06:03:51.930] #22 0x000056381ba301e0 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7fff06d2d7ec "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7fff06d2d840) at ../src/backend/postmaster/launch_backend.c:274 [06:03:51.930] pid = [06:03:51.930] #23 0x000056381ba35c8c in BackendStartup (client_sock=client_sock@entry=0x7fff06d2d840) at ../src/backend/postmaster/postmaster.c:3415 [06:03:51.930] bn = 0x56381dfe36a8 [06:03:51.930] pid = [06:03:51.930] startup_data = {canAcceptConnections = CAC_OK} [06:03:51.930] __func__ = "BackendStartup" [06:03:51.930] #24 0x000056381ba361ee in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [06:03:51.930] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\231\221=\177\000\000>\004\000\000\000\000\000\000\260\227\003\220=\177\000\000\240?[\221=\177\000\000\370\330\322\006\377\177\000\000\364\330\322\006\377\177", '\000' , "\262\r\300\0328V\000\000H\367\273\0328V\000\000\300\331\322\006\377\177\000\000\270\331\322\006\377\177\000\000\225[\362\001jP\202\023\020\v\376\0358V\000\000,\000\000\000\000\000\000", __ss_align = 0}, salen = 2}} [06:03:51.930] i = 0 [06:03:51.930] now = [06:03:51.930] last_lockfile_recheck_time = 1726380043 [06:03:51.930] last_touch_time = 1726380043 [06:03:51.930] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 114481664, user_data = 0x0}, {pos = 15, events = 0, fd = 448794034, user_data = 0x7f3d919bc668}, {pos = -1863805392, events = 32573, fd = -1852063008, user_data = 0x7c96e577}, {pos = 114481728, events = 32767, fd = -1852233144, user_data = 0xf}, {pos = -1863805392, events = 32573, fd = 1, user_data = 0x0}, {pos = 1, events = 0, fd = -1852063008, user_data = 0x7fff06d2d9b8}, {pos = 114481600, events = 32767, fd = -1852062104, user_data = 0x0}, {pos = 503019024, events = 22072, fd = -1878070043, user_data = 0x7fff06d2ded3}, {pos = 1, events = 0, fd = 114481600, user_data = 0xffffffff}, {pos = -1878859744, events = 32573, fd = -1856290912, user_data = 0x56381dfe23a8}, {pos = 503194248, events = 22072, fd = 503212337, user_data = 0x7f3d91998ebe}, {pos = 1, events = 0, fd = -1852063008, user_data = 0x1b6}, {pos = 473611696, events = 22072, fd = 0, user_data = 0x1}, {pos = 503023920, events = 22072, fd = -1852207426, user_data = 0x1}, {pos = 0, events = 0, fd = -1878859744, user_data = 0x7f3d900f2dc0 }, {pos = 16, events = 0, fd = 114482704, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x7f3d9199b1ba}, {pos = 0, events = 0, fd = -1878332124, user_data = 0x0}, {pos = 480481824, events = 22072, fd = 2, user_data = 0x7}, {pos = 502763312, events = 22072, fd = 1952410737, user_data = 0x16a}, {pos = 473611088, events = 22072, fd = 4, user_data = 0x2ffff00001fa0}, {pos = 503023920, events = 22072, fd = -1852207426, user_data = 0x1}, {pos = -1878298643, events = 32573, fd = -1878825784, user_data = 0x56381dfeb9a0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = -1877009312, events = 32573, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x56381df78f30}, {pos = -1878296054, events = 32573, 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 = 0x7f3d9152b540}, {pos = -1856849280, events = 32573, 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 = -1877026336, events = 32573, fd = -1878388370, user_data = 0x100000400}, {pos = 7, events = 0, fd = 2, user_data = 0x1382506af273fd00}, {pos = -1877023264, events = 32573, fd = -328, user_data = 0x0}, {pos = 503193928, events = 22072, fd = 1024, user_data = 0x56381dfe2148}, {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 = 23240, events = 0, fd = -328, user_data = 0x0}, {pos = 503023920, events = 22072, fd = -1878052909, user_data = 0x7fff06d2dec8}, {pos = 468087046, events = 22072, fd = 480540720, user_data = 0x56381be55bc3 }, {pos = 503193728, events = 22072, fd = 503015920, user_data = 0x56381dfe2080}, {pos = -1878304706, events = 32573, fd = 0, user_data = 0x56381be6782d }, {pos = 503193728, events = 1, fd = 468089206, user_data = 0x56381dfb69f0}, {pos = -227279616, events = 327307370, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -1878381903, user_data = 0x7f3d900a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -227279616, user_data = 0x56381df8e120}, {pos = -227279616, events = 327307370, fd = 11, user_data = 0x1382506af273fd00}, {pos = 0, events = 0, fd = -1878674887, user_data = 0x1}, {pos = 463666909, events = 22072, fd = 4194304, user_data = 0x56381be55a57 }, {pos = 502849824, events = 22072, fd = 503015920, user_data = 0x56381df8e120}, {pos = 1, events = 0, fd = 0, user_data = 0x56381be6782d }, {pos = 502849824, events = 22072, fd = 468089206, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x56381b866fb6 }, {pos = 0, events = 0, fd = 461816566, user_data = 0xb}, {pos = 463688058, events = 22072, fd = 476950128, user_data = 0x56381dfb73a8}} [06:03:51.930] nevents = 1 [06:03:51.930] __func__ = "ServerLoop" [06:03:51.930] #25 0x000056381ba37964 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x56381df74d90) at ../src/backend/postmaster/postmaster.c:1346 [06:03:51.930] opt = [06:03:51.930] status = [06:03:51.930] userDoption = [06:03:51.930] listen_addr_saved = false [06:03:51.930] output_config_variable = [06:03:51.930] __func__ = "PostmasterMain" [06:03:51.930] #26 0x000056381b877392 in main (argc=4, argv=0x56381df74d90) at ../src/backend/main/main.c:197 [06:03:51.930] do_check_root = [06:03:51.966] -e [06:03:51.966] [06:03:51.966] [06:03:52.030] dumping /tmp/cores/postgres-6-18327.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [06:03:52.279] [New LWP 18327] [06:03:52.279] [06:03:52.279] This GDB supports auto-downloading debuginfo from the following URLs: [06:03:52.279] [06:03:52.279] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [06:03:52.279] Debuginfod has been disabled. [06:03:52.279] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [06:03:52.388] [Thread debugging using libthread_db enabled] [06:03:52.388] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [06:03:52.388] Core was generated by `postgres: postgres regression [local] MERGE '. [06:03:52.388] Program terminated with signal SIGABRT, Aborted. [06:03:52.388] #0 0x00007f7bb7aa9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [06:03:53.302] [06:03:53.302] Thread 1 (Thread 0x7f7bb8246f00 (LWP 18327)): [06:03:53.302] #0 0x00007f7bb7aa9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [06:03:53.302] No symbol table info available. [06:03:53.302] #1 0x00007f7bb7a5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [06:03:53.302] No symbol table info available. [06:03:53.302] #2 0x00007f7bb7a45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [06:03:53.302] No symbol table info available. [06:03:53.302] #3 0x0000555f76ce4c70 in ExceptionalCondition (conditionName=conditionName@entry=0x555f76f32a85 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x555f76f56ed0 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [06:03:53.302] No locals. [06:03:53.302] #4 0x0000555f766917f6 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffe12a5f6d0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffe12a5f56f) at ../src/backend/executor/execTuples.c:1737 [06:03:53.302] No locals. [06:03:53.302] #5 0x0000555f76615787 in ExecIRDeleteTriggers (estate=estate@entry=0x555f79061f90, relinfo=relinfo@entry=0x555f79062540, slot=slot@entry=0x7ffe12a5f6d0) at ../src/backend/commands/trigger.c:2841 [06:03:53.302] trigger = 0x555f790627a0 [06:03:53.302] oldtuple = [06:03:53.302] trigdesc = 0x555f79062750 [06:03:53.302] newtuple = 0x0 [06:03:53.302] should_free = false [06:03:53.302] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f7bac103fe0, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [06:03:53.302] i = 0 [06:03:53.302] #6 0x0000555f766ee6f3 in ExecMergeMatched (context=0x7ffe12a5f6f0, resultRelInfo=resultRelInfo@entry=0x555f79062540, tupleid=0x0, oldtuple=0x7ffe12a5f6d0, canSetTag=true, matched=matched@entry=0x7ffe12a5f67f) at ../src/backend/executor/nodeModifyTable.c:3043 [06:03:53.302] relaction = 0x555f790e72a0 [06:03:53.302] commandType = CMD_DELETE [06:03:53.302] result = TM_Ok [06:03:53.302] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [06:03:53.302] l__state = [06:03:53.302] mtstate = 0x555f79062330 [06:03:53.302] mergeActions = 0x555f79062650 [06:03:53.302] actionStates = 0x555f790e7860 [06:03:53.302] newslot = 0x0 [06:03:53.302] rslot = 0x0 [06:03:53.302] estate = 0x555f79061f90 [06:03:53.302] econtext = 0x555f790e68b0 [06:03:53.302] isNull = false [06:03:53.302] epqstate = 0x555f79062418 [06:03:53.302] l = [06:03:53.302] __func__ = "ExecMergeMatched" [06:03:53.302] lmerge_matched = [06:03:53.302] #7 0x0000555f766ef2b1 in ExecMerge (context=context@entry=0x7ffe12a5f6f0, resultRelInfo=resultRelInfo@entry=0x555f79062540, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffe12a5f6d0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [06:03:53.302] rslot = 0x0 [06:03:53.302] matched = true [06:03:53.302] #8 0x0000555f766f0a76 in ExecModifyTable (pstate=0x555f79062330) at ../src/backend/executor/nodeModifyTable.c:4133 [06:03:53.302] node = 0x555f79062330 [06:03:53.302] context = {mtstate = 0x555f79062330, epqstate = 0x555f79062418, estate = 0x555f79061f90, planSlot = 0x555f790e4c98, tmfd = {ctid = {ip_blkid = {bi_hi = 7824, bi_lo = 30982}, ip_posid = 21855}, xmax = 1993505682, cmax = 21855, traversed = 144}, cpUpdateReturningSlot = 0x555f76d27b92 } [06:03:53.302] estate = 0x555f79061f90 [06:03:53.302] operation = CMD_MERGE [06:03:53.302] resultRelInfo = 0x555f79062540 [06:03:53.302] subplanstate = 0x555f79062c70 [06:03:53.302] slot = [06:03:53.302] oldSlot = [06:03:53.302] tuple_ctid = {ip_blkid = {bi_hi = 30993, bi_lo = 21855}, ip_posid = 0} [06:03:53.302] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x555f790b6b68} [06:03:53.302] oldtuple = 0x7ffe12a5f6d0 [06:03:53.302] tupleid = 0x0 [06:03:53.302] __func__ = "ExecModifyTable" [06:03:53.302] #9 0x0000555f76683d42 in ExecProcNodeFirst (node=0x555f79062330) at ../src/backend/executor/execProcnode.c:469 [06:03:53.302] No locals. [06:03:53.302] #10 0x0000555f7666f240 in ExecProcNode (node=node@entry=0x555f79062330) at ../src/include/executor/executor.h:278 [06:03:53.302] No locals. [06:03:53.302] #11 0x0000555f7666f3f5 in ExecutePlan (estate=estate@entry=0x555f79061f90, planstate=0x555f79062330, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x555f78f88050, execute_once=true) at ../src/backend/executor/execMain.c:1641 [06:03:53.302] slot = [06:03:53.302] current_tuple_count = 0 [06:03:53.302] #12 0x0000555f7667116d in standard_ExecutorRun (queryDesc=0x555f790ddef8, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [06:03:53.302] estate = 0x555f79061f90 [06:03:53.302] operation = CMD_MERGE [06:03:53.302] dest = 0x555f78f88050 [06:03:53.302] sendTuples = [06:03:53.302] oldcontext = 0x555f78f87d40 [06:03:53.302] __func__ = "standard_ExecutorRun" [06:03:53.302] #13 0x0000555f766713a0 in ExecutorRun (queryDesc=queryDesc@entry=0x555f790ddef8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [06:03:53.302] No locals. [06:03:53.302] #14 0x0000555f76a5824f in ProcessQuery (plan=plan@entry=0x555f79114150, sourceText=0x555f78f4eb50 "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=0x555f78f88050, qc=qc@entry=0x7ffe12a5f920) at ../src/backend/tcop/pquery.c:160 [06:03:53.302] queryDesc = 0x555f790ddef8 [06:03:53.302] #15 0x0000555f76a59e84 in PortalRunMulti (portal=portal@entry=0x555f78fd10f0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x555f78f88050, altdest=0x555f77260f00 , qc=qc@entry=0x7ffe12a5f920) at ../src/backend/tcop/pquery.c:1278 [06:03:53.302] pstmt = 0x555f79114150 [06:03:53.302] stmtlist_item__state = [06:03:53.302] active_snapshot_set = true [06:03:53.302] stmtlist_item = 0x555f79114278 [06:03:53.302] #16 0x0000555f76a5a3d6 in FillPortalStore (portal=portal@entry=0x555f78fd10f0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [06:03:53.302] treceiver = 0x555f78f88050 [06:03:53.302] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [06:03:53.302] __func__ = "FillPortalStore" [06:03:53.302] #17 0x0000555f76a5a9a7 in PortalRun (portal=portal@entry=0x555f78fd10f0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x555f791142b0, altdest=altdest@entry=0x555f791142b0, qc=0x7ffe12a5fb00) at ../src/backend/tcop/pquery.c:763 [06:03:53.302] _save_exception_stack = 0x7ffe12a5fbb0 [06:03:53.302] _save_context_stack = 0x0 [06:03:53.302] _local_sigjmp_buf = {{__jmpbuf = {0, -8121759508725876544, 93868540104944, 93868541796096, 93868540104944, 93868541796024, -2734984972149573440, -8121773913067734848}, __mask_was_saved = 0, __saved_mask = {__val = {93868503759762, 93868539570768, 112, 4, 93868503764179, 312867471, 4, 93868541796024, 112, 163, 93868540104944, 93868541796096, 93868541796072, 93868541796024, 93868503851382, 1}}}} [06:03:53.302] _do_rethrow = [06:03:53.302] result = [06:03:53.302] nprocessed = [06:03:53.302] saveTopTransactionResourceOwner = 0x555f78f8dda8 [06:03:53.302] saveTopTransactionContext = 0x555f78fe2d00 [06:03:53.302] saveActivePortal = 0x0 [06:03:53.302] saveResourceOwner = 0x555f78f8dda8 [06:03:53.302] savePortalContext = 0x0 [06:03:53.302] saveMemoryContext = 0x555f78fe2d00 [06:03:53.302] __func__ = "PortalRun" [06:03:53.302] #18 0x0000555f76a53d54 in exec_simple_query (query_string=query_string@entry=0x555f78f4eb50 "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 [06:03:53.302] cmdtaglen = 5 [06:03:53.302] snapshot_set = [06:03:53.302] per_parsetree_context = 0x0 [06:03:53.302] plantree_list = 0x555f79114260 [06:03:53.302] parsetree = 0x555f7916deb8 [06:03:53.302] commandTag = [06:03:53.302] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [06:03:53.302] querytree_list = [06:03:53.302] portal = 0x555f78fd10f0 [06:03:53.302] receiver = 0x555f791142b0 [06:03:53.302] format = 0 [06:03:53.302] cmdtagname = [06:03:53.302] parsetree_item__state = [06:03:53.302] dest = DestRemote [06:03:53.302] oldcontext = 0x555f78fe2d00 [06:03:53.302] parsetree_list = 0x555f7916dee8 [06:03:53.302] parsetree_item = 0x555f7916df00 [06:03:53.302] save_log_statement_stats = false [06:03:53.302] was_logged = false [06:03:53.302] use_implicit_block = false [06:03:53.302] msec_str = "`\375\245\022\376\177\000\000\230\251\320v_U\000\000\220\373\245\022\376\177\000\000\026\001\000\000\000\000\000" [06:03:53.302] __func__ = "exec_simple_query" [06:03:53.302] #19 0x0000555f76a5682d in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [06:03:53.302] query_string = 0x555f78f4eb50 "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"... [06:03:53.302] firstchar = [06:03:53.302] input_message = {data = 0x555f78f4eb50 "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} [06:03:53.302] local_sigjmp_buf = {{__jmpbuf = {93868516296824, -8121771607847978816, 4, 140729211288928, 140729211289072, 140729211289076, -2734984972220876608, -8121773906476386112}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 93868539301488, 15616, 93868516290912, 93868539825504, 140729211289072, 93868503763727, 0, 9, 2, 93868516296832, 93868539301488, 93868516290912, 140729211288928, 140729211289072, 140729211289076}}}} [06:03:53.302] send_ready_for_query = false [06:03:53.302] idle_in_transaction_timeout_enabled = false [06:03:53.302] idle_session_timeout_enabled = false [06:03:53.302] __func__ = "PostgresMain" [06:03:53.302] #20 0x0000555f76a4c94f in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [06:03:53.302] bsdata = [06:03:53.302] #21 0x0000555f769051e0 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffe12a5fd0c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe12a5fd60) at ../src/backend/postmaster/launch_backend.c:274 [06:03:53.302] pid = [06:03:53.302] #22 0x0000555f7690ac8c in BackendStartup (client_sock=client_sock@entry=0x7ffe12a5fd60) at ../src/backend/postmaster/postmaster.c:3415 [06:03:53.302] bn = 0x555f78f772f8 [06:03:53.302] pid = [06:03:53.302] startup_data = {canAcceptConnections = CAC_OK} [06:03:53.302] __func__ = "BackendStartup" [06:03:53.302] #23 0x0000555f7690b1ee in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [06:03:53.302] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "\245\022\376\177\000\000\364\375\245\022\376\177", '\000' , "\262]\255u_U\000\000HG\251u_U\000\000\300\376\245\022\376\177\000\000\270\376\245\022\376\177\000\000\225[\362\001\000\000\000\000\240\264\362\270{\177\000\000+", '\000' , "\307\\\255u_U\000\000hfE\271{\177\000\0000\266\362\270{\177\000", __ss_align = 140169366037216}, salen = 2}} [06:03:53.302] i = 0 [06:03:53.302] now = [06:03:53.302] last_lockfile_recheck_time = 1726380013 [06:03:53.302] last_touch_time = 1726380013 [06:03:53.302] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = 1974295986, events = 21855, fd = -1186634136, user_data = 0x7f7bb8f2b630}, {pos = -1186635040, events = 32635, fd = 2090263927, user_data = 0x7ffe12a5ff40}, {pos = -1186805176, events = 32635, fd = 15, user_data = 0x7f7bb8f2b630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = -1186635040, events = 32635, fd = 312868536, user_data = 0x7ffe12a5fec0}, {pos = -1186634136, events = 32635, fd = 0, user_data = 0x555f78f4ec10}, {pos = 1993827295, events = 21855, fd = 32768, user_data = 0x1}, {pos = 2029324624, events = 21855, fd = -1, user_data = 0x7f7bb7a2e020}, {pos = -1191555168, events = 32635, fd = 2029500392, user_data = 0x555f78f7b6c8}, {pos = 2029508833, events = 21855, fd = -1186779458, user_data = 0x1}, {pos = -1186635040, events = 32635, fd = 438, user_data = 0x555f77280db0 }, {pos = 0, events = 0, fd = 1, user_data = 0x555f78f4ec10}, {pos = -1186779458, events = 32635, fd = 1, user_data = 0x0}, {pos = -1214062560, events = 32635, fd = -1213256256, user_data = 0x10}, {pos = 312869680, events = 32766, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1186770502, user_data = 0x0}, {pos = -1213534940, events = 32635, fd = 0, user_data = 0x555f7790e220 }, {pos = 2, events = 0, fd = 7, user_data = 0x555f78f10f10}, {pos = 1990097745, events = 21855, fd = 2029526395, user_data = 0x555f769eb78a }, {pos = 1702060386, events = 1936158767, fd = 8096, user_data = 0x555f78f4ec10}, {pos = -1186779458, events = 32635, fd = 1, user_data = 0x0}, {pos = -1214028600, events = 32635, fd = -1213609856, user_data = 0x41e}, {pos = -1213501459, events = 32635, fd = 2, user_data = 0x555f78f7a4b0}, {pos = 255, events = 0, fd = 99, user_data = 0x0}, {pos = -1212212128, events = 32635, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = -1, user_data = 0x766a45592d737365}, {pos = 168453479, events = 824188960, fd = 822763892, user_data = 0x30340a3331303038}, {pos = 795768178, events = 1919378802, fd = 796095333, user_data = 0x69632f706d742f0a}, {pos = 1937076850, events = 761881389, 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 = 0, user_data = 0xa}, {pos = 1993505682, events = 21855, fd = 2029502672, user_data = 0x7f7bb7ab56eb}, {pos = -1212229152, events = 32635, fd = -1213591186, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0x605f5243fd0a0200}, {pos = -1212226080, events = 32635, 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 = 2029499784, user_data = 0x555f76d28455 }, {pos = 2029499584, events = 21855, fd = 3, user_data = 0x0}, {pos = 16120, events = 0, fd = -328, user_data = 0x0}, {pos = 2029317136, events = 21855, fd = -1213255725, user_data = 0x7ffe12a603e8}, {pos = 1993588998, events = 21855, fd = 2006042672, user_data = 0x555f76d2abc3 }, {pos = 2029499584, events = 21855, fd = 2029316688, user_data = 0x555f78f7b4c0}, {pos = -1213507522, events = 32635, fd = 0, user_data = 0x555f76d3c82d }, {pos = 2029499584, events = 1, fd = 1993591158, user_data = 0x555f78f4ea50}, {pos = -49675776, events = 1616859715, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -1213584719, user_data = 0x7f7bb7aa14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -49675776, user_data = 0x555f78f26180}, {pos = -49675776, events = 1616859715, fd = 11, user_data = 0x605f5243fd0a0200}, {pos = 0, events = 0, fd = -1213877703, user_data = 0x1}, {pos = 1989168861, events = 21855, fd = 4194304, user_data = 0x555f76d2aa57 }, {pos = 2029150592, events = 21855, fd = 2029316688, user_data = 0x555f78f26180}, {pos = 1, events = 0, fd = 0, user_data = 0x555f76d3c82d }, {pos = 2029150592, events = 21855, fd = 1993591158, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x555f7673bfb6 }, {pos = 0, events = 0, fd = 1987318518, user_data = 0xb}, {pos = 1989190010, events = 21855, fd = 2002452080, user_data = 0x555f78f4f428}} [06:03:53.302] nevents = 1 [06:03:53.302] __func__ = "ServerLoop" [06:03:53.302] #24 0x0000555f7690c964 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x555f78f0cdd0) at ../src/backend/postmaster/postmaster.c:1346 [06:03:53.302] opt = [06:03:53.302] status = [06:03:53.302] userDoption = [06:03:53.302] listen_addr_saved = false [06:03:53.302] output_config_variable = [06:03:53.302] __func__ = "PostmasterMain" [06:03:53.302] #25 0x0000555f7674c392 in main (argc=8, argv=0x555f78f0cdd0) at ../src/backend/main/main.c:197 [06:03:53.302] do_check_root = [06:03:53.336] -e [06:03:53.336] [06:03:53.336] [06:03:53.399] dumping /tmp/cores/postgres-6-19171.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [06:03:53.650] [New LWP 19171] [06:03:53.650] [06:03:53.650] This GDB supports auto-downloading debuginfo from the following URLs: [06:03:53.650] [06:03:53.650] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [06:03:53.650] Debuginfod has been disabled. [06:03:53.650] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [06:03:53.752] [Thread debugging using libthread_db enabled] [06:03:53.752] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [06:03:53.752] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [06:03:53.752] Program terminated with signal SIGABRT, Aborted. [06:03:53.752] #0 0x00007f2c268a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [06:03:54.655] [06:03:54.655] Thread 1 (Thread 0x7f2c2441ef00 (LWP 19171)): [06:03:54.655] #0 0x00007f2c268a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [06:03:54.655] No symbol table info available. [06:03:54.655] #1 0x00007f2c2685afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [06:03:54.655] No symbol table info available. [06:03:54.655] #2 0x00007f2c26845472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [06:03:54.655] No symbol table info available. [06:03:54.655] #3 0x000056362a767c70 in ExceptionalCondition (conditionName=conditionName@entry=0x56362a9b5a85 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x56362a9d9ed0 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [06:03:54.655] No locals. [06:03:54.655] #4 0x000056362a1147f6 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffcf14e1f10, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffcf14e1daf) at ../src/backend/executor/execTuples.c:1737 [06:03:54.655] No locals. [06:03:54.655] #5 0x000056362a098787 in ExecIRDeleteTriggers (estate=estate@entry=0x56362c547530, relinfo=relinfo@entry=0x56362c547ae0, slot=slot@entry=0x7ffcf14e1f10) at ../src/backend/commands/trigger.c:2841 [06:03:54.655] trigger = 0x56362c547d40 [06:03:54.655] oldtuple = [06:03:54.655] trigdesc = 0x56362c547cf0 [06:03:54.655] newtuple = 0x0 [06:03:54.655] should_free = false [06:03:54.655] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f2c1b108f08, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [06:03:54.655] i = 0 [06:03:54.655] #6 0x000056362a1716f3 in ExecMergeMatched (context=0x7ffcf14e1f30, resultRelInfo=resultRelInfo@entry=0x56362c547ae0, tupleid=0x0, oldtuple=0x7ffcf14e1f10, canSetTag=true, matched=matched@entry=0x7ffcf14e1ebf) at ../src/backend/executor/nodeModifyTable.c:3043 [06:03:54.655] relaction = 0x56362c5df260 [06:03:54.655] commandType = CMD_DELETE [06:03:54.655] result = TM_Ok [06:03:54.655] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [06:03:54.655] l__state = [06:03:54.655] mtstate = 0x56362c5478d0 [06:03:54.655] mergeActions = 0x56362c547bf0 [06:03:54.655] actionStates = 0x56362c5df820 [06:03:54.655] newslot = 0x0 [06:03:54.655] rslot = 0x0 [06:03:54.655] estate = 0x56362c547530 [06:03:54.655] econtext = 0x56362c5de870 [06:03:54.655] isNull = false [06:03:54.655] epqstate = 0x56362c5479b8 [06:03:54.655] l = [06:03:54.655] __func__ = "ExecMergeMatched" [06:03:54.655] lmerge_matched = [06:03:54.655] #7 0x000056362a1722b1 in ExecMerge (context=context@entry=0x7ffcf14e1f30, resultRelInfo=resultRelInfo@entry=0x56362c547ae0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffcf14e1f10, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [06:03:54.655] rslot = 0x0 [06:03:54.655] matched = true [06:03:54.655] #8 0x000056362a173a76 in ExecModifyTable (pstate=0x56362c5478d0) at ../src/backend/executor/nodeModifyTable.c:4133 [06:03:54.655] node = 0x56362c5478d0 [06:03:54.655] context = {mtstate = 0x56362c5478d0, epqstate = 0x56362c5479b8, estate = 0x56362c547530, planSlot = 0x56362c5dcc58, tmfd = {ctid = {ip_blkid = {bi_hi = 29744, bi_lo = 11348}, ip_posid = 22070}, xmax = 712682386, cmax = 22070, traversed = 48}, cpUpdateReturningSlot = 0x56362a7aab92 } [06:03:54.655] estate = 0x56362c547530 [06:03:54.655] operation = CMD_MERGE [06:03:54.655] resultRelInfo = 0x56362c547ae0 [06:03:54.655] subplanstate = 0x56362c548210 [06:03:54.655] slot = [06:03:54.655] oldSlot = [06:03:54.655] tuple_ctid = {ip_blkid = {bi_hi = 11360, bi_lo = 22070}, ip_posid = 0} [06:03:54.655] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x56362c586c38} [06:03:54.655] oldtuple = 0x7ffcf14e1f10 [06:03:54.655] tupleid = 0x0 [06:03:54.655] __func__ = "ExecModifyTable" [06:03:54.655] #9 0x000056362a106d42 in ExecProcNodeFirst (node=0x56362c5478d0) at ../src/backend/executor/execProcnode.c:469 [06:03:54.655] No locals. [06:03:54.655] #10 0x000056362a0f2240 in ExecProcNode (node=node@entry=0x56362c5478d0) at ../src/include/executor/executor.h:278 [06:03:54.655] No locals. [06:03:54.655] #11 0x000056362a0f23f5 in ExecutePlan (estate=estate@entry=0x56362c547530, planstate=0x56362c5478d0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x56362c5a6da0, execute_once=true) at ../src/backend/executor/execMain.c:1641 [06:03:54.655] slot = [06:03:54.655] current_tuple_count = 0 [06:03:54.655] #12 0x000056362a0f416d in standard_ExecutorRun (queryDesc=0x56362c583d78, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [06:03:54.655] estate = 0x56362c547530 [06:03:54.655] operation = CMD_MERGE [06:03:54.655] dest = 0x56362c5a6da0 [06:03:54.655] sendTuples = [06:03:54.655] oldcontext = 0x56362c5a6a90 [06:03:54.655] __func__ = "standard_ExecutorRun" [06:03:54.655] #13 0x000056362a0f43a0 in ExecutorRun (queryDesc=queryDesc@entry=0x56362c583d78, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [06:03:54.655] No locals. [06:03:54.655] #14 0x000056362a4db24f in ProcessQuery (plan=plan@entry=0x56362c604990, sourceText=0x56362c43ead0 "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=0x56362c5a6da0, qc=qc@entry=0x7ffcf14e2160) at ../src/backend/tcop/pquery.c:160 [06:03:54.655] queryDesc = 0x56362c583d78 [06:03:54.655] #15 0x000056362a4dce84 in PortalRunMulti (portal=portal@entry=0x56362c4c1720, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x56362c5a6da0, altdest=0x56362ace3f00 , qc=qc@entry=0x7ffcf14e2160) at ../src/backend/tcop/pquery.c:1278 [06:03:54.655] pstmt = 0x56362c604990 [06:03:54.655] stmtlist_item__state = [06:03:54.655] active_snapshot_set = true [06:03:54.655] stmtlist_item = 0x56362c604ab8 [06:03:54.655] #16 0x000056362a4dd3d6 in FillPortalStore (portal=portal@entry=0x56362c4c1720, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [06:03:54.655] treceiver = 0x56362c5a6da0 [06:03:54.655] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [06:03:54.655] __func__ = "FillPortalStore" [06:03:54.655] #17 0x000056362a4dd9a7 in PortalRun (portal=portal@entry=0x56362c4c1720, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x56362c604af0, altdest=altdest@entry=0x56362c604af0, qc=0x7ffcf14e2340) at ../src/backend/tcop/pquery.c:763 [06:03:54.655] _save_exception_stack = 0x7ffcf14e23f0 [06:03:54.655] _save_context_stack = 0x0 [06:03:54.655] _local_sigjmp_buf = {{__jmpbuf = {0, -2628785134874603083, 94790671406880, 94790672348272, 94790671406880, 94790672348200, -8642100346422242891, -2628798701772549707}, __mask_was_saved = 0, __saved_mask = {__val = {94790640905106, 94790670870992, 112, 4, 94790640909523, 4048429775, 4, 94790672348200, 112, 163, 94790671406880, 94790672348272, 94790672348248, 94790672348200, 94790640996726, 1}}}} [06:03:54.655] _do_rethrow = [06:03:54.655] result = [06:03:54.655] nprocessed = [06:03:54.655] saveTopTransactionResourceOwner = 0x56362c47e8d8 [06:03:54.655] saveTopTransactionContext = 0x56362c4d2700 [06:03:54.655] saveActivePortal = 0x0 [06:03:54.655] saveResourceOwner = 0x56362c47e8d8 [06:03:54.655] savePortalContext = 0x0 [06:03:54.655] saveMemoryContext = 0x56362c4d2700 [06:03:54.655] __func__ = "PortalRun" [06:03:54.655] #18 0x000056362a4d6d54 in exec_simple_query (query_string=query_string@entry=0x56362c43ead0 "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 [06:03:54.655] cmdtaglen = 5 [06:03:54.655] snapshot_set = [06:03:54.655] per_parsetree_context = 0x0 [06:03:54.655] plantree_list = 0x56362c604aa0 [06:03:54.655] parsetree = 0x56362c5a7428 [06:03:54.655] commandTag = [06:03:54.655] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [06:03:54.655] querytree_list = [06:03:54.655] portal = 0x56362c4c1720 [06:03:54.655] receiver = 0x56362c604af0 [06:03:54.655] format = 0 [06:03:54.655] cmdtagname = [06:03:54.655] parsetree_item__state = [06:03:54.655] dest = DestRemote [06:03:54.655] oldcontext = 0x56362c4d2700 [06:03:54.655] parsetree_list = 0x56362c5a7458 [06:03:54.655] parsetree_item = 0x56362c5a7470 [06:03:54.655] save_log_statement_stats = false [06:03:54.655] was_logged = true [06:03:54.655] use_implicit_block = false [06:03:54.655] msec_str = "\240%N\361\374\177\000\000\230\331x*6V\000\000\320#N\361\374\177\000\000\026\001\000\000\000\000\000" [06:03:54.655] __func__ = "exec_simple_query" [06:03:54.655] #19 0x000056362a4d982d in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [06:03:54.655] query_string = 0x56362c43ead0 "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"... [06:03:54.655] firstchar = [06:03:54.655] input_message = {data = 0x56362c43ead0 "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} [06:03:54.655] local_sigjmp_buf = {{__jmpbuf = {94790653442168, -2628796605203426891, 4, 140724356916640, 140724356916784, 140724356916788, -8642100346350939723, -2628798699786546763}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94790670601808, 14336, 94790653436256, 94790671128720, 140724356916784, 94790640909071, 0, 9, 2, 94790653442176, 94790670601808, 94790653436256, 140724356916640, 140724356916784, 140724356916788}}}} [06:03:54.655] send_ready_for_query = false [06:03:54.655] idle_in_transaction_timeout_enabled = false [06:03:54.655] idle_session_timeout_enabled = false [06:03:54.655] __func__ = "PostgresMain" [06:03:54.655] #20 0x000056362a4cf94f in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [06:03:54.655] bsdata = [06:03:54.655] #21 0x000056362a3881e0 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffcf14e254c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffcf14e25a0) at ../src/backend/postmaster/launch_backend.c:274 [06:03:54.655] pid = [06:03:54.655] #22 0x000056362a38dc8c in BackendStartup (client_sock=client_sock@entry=0x7ffcf14e25a0) at ../src/backend/postmaster/postmaster.c:3415 [06:03:54.655] bn = 0x56362c473d48 [06:03:54.655] pid = [06:03:54.655] startup_data = {canAcceptConnections = CAC_OK} [06:03:54.655] __func__ = "BackendStartup" [06:03:54.655] #23 0x000056362a38e1ee in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [06:03:54.655] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "N\361\374\177\000\0004&N\361\374\177", '\000' , "\262\215U)6V\000\000HwQ)6V\000\000\000'N\361\374\177\000\000\370&N\361\374\177\000\000\225[\362\001\000\000\000\000\240ā$,\177\000\000+", '\000' , "njU)6V\000\000hv\017(,\177\000\0000Ɓ$,\177\000", __ss_align = 139827627389664}, salen = 2}} [06:03:54.655] i = 0 [06:03:54.655] now = [06:03:54.655] last_lockfile_recheck_time = 1726380016 [06:03:54.655] last_touch_time = 1726380016 [06:03:54.655] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 693472690, events = 22070, fd = 672101992, user_data = 0x7f2c2481c630}, {pos = 672101088, events = 32556, fd = 2090263927, user_data = 0x7ffcf14e2780}, {pos = 671930952, events = 32556, fd = 15, user_data = 0x7f2c2481c630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = 672101088, events = 32556, fd = -246536456, user_data = 0x7ffcf14e2700}, {pos = 672101992, events = 32556, fd = 0, user_data = 0x56362c43eae8}, {pos = 713003999, events = 22070, fd = 32768, user_data = 0x1}, {pos = 742656144, events = 22070, fd = -1, user_data = 0x7f2c2682e020}, {pos = 661258144, events = 32556, fd = 742839304, user_data = 0x56362c46d2e8}, {pos = 742838465, events = 22070, fd = 671956670, user_data = 0x1}, {pos = 672101088, events = 32556, fd = 438, user_data = 0x56362ad03db0 }, {pos = 0, events = 0, fd = 1, user_data = 0x56362c43eae8}, {pos = 671956670, events = 32556, fd = 1, user_data = 0x0}, {pos = 646111264, events = 32556, fd = 646917568, user_data = 0x10}, {pos = -246535312, events = 32764, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 671965626, user_data = 0x0}, {pos = 646638884, events = 32556, fd = 0, user_data = 0x56362b391220 }, {pos = 2, events = 0, fd = 7, user_data = 0x56362c400ef0}, {pos = 709274449, events = 22070, fd = 742856875, user_data = 0x56362a46e78a }, {pos = 1702060386, events = 1936158767, fd = 8096, user_data = 0x56362c43eae8}, {pos = 671956670, events = 32556, fd = 1, user_data = 0x0}, {pos = 646145224, events = 32556, fd = 646563968, user_data = 0x41e}, {pos = 646672007, events = 32556, fd = 2, user_data = 0x7d0}, {pos = 255, events = 0, fd = 99, user_data = 0x0}, {pos = 647961696, events = 32556, fd = 255, user_data = 0xfffffffffffffef0}, {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 = -1, user_data = 0xffffffffffffffff}, {pos = 794915937, events = 808476532, fd = 1735417650, user_data = 0x5f67702f6e757274}, {pos = 1919381621, events = 795173985, 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 = 0, user_data = 0xa}, {pos = 712682386, events = 22070, fd = 742812384, user_data = 0x7f2c268b56eb}, {pos = 647944672, events = 32556, fd = 646582638, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xb11f6d7a7f2e5700}, {pos = 647947744, events = 32556, 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 = 742838696, user_data = 0x56362a7ab455 }, {pos = 742838496, events = 22070, fd = 3, user_data = 0x0}, {pos = 16736, events = 0, fd = -328, user_data = 0x0}, {pos = 742648552, events = 22070, fd = 646918099, user_data = 0x7ffcf14e2c28}, {pos = 712765702, events = 22070, fd = 725219376, user_data = 0x56362a7adbc3 }, {pos = 742838496, events = 22070, fd = 742648272, user_data = 0x56362c46d0e0}, {pos = 646665963, events = 32556, fd = 0, user_data = 0x56362a7bf82d }, {pos = 742838496, events = 1, fd = 712767862, user_data = 0x56362c43e9d0}, {pos = 2133743360, events = 2971626874, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 646589105, user_data = 0x7f2c268a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 2133743360, user_data = 0x56362c416100}, {pos = 2133743360, events = 2971626874, fd = 11, user_data = 0xb11f6d7a7f2e5700}, {pos = 0, events = 0, fd = 646296121, user_data = 0x1}, {pos = 708345565, events = 22070, fd = 4194304, user_data = 0x56362a7ada57 }, {pos = 742482176, events = 22070, fd = 742648272, user_data = 0x56362c416100}, {pos = 1, events = 0, fd = 0, user_data = 0x56362a7bf82d }, {pos = 742482176, events = 22070, fd = 712767862, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x56362a1befb6 }, {pos = 0, events = 0, fd = 706495222, user_data = 0xb}, {pos = 708366714, events = 22070, fd = 721628784, user_data = 0x56362c43f378}} [06:03:54.656] nevents = 1 [06:03:54.656] __func__ = "ServerLoop" [06:03:54.656] #24 0x000056362a38f964 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x56362c3fcd60) at ../src/backend/postmaster/postmaster.c:1346 [06:03:54.656] opt = [06:03:54.656] status = [06:03:54.656] userDoption = [06:03:54.656] listen_addr_saved = false [06:03:54.656] output_config_variable = [06:03:54.656] __func__ = "PostmasterMain" [06:03:54.656] #25 0x000056362a1cf392 in main (argc=4, argv=0x56362c3fcd60) at ../src/backend/main/main.c:197 [06:03:54.656] do_check_root =