[23:47:29.198] src/tools/ci/cores_backtrace.sh linux /tmp/cores [23:47:29.425] dumping /tmp/cores/postgres-6-26908.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [23:47:29.681] [New LWP 26908] [23:47:29.681] [23:47:29.681] This GDB supports auto-downloading debuginfo from the following URLs: [23:47:29.681] [23:47:29.681] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [23:47:29.681] Debuginfod has been disabled. [23:47:29.681] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [23:47:29.804] [Thread debugging using libthread_db enabled] [23:47:29.804] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [23:47:29.804] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [23:47:29.804] Program terminated with signal SIGABRT, Aborted. [23:47:29.804] #0 0x00007f6fb48a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [23:47:30.676] [23:47:30.676] Thread 1 (Thread 0x7f6fb47d4f00 (LWP 26908)): [23:47:30.676] #0 0x00007f6fb48a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [23:47:30.676] No symbol table info available. [23:47:30.676] #1 0x00007f6fb485afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [23:47:30.676] No symbol table info available. [23:47:30.676] #2 0x00007f6fb4845472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [23:47:30.676] No symbol table info available. [23:47:30.676] #3 0x000056088bfbc784 in ExceptionalCondition (conditionName=conditionName@entry=0x56088c209e45 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x56088c22e218 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [23:47:30.676] No locals. [23:47:30.676] #4 0x000056088b96c36d in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffe920e54e0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffe920e537f) at ../src/backend/executor/execTuples.c:1737 [23:47:30.676] No locals. [23:47:30.676] #5 0x000056088b8f0467 in ExecIRDeleteTriggers (estate=estate@entry=0x56088ddcc500, relinfo=relinfo@entry=0x56088ddccab0, slot=slot@entry=0x7ffe920e54e0) at ../src/backend/commands/trigger.c:2841 [23:47:30.676] trigger = 0x56088ddccd10 [23:47:30.676] oldtuple = [23:47:30.676] trigdesc = 0x56088ddcccc0 [23:47:30.676] newtuple = 0x0 [23:47:30.676] should_free = false [23:47:30.676] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f6fa91446e8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [23:47:30.676] i = 0 [23:47:30.676] #6 0x000056088b9c926a in ExecMergeMatched (context=0x7ffe920e5500, resultRelInfo=resultRelInfo@entry=0x56088ddccab0, tupleid=0x0, oldtuple=0x7ffe920e54e0, canSetTag=true, matched=matched@entry=0x7ffe920e548f) at ../src/backend/executor/nodeModifyTable.c:3043 [23:47:30.676] relaction = 0x56088de099b0 [23:47:30.676] commandType = CMD_DELETE [23:47:30.676] result = TM_Ok [23:47:30.676] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [23:47:30.676] l__state = [23:47:30.676] mtstate = 0x56088ddcc8a0 [23:47:30.676] mergeActions = 0x56088ddccbc0 [23:47:30.676] actionStates = 0x56088de09f70 [23:47:30.676] newslot = 0x0 [23:47:30.676] rslot = 0x0 [23:47:30.676] estate = 0x56088ddcc500 [23:47:30.676] econtext = 0x56088de08fc0 [23:47:30.676] isNull = false [23:47:30.676] epqstate = 0x56088ddcc988 [23:47:30.676] l = [23:47:30.676] __func__ = "ExecMergeMatched" [23:47:30.676] lmerge_matched = [23:47:30.676] #7 0x000056088b9c9e28 in ExecMerge (context=context@entry=0x7ffe920e5500, resultRelInfo=resultRelInfo@entry=0x56088ddccab0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffe920e54e0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [23:47:30.676] rslot = 0x0 [23:47:30.676] matched = true [23:47:30.676] #8 0x000056088b9cb5ed in ExecModifyTable (pstate=0x56088ddcc8a0) at ../src/backend/executor/nodeModifyTable.c:4133 [23:47:30.676] node = 0x56088ddcc8a0 [23:47:30.676] context = {mtstate = 0x56088ddcc8a0, epqstate = 0x56088ddcc988, estate = 0x56088ddcc500, planSlot = 0x56088de073a8, tmfd = {ctid = {ip_blkid = {bi_hi = 50176, bi_lo = 36316}, ip_posid = 22024}, xmax = 2348807813, cmax = 22024, traversed = false}, cpUpdateReturningSlot = 0x56088bfff685 } [23:47:30.676] estate = 0x56088ddcc500 [23:47:30.676] operation = CMD_MERGE [23:47:30.676] resultRelInfo = 0x56088ddccab0 [23:47:30.676] subplanstate = 0x56088ddcd1e0 [23:47:30.676] slot = [23:47:30.676] oldSlot = [23:47:30.676] tuple_ctid = {ip_blkid = {bi_hi = 36331, bi_lo = 22024}, ip_posid = 0} [23:47:30.676] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x56088de2f148} [23:47:30.676] oldtuple = 0x7ffe920e54e0 [23:47:30.676] tupleid = 0x0 [23:47:30.676] __func__ = "ExecModifyTable" [23:47:30.676] #9 0x000056088b95e8b9 in ExecProcNodeFirst (node=0x56088ddcc8a0) at ../src/backend/executor/execProcnode.c:469 [23:47:30.676] No locals. [23:47:30.676] #10 0x000056088b949db7 in ExecProcNode (node=node@entry=0x56088ddcc8a0) at ../src/include/executor/executor.h:278 [23:47:30.676] No locals. [23:47:30.676] #11 0x000056088b949f6c in ExecutePlan (estate=estate@entry=0x56088ddcc500, planstate=0x56088ddcc8a0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x56088de512b0, execute_once=true) at ../src/backend/executor/execMain.c:1641 [23:47:30.676] slot = [23:47:30.676] current_tuple_count = 0 [23:47:30.676] #12 0x000056088b94bce4 in standard_ExecutorRun (queryDesc=0x56088de4a118, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [23:47:30.676] estate = 0x56088ddcc500 [23:47:30.676] operation = CMD_MERGE [23:47:30.676] dest = 0x56088de512b0 [23:47:30.676] sendTuples = [23:47:30.676] oldcontext = 0x56088de50fa0 [23:47:30.676] __func__ = "standard_ExecutorRun" [23:47:30.676] #13 0x000056088b94bf17 in ExecutorRun (queryDesc=queryDesc@entry=0x56088de4a118, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [23:47:30.676] No locals. [23:47:30.676] #14 0x000056088bd31082 in ProcessQuery (plan=plan@entry=0x56088debe2d8, sourceText=0x56088dcc9ad0 "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=0x56088de512b0, qc=qc@entry=0x7ffe920e5730) at ../src/backend/tcop/pquery.c:160 [23:47:30.676] queryDesc = 0x56088de4a118 [23:47:30.676] #15 0x000056088bd32cb7 in PortalRunMulti (portal=portal@entry=0x56088dd4c720, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x56088de512b0, altdest=0x56088c5071e0 , qc=qc@entry=0x7ffe920e5730) at ../src/backend/tcop/pquery.c:1278 [23:47:30.676] pstmt = 0x56088debe2d8 [23:47:30.676] stmtlist_item__state = [23:47:30.676] active_snapshot_set = true [23:47:30.676] stmtlist_item = 0x56088debe400 [23:47:30.676] #16 0x000056088bd33209 in FillPortalStore (portal=portal@entry=0x56088dd4c720, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [23:47:30.676] treceiver = 0x56088de512b0 [23:47:30.676] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [23:47:30.676] __func__ = "FillPortalStore" [23:47:30.676] #17 0x000056088bd337da in PortalRun (portal=portal@entry=0x56088dd4c720, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x56088debe438, altdest=altdest@entry=0x56088debe438, qc=0x7ffe920e5910) at ../src/backend/tcop/pquery.c:763 [23:47:30.676] _save_exception_stack = 0x7ffe920e59c0 [23:47:30.676] _save_context_stack = 0x0 [23:47:30.676] _local_sigjmp_buf = {{__jmpbuf = {0, -8078525792976621221, 94594739259168, 94594740012752, 94594739259168, 94594740012680, -2589727717079633573, -8078538649428807333}, __mask_was_saved = 0, __saved_mask = {__val = {94594708534917, 94594738723280, 112, 4, 94594708539334, 2450413727, 4, 94594740012680, 112, 163, 94594739259168, 94594740012752, 94594740012728, 94594740012680, 94594708626537, 1}}}} [23:47:30.676] _do_rethrow = [23:47:30.676] result = [23:47:30.676] nprocessed = [23:47:30.676] saveTopTransactionResourceOwner = 0x56088dd098d8 [23:47:30.676] saveTopTransactionContext = 0x56088dd5d700 [23:47:30.676] saveActivePortal = 0x0 [23:47:30.676] saveResourceOwner = 0x56088dd098d8 [23:47:30.676] savePortalContext = 0x0 [23:47:30.676] saveMemoryContext = 0x56088dd5d700 [23:47:30.676] __func__ = "PortalRun" [23:47:30.676] #18 0x000056088bd2cb87 in exec_simple_query (query_string=query_string@entry=0x56088dcc9ad0 "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 [23:47:30.676] cmdtaglen = 5 [23:47:30.676] snapshot_set = [23:47:30.676] per_parsetree_context = 0x0 [23:47:30.676] plantree_list = 0x56088debe3e8 [23:47:30.676] parsetree = 0x56088de04688 [23:47:30.676] commandTag = [23:47:30.676] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [23:47:30.676] querytree_list = [23:47:30.676] portal = 0x56088dd4c720 [23:47:30.676] receiver = 0x56088debe438 [23:47:30.676] format = 0 [23:47:30.676] cmdtagname = [23:47:30.676] parsetree_item__state = [23:47:30.676] dest = DestRemote [23:47:30.676] oldcontext = 0x56088dd5d700 [23:47:30.676] parsetree_list = 0x56088de046b8 [23:47:30.676] parsetree_item = 0x56088de046d0 [23:47:30.676] save_log_statement_stats = false [23:47:30.676] was_logged = true [23:47:30.676] use_implicit_block = false [23:47:30.676] msec_str = "p[\016\222\376\177\000\000\213$\376\213\bV\000\000\240Y\016\222\376\177\000\000\026\001\000\000\000\000\000" [23:47:30.676] __func__ = "exec_simple_query" [23:47:30.676] #19 0x000056088bd2f660 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [23:47:30.676] query_string = 0x56088dcc9ad0 "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"... [23:47:30.676] firstchar = [23:47:30.676] input_message = {data = 0x56088dcc9ad0 "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} [23:47:30.676] local_sigjmp_buf = {{__jmpbuf = {94594720858072, -8078528403936104101, 4, 140731348835184, 140731348835328, 140731348835332, -2589727717528424101, -8078538652320779941}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94594738454096, 14336, 94594720852160, 94594738981008, 140731348835328, 94594708538882, 0, 9, 2, 94594720858080, 94594738454096, 94594720852160, 140731348835184, 140731348835328, 140731348835332}}}} [23:47:30.676] send_ready_for_query = false [23:47:30.676] idle_in_transaction_timeout_enabled = false [23:47:30.676] idle_session_timeout_enabled = false [23:47:30.676] __func__ = "PostgresMain" [23:47:30.676] #20 0x000056088bd25782 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [23:47:30.676] bsdata = [23:47:30.676] #21 0x000056088bbddf15 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffe920e5b1c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe920e5b70) at ../src/backend/postmaster/launch_backend.c:274 [23:47:30.676] pid = [23:47:30.676] #22 0x000056088bbe39c1 in BackendStartup (client_sock=client_sock@entry=0x7ffe920e5b70) at ../src/backend/postmaster/postmaster.c:3414 [23:47:30.676] bn = 0x56088dcfee88 [23:47:30.676] pid = [23:47:30.676] startup_data = {canAcceptConnections = CAC_OK} [23:47:30.676] __func__ = "BackendStartup" [23:47:30.676] #23 0x000056088bbe3f23 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [23:47:30.676] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\202\264o\177\000\0004\\\016\222\376\177\000\000\3120\027\266o\177\000\000=\004\000\000\000\000\000\000\220\227\203\264o\177\000\000\240Oٵo\177\000\0008\\\016\222\376\177\000\0004\\\016\222\376\177\000\000\000\000\000\000\000\000\000\000\320[\016\222\376\177\000\000\253Kۊ\bV\000\000\0207\327\212\bV\000\000\000]\016\222\376\177\000\000\370\\\016\222\376\177\000\000\225[\362\001\000\000\000", __ss_align = 140117768582304}, salen = 2}} [23:47:30.676] i = 0 [23:47:30.676] now = [23:47:30.676] last_lockfile_recheck_time = 1724715824 [23:47:30.676] last_touch_time = 1724715824 [23:47:30.676] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 1, user_data = 0x7f6fb619d2e0}, {pos = -1844552584, events = 0, fd = 0, user_data = 0x7f6fb619d668}, {pos = -1965339733, events = 22024, fd = -1239820696, user_data = 0x7f6fb5d2b630}, {pos = -1239821600, events = 32623, fd = 2090263927, user_data = 0x7ffe920e5d80}, {pos = -1239991736, events = 32623, fd = 15, user_data = 0x7f6fb5d2b630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = -1239821600, events = 32623, fd = -1844552456, user_data = 0x7ffe920e5d00}, {pos = -1239820696, events = 32623, fd = 0, user_data = 0x56088dcf8408}, {pos = -1915780376, events = 22024, fd = -1915780927, user_data = 0x7f6f00000001}, {pos = 1, events = 0, fd = -1, user_data = 0x7f6fb482e000}, {pos = -1244049504, events = 32623, fd = -1915780088, user_data = 0x7ffe920e60f0}, {pos = -1915808920, events = 22024, fd = -1915779856, user_data = 0x56088dcf8408}, {pos = -1239821600, events = 32623, fd = 439, user_data = 0x56088c526db8 }, {pos = 0, events = 0, fd = 1, user_data = 0x56088dcc9ae8}, {pos = -1239966018, events = 32623, fd = 1, user_data = 0x0}, {pos = -1266491392, events = 32623, fd = -1265685056, user_data = 0x7ffe920e6160}, {pos = -1844551360, events = 32766, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1239957078, user_data = 0x0}, {pos = -1265963756, events = 32623, fd = 0, user_data = 0x56088cbb19a0 }, {pos = 2, events = 0, fd = 7, user_data = 0x56088dc8bef0}, {pos = 1952410737, events = 28781, fd = -1266457432, user_data = 0x7f6fb489c880 }, {pos = -1266856520, events = 32623, fd = 8096, user_data = 0x100007f00000002}, {pos = -1265930633, events = 32623, fd = 2, user_data = 0x7d0}, {pos = 255, events = 0, fd = 99, user_data = 0x2}, {pos = -1264640928, events = 32623, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x56088dc8bef0}, {pos = -1265927686, events = 32623, fd = 1663923061, user_data = 0x56088dc8bef0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xffffff0000000000}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1, user_data = 0xffffffffffffffff}, {pos = 794915937, events = 808476532, fd = 1735417650, user_data = 0x5f67702f6e757274}, {pos = 1919381621, events = 795173985, fd = 0, user_data = 0x7f0000000000}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xfa8296694f059400}, {pos = -1264654880, events = 32623, fd = -328, user_data = 0x0}, {pos = -1915780696, events = 22024, fd = 1024, user_data = 0x56088dcf81a8}, {pos = -1844551176, events = 32766, fd = -1265926513, user_data = 0x2}, {pos = 6, events = 2147483648, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 3, user_data = 0x0}, {pos = 24440, events = 0, fd = -328, user_data = 0x0}, {pos = -1915970840, events = 22024, fd = -1265684525, user_data = 0x7ffe920e61f8}, {pos = -1946076167, events = 22024, fd = -1933836400, user_data = 0x56088c0026b6 }, {pos = -1915780896, events = 22024, fd = -1915971120, user_data = 0x56088dcf80e0}, {pos = -1265936677, events = 32623, fd = 0, user_data = 0x56088c014320 }, {pos = -1915780896, events = 1, fd = -1946074007, user_data = 0x56088dcc99d0}, {pos = 1325765632, events = 4202862185, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -1266013519, user_data = 0x7f6fb48a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1325765632, user_data = 0x56088dca1100}, {pos = 1325765632, events = 4202862185, fd = 11, user_data = 0xfa8296694f059400}, {pos = 0, events = 0, fd = -1266306503, user_data = 0x1}, {pos = -1950491630, events = 22024, fd = 4194304, user_data = 0x56088c00254a }, {pos = -1916137216, events = 22024, fd = -1915971120, user_data = 0x56088dca1100}, {pos = 1, events = 0, fd = 0, user_data = 0x56088c014320 }, {pos = -1916137216, events = 22024, fd = -1946074007, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x56088ba168d1 }, {pos = 0, events = 0, fd = -1952334821, user_data = 0xb}, {pos = -1950470481, events = 22024, fd = -1937422160, user_data = 0x56088dcca378}} [23:47:30.676] nevents = 1 [23:47:30.676] __func__ = "ServerLoop" [23:47:30.676] #24 0x000056088bbe5699 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x56088dc87d60) at ../src/backend/postmaster/postmaster.c:1346 [23:47:30.676] opt = [23:47:30.676] status = [23:47:30.676] userDoption = [23:47:30.676] listen_addr_saved = false [23:47:30.676] output_config_variable = [23:47:30.676] __func__ = "PostmasterMain" [23:47:30.676] #25 0x000056088ba26cfc in main (argc=4, argv=0x56088dc87d60) at ../src/backend/main/main.c:197 [23:47:30.676] do_check_root = [23:47:30.711] -e [23:47:30.711] [23:47:30.711] [23:47:30.776] dumping /tmp/cores/postgres-6-33303.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [23:47:31.022] [New LWP 33303] [23:47:31.022] [23:47:31.022] This GDB supports auto-downloading debuginfo from the following URLs: [23:47:31.022] [23:47:31.022] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [23:47:31.022] Debuginfod has been disabled. [23:47:31.022] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [23:47:31.130] [Thread debugging using libthread_db enabled] [23:47:31.130] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [23:47:31.130] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [23:47:31.130] Program terminated with signal SIGABRT, Aborted. [23:47:31.130] #0 0x00007f80862a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [23:47:32.014] [23:47:32.014] Thread 1 (Thread 0x7f80861d4f00 (LWP 33303)): [23:47:32.014] #0 0x00007f80862a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [23:47:32.014] No symbol table info available. [23:47:32.014] #1 0x00007f808625afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [23:47:32.014] No symbol table info available. [23:47:32.014] #2 0x00007f8086245472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [23:47:32.014] No symbol table info available. [23:47:32.014] #3 0x000056098d575784 in ExceptionalCondition (conditionName=conditionName@entry=0x56098d7c2e45 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x56098d7e7218 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [23:47:32.014] No locals. [23:47:32.014] #4 0x000056098cf2536d in ExecFetchSlotHeapTuple (slot=slot@entry=0x7fff1cb67bb0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7fff1cb67a4f) at ../src/backend/executor/execTuples.c:1737 [23:47:32.014] No locals. [23:47:32.014] #5 0x000056098cea9467 in ExecIRDeleteTriggers (estate=estate@entry=0x56098f169e60, relinfo=relinfo@entry=0x56098f16a410, slot=slot@entry=0x7fff1cb67bb0) at ../src/backend/commands/trigger.c:2841 [23:47:32.014] trigger = 0x56098f16a670 [23:47:32.014] oldtuple = [23:47:32.014] trigdesc = 0x56098f16a620 [23:47:32.014] newtuple = 0x0 [23:47:32.014] should_free = false [23:47:32.014] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f8081ec1ca8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [23:47:32.014] i = 0 [23:47:32.014] #6 0x000056098cf8226a in ExecMergeMatched (context=0x7fff1cb67bd0, resultRelInfo=resultRelInfo@entry=0x56098f16a410, tupleid=0x0, oldtuple=0x7fff1cb67bb0, canSetTag=true, matched=matched@entry=0x7fff1cb67b5f) at ../src/backend/executor/nodeModifyTable.c:3043 [23:47:32.014] relaction = 0x56098f220de0 [23:47:32.014] commandType = CMD_DELETE [23:47:32.014] result = TM_Ok [23:47:32.014] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [23:47:32.014] l__state = [23:47:32.014] mtstate = 0x56098f16a200 [23:47:32.014] mergeActions = 0x56098f16a520 [23:47:32.014] actionStates = 0x56098f2213a0 [23:47:32.014] newslot = 0x0 [23:47:32.014] rslot = 0x0 [23:47:32.014] estate = 0x56098f169e60 [23:47:32.014] econtext = 0x56098f2203f0 [23:47:32.014] isNull = false [23:47:32.014] epqstate = 0x56098f16a2e8 [23:47:32.014] l = [23:47:32.014] __func__ = "ExecMergeMatched" [23:47:32.014] lmerge_matched = [23:47:32.014] #7 0x000056098cf82e28 in ExecMerge (context=context@entry=0x7fff1cb67bd0, resultRelInfo=resultRelInfo@entry=0x56098f16a410, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7fff1cb67bb0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [23:47:32.014] rslot = 0x0 [23:47:32.014] matched = true [23:47:32.014] #8 0x000056098cf845ed in ExecModifyTable (pstate=0x56098f16a200) at ../src/backend/executor/nodeModifyTable.c:4133 [23:47:32.014] node = 0x56098f16a200 [23:47:32.014] context = {mtstate = 0x56098f16a200, epqstate = 0x56098f16a2e8, estate = 0x56098f169e60, planSlot = 0x56098f21e7d8, tmfd = {ctid = {ip_blkid = {bi_hi = 3152, bi_lo = 36642}, ip_posid = 22025}, xmax = 2401238472, cmax = 22025, traversed = 5}, cpUpdateReturningSlot = 0x56098f1ffdc8} [23:47:32.014] estate = 0x56098f169e60 [23:47:32.014] operation = CMD_MERGE [23:47:32.014] resultRelInfo = 0x56098f16a410 [23:47:32.014] subplanstate = 0x56098f16ab40 [23:47:32.014] slot = [23:47:32.014] oldSlot = [23:47:32.014] tuple_ctid = {ip_blkid = {bi_hi = 36642, bi_lo = 22025}, ip_posid = 0} [23:47:32.014] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x56098f1ad598} [23:47:32.014] oldtuple = 0x7fff1cb67bb0 [23:47:32.014] tupleid = 0x0 [23:47:32.014] __func__ = "ExecModifyTable" [23:47:32.014] #9 0x000056098cf178b9 in ExecProcNodeFirst (node=0x56098f16a200) at ../src/backend/executor/execProcnode.c:469 [23:47:32.014] No locals. [23:47:32.014] #10 0x000056098cf02db7 in ExecProcNode (node=node@entry=0x56098f16a200) at ../src/include/executor/executor.h:278 [23:47:32.014] No locals. [23:47:32.014] #11 0x000056098cf02f6c in ExecutePlan (estate=estate@entry=0x56098f169e60, planstate=0x56098f16a200, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x56098f1d1760, execute_once=true) at ../src/backend/executor/execMain.c:1641 [23:47:32.014] slot = [23:47:32.014] current_tuple_count = 0 [23:47:32.014] #12 0x000056098cf04ce4 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x56098f1da3b8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [23:47:32.014] estate = 0x56098f169e60 [23:47:32.014] operation = CMD_MERGE [23:47:32.014] dest = 0x56098f1d1760 [23:47:32.014] sendTuples = [23:47:32.014] oldcontext = 0x56098f1d1450 [23:47:32.014] __func__ = "standard_ExecutorRun" [23:47:32.014] #13 0x00007f8084226813 in pgss_ExecutorRun (queryDesc=0x56098f1da3b8, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1031 [23:47:32.014] _save_exception_stack = 0x7fff1cb67fb0 [23:47:32.014] _save_context_stack = 0x0 [23:47:32.014] _local_sigjmp_buf = {{__jmpbuf = {94599055778744, 6109660035438368411, 94599054277360, 94599055742816, 0, 0, 6109660035360773787, 6068299535549879963}, __mask_was_saved = 0, __saved_mask = {__val = {2147483647, 94599055742816, 0, 0, 94599026371689, 0, 1, 0, 94599019431920, 94599055778744, 94599038603232, 94599055742032, 140189949392844, 94599055778744, 0, 94599054277360}}}} [23:47:32.014] _do_rethrow = false [23:47:32.014] #14 0x000056098cf04f0a in ExecutorRun (queryDesc=queryDesc@entry=0x56098f1da3b8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:297 [23:47:32.014] No locals. [23:47:32.014] #15 0x000056098d2ea082 in ProcessQuery (plan=plan@entry=0x56098f202fc0, sourceText=0x56098f06baf0 "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=0x56098f1d1760, qc=qc@entry=0x7fff1cb67f10) at ../src/backend/tcop/pquery.c:160 [23:47:32.014] queryDesc = 0x56098f1da3b8 [23:47:32.014] #16 0x000056098d2ebcb7 in PortalRunMulti (portal=portal@entry=0x56098f0ed030, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x56098f1d1760, altdest=0x56098dac01e0 , qc=qc@entry=0x7fff1cb67f10) at ../src/backend/tcop/pquery.c:1278 [23:47:32.014] pstmt = 0x56098f202fc0 [23:47:32.014] stmtlist_item__state = [23:47:32.014] active_snapshot_set = true [23:47:32.014] stmtlist_item = 0x56098f2030e8 [23:47:32.014] #17 0x000056098d2ec209 in FillPortalStore (portal=portal@entry=0x56098f0ed030, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [23:47:32.014] treceiver = 0x56098f1d1760 [23:47:32.014] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [23:47:32.014] __func__ = "FillPortalStore" [23:47:32.014] #18 0x000056098d2ec7da in PortalRun (portal=portal@entry=0x56098f0ed030, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x56098f203120, altdest=altdest@entry=0x56098f203120, qc=0x7fff1cb680f0) at ../src/backend/tcop/pquery.c:763 [23:47:32.014] _save_exception_stack = 0x7fff1cb681a0 [23:47:32.014] _save_context_stack = 0x0 [23:47:32.014] _local_sigjmp_buf = {{__jmpbuf = {0, 514809220094514843, 94599054807088, 94599056485232, 94599054807088, 94599056485160, 6109660035427882651, 514813746550429339}, __mask_was_saved = 0, __saved_mask = {__val = {94599026280069, 94599054277104, 112, 4, 94599026284486, 481722495, 4, 94599056485160, 112, 163, 94599054807088, 94599056485232, 94599056485208, 94599056485160, 94599026371689, 1}}}} [23:47:32.014] _do_rethrow = [23:47:32.014] result = [23:47:32.014] nprocessed = [23:47:32.014] saveTopTransactionResourceOwner = 0x56098f0ac4f0 [23:47:32.014] saveTopTransactionContext = 0x56098f0ff460 [23:47:32.014] saveActivePortal = 0x0 [23:47:32.014] saveResourceOwner = 0x56098f0ac4f0 [23:47:32.014] savePortalContext = 0x0 [23:47:32.014] saveMemoryContext = 0x56098f0ff460 [23:47:32.014] __func__ = "PortalRun" [23:47:32.014] #19 0x000056098d2e5b87 in exec_simple_query (query_string=query_string@entry=0x56098f06baf0 "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 [23:47:32.014] cmdtaglen = 5 [23:47:32.014] snapshot_set = [23:47:32.014] per_parsetree_context = 0x0 [23:47:32.014] plantree_list = 0x56098f2030d0 [23:47:32.014] parsetree = 0x56098f286b28 [23:47:32.014] commandTag = [23:47:32.014] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [23:47:32.014] querytree_list = [23:47:32.014] portal = 0x56098f0ed030 [23:47:32.014] receiver = 0x56098f203120 [23:47:32.014] format = 0 [23:47:32.014] cmdtagname = [23:47:32.014] parsetree_item__state = [23:47:32.014] dest = DestRemote [23:47:32.014] oldcontext = 0x56098f0ff460 [23:47:32.014] parsetree_list = 0x56098f286b58 [23:47:32.014] parsetree_item = 0x56098f286b70 [23:47:32.014] save_log_statement_stats = false [23:47:32.014] was_logged = true [23:47:32.014] use_implicit_block = false [23:47:32.014] msec_str = "P\203\266\034\377\177\000\000\213\264Y\215\tV\000\000\200\201\266\034\377\177\000\000\026\001\000\000\000\000\000" [23:47:32.014] __func__ = "exec_simple_query" [23:47:32.014] #20 0x000056098d2e8660 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [23:47:32.014] query_string = 0x56098f06baf0 "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"... [23:47:32.014] firstchar = [23:47:32.014] input_message = {data = 0x56098f06baf0 "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} [23:47:32.014] local_sigjmp_buf = {{__jmpbuf = {94599038603224, 514811330475349659, 4, 140733675111248, 140733675111392, 140733675111396, 6109660039257282203, 514813740433036955}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 6016, 10, 94599054526944, 0, 168, 94599026284588, 0, 10, 2, 94599038603232, 94599054007952, 94599038597312, 140733675111248, 140733675111392, 140733675111396}}}} [23:47:32.014] send_ready_for_query = false [23:47:32.014] idle_in_transaction_timeout_enabled = false [23:47:32.014] idle_session_timeout_enabled = false [23:47:32.014] __func__ = "PostgresMain" [23:47:32.014] #21 0x000056098d2de782 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [23:47:32.014] bsdata = [23:47:32.014] #22 0x000056098d196f15 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7fff1cb682fc "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7fff1cb68350) at ../src/backend/postmaster/launch_backend.c:274 [23:47:32.014] pid = [23:47:32.014] #23 0x000056098d19c9c1 in BackendStartup (client_sock=client_sock@entry=0x7fff1cb68350) at ../src/backend/postmaster/postmaster.c:3414 [23:47:32.014] bn = 0x56098f0981f8 [23:47:32.014] pid = [23:47:32.014] startup_data = {canAcceptConnections = CAC_OK} [23:47:32.014] __func__ = "BackendStartup" [23:47:32.014] #24 0x000056098d19cf23 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [23:47:32.014] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "#\206\200\177\000\000\240\257}\207\200\177\000\000\370\203\266\034\377\177\000\000\364\203\266\034\377\177", '\000' , "\253\3336\214\tV\000\000\020\3072\214\tV\000\000\300\204\266\034\377\177\000\000\270\204\266\034\377\177\000\000\225[\362\001\000\000\000\000\020[\t\217\tV\000\000,", '\000' , "\tV\000\000\300\3326\214\tV\000", __ss_align = 140190010623592}, salen = 2}} [23:47:32.014] i = 0 [23:47:32.014] now = [23:47:32.014] last_lockfile_recheck_time = 1724715854 [23:47:32.014] last_touch_time = 1724715854 [23:47:32.014] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 15, user_data = 0x56098c36dbab}, {pos = -2016885144, events = 32640, fd = -2022513104, user_data = 0x7f8087c8c2e0}, {pos = 2090263927, events = 0, fd = 481723712, user_data = 0x7f8087c62a48}, {pos = 15, events = 0, fd = -2022513104, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7f8087c8c2e0}, {pos = 481723576, events = 32767, fd = 481723584, user_data = 0x7f8087c8c668}, {pos = 0, events = 0, fd = -1895376592, user_data = 0x56098d606dc0 }, {pos = 32768, events = 0, fd = 1, user_data = 0x56098f06c610}, {pos = -1, events = 0, fd = -2044534784, user_data = 0x7f80877dafa0}, {pos = -1895205976, events = 22025, fd = -1895206264, user_data = 0x56098f09b931}, {pos = -2017030466, events = 32640, fd = 1, user_data = 0x7f8087c8c2e0}, {pos = 439, events = 0, fd = -1917977160, user_data = 0x0}, {pos = 1, events = 0, fd = -1895376592, user_data = 0x7f8087c68ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f808622e000}, {pos = -2043728448, events = 32640, fd = 16, user_data = 0x7fff1cb68920}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -2017021526, events = 32640, fd = 0, user_data = 0x7f80862aed14 }, {pos = 0, events = 0, fd = -1911117408, user_data = 0x2}, {pos = 7, events = 0, fd = -1895637200, user_data = 0x56098d27990d }, {pos = -1895167493, events = 22025, fd = -1926769361, user_data = 0x7367702f65736162}, {pos = 8096, events = 196607, fd = -1895376592, user_data = 0x7f8087c68ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f80862364a8}, {pos = -2043973667, events = 32640, fd = -1911066912, user_data = 0x56098f0a09a0}, {pos = 255, events = 0, fd = 0, user_data = 0x100007f00000002}, {pos = -2042684320, events = 32640, 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 = 0, fd = 0, user_data = 0x0}, {pos = -1, events = 4294967295, fd = -1, user_data = 0x735f3732305f742f}, {pos = 1634038388, events = 1701994349, fd = 1868785010, user_data = 0x7274735f3732302f}, {pos = -2022509248, events = 32640, fd = -2022507904, 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 = -1895192272, user_data = 0x7f80862b582e}, {pos = -2042701344, events = 32640, fd = -2044063378, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0x9da24c5169f4e600}, {pos = -2042698272, events = 32640, fd = -328, user_data = 0x0}, {pos = -1895206584, events = 22025, fd = 2, user_data = 0x8000000000000006}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -1895206784, events = 22025, fd = 3, user_data = 0x0}, {pos = 31176, events = 0, fd = -328, user_data = 0x0}, {pos = -1895376592, events = 22025, fd = -2043727917, user_data = 0x7fff1cb689d8}, {pos = -1923298311, events = 22025, fd = -1911058544, user_data = 0x56098d5bb6b6 }, {pos = -1895206784, events = 22025, fd = -1895384592, user_data = 0x56098f097080}, {pos = -2043979730, events = 32640, fd = 0, user_data = 0x56098d5cd320 }, {pos = -1895206784, events = 1, fd = -1923296151, user_data = 0x56098f06b9f0}, {pos = 1777657344, events = 2644659281, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -2044056911, user_data = 0x7f80862a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1777657344, user_data = 0x56098f043120}, {pos = 1777657344, events = 2644659281, fd = 11, user_data = 0x9da24c5169f4e600}, {pos = 0, events = 0, fd = -2044349895, user_data = 0x1}, {pos = -1927713774, events = 22025, fd = 4194304, user_data = 0x56098d5bb54a }, {pos = -1895550688, events = 22025, fd = -1895384592, user_data = 0x56098f043120}, {pos = 1, events = 0, fd = 0, user_data = 0x56098d5cd320 }, {pos = -1895550688, events = 22025, fd = -1923296151, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x56098cfcf8d1 }, {pos = 0, events = 0, fd = -1929556965, user_data = 0xb}, {pos = -1927692625, events = 22025, fd = -1914644304, user_data = 0x56098f06c3a8}} [23:47:32.014] nevents = 1 [23:47:32.014] __func__ = "ServerLoop" [23:47:32.014] #25 0x000056098d19e699 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x56098f029d90) at ../src/backend/postmaster/postmaster.c:1346 [23:47:32.014] opt = [23:47:32.014] status = [23:47:32.014] userDoption = [23:47:32.014] listen_addr_saved = false [23:47:32.014] output_config_variable = [23:47:32.014] __func__ = "PostmasterMain" [23:47:32.014] #26 0x000056098cfdfcfc in main (argc=4, argv=0x56098f029d90) at ../src/backend/main/main.c:197 [23:47:32.014] do_check_root = [23:47:32.052] -e [23:47:32.052] [23:47:32.052] [23:47:32.117] dumping /tmp/cores/postgres-6-26086.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [23:47:32.369] [New LWP 26086] [23:47:32.369] [23:47:32.369] This GDB supports auto-downloading debuginfo from the following URLs: [23:47:32.369] [23:47:32.369] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [23:47:32.369] Debuginfod has been disabled. [23:47:32.369] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [23:47:32.475] [Thread debugging using libthread_db enabled] [23:47:32.475] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [23:47:32.475] Core was generated by `postgres: postgres regression [local] MERGE '. [23:47:32.475] Program terminated with signal SIGABRT, Aborted. [23:47:32.475] #0 0x00007f44532a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [23:47:33.321] [23:47:33.321] Thread 1 (Thread 0x7f445121ff00 (LWP 26086)): [23:47:33.321] #0 0x00007f44532a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [23:47:33.321] No symbol table info available. [23:47:33.321] #1 0x00007f445325afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [23:47:33.321] No symbol table info available. [23:47:33.321] #2 0x00007f4453245472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [23:47:33.321] No symbol table info available. [23:47:33.321] #3 0x00005615f00ea784 in ExceptionalCondition (conditionName=conditionName@entry=0x5615f0337e45 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x5615f035c218 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [23:47:33.321] No locals. [23:47:33.321] #4 0x00005615efa9a36d in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffe598994c0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffe5989935f) at ../src/backend/executor/execTuples.c:1737 [23:47:33.321] No locals. [23:47:33.321] #5 0x00005615efa1e467 in ExecIRDeleteTriggers (estate=estate@entry=0x5615f1ef2320, relinfo=relinfo@entry=0x5615f1ef28d0, slot=slot@entry=0x7ffe598994c0) at ../src/backend/commands/trigger.c:2841 [23:47:33.321] trigger = 0x5615f1ef2b30 [23:47:33.321] oldtuple = [23:47:33.321] trigdesc = 0x5615f1ef2ae0 [23:47:33.321] newtuple = 0x0 [23:47:33.321] should_free = false [23:47:33.321] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f44477aac88, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [23:47:33.321] i = 0 [23:47:33.321] #6 0x00005615efaf726a in ExecMergeMatched (context=0x7ffe598994e0, resultRelInfo=resultRelInfo@entry=0x5615f1ef28d0, tupleid=0x0, oldtuple=0x7ffe598994c0, canSetTag=true, matched=matched@entry=0x7ffe5989946f) at ../src/backend/executor/nodeModifyTable.c:3043 [23:47:33.321] relaction = 0x5615f1fd9a50 [23:47:33.321] commandType = CMD_DELETE [23:47:33.321] result = TM_Ok [23:47:33.321] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [23:47:33.321] l__state = [23:47:33.321] mtstate = 0x5615f1ef26c0 [23:47:33.321] mergeActions = 0x5615f1ef29e0 [23:47:33.321] actionStates = 0x5615f1fda010 [23:47:33.321] newslot = 0x0 [23:47:33.321] rslot = 0x0 [23:47:33.321] estate = 0x5615f1ef2320 [23:47:33.321] econtext = 0x5615f1fd9060 [23:47:33.321] isNull = false [23:47:33.321] epqstate = 0x5615f1ef27a8 [23:47:33.321] l = [23:47:33.321] __func__ = "ExecMergeMatched" [23:47:33.321] lmerge_matched = [23:47:33.321] #7 0x00005615efaf7e28 in ExecMerge (context=context@entry=0x7ffe598994e0, resultRelInfo=resultRelInfo@entry=0x5615f1ef28d0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffe598994c0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [23:47:33.321] rslot = 0x0 [23:47:33.321] matched = true [23:47:33.321] #8 0x00005615efaf95ed in ExecModifyTable (pstate=0x5615f1ef26c0) at ../src/backend/executor/nodeModifyTable.c:4133 [23:47:33.321] node = 0x5615f1ef26c0 [23:47:33.321] context = {mtstate = 0x5615f1ef26c0, epqstate = 0x5615f1ef27a8, estate = 0x5615f1ef2320, planSlot = 0x5615f1fd7448, tmfd = {ctid = {ip_blkid = {bi_hi = 8736, bi_lo = 61935}, ip_posid = 22037}, xmax = 4027766405, cmax = 22037, traversed = 32}, cpUpdateReturningSlot = 0x5615f012d685 } [23:47:33.321] estate = 0x5615f1ef2320 [23:47:33.321] operation = CMD_MERGE [23:47:33.321] resultRelInfo = 0x5615f1ef28d0 [23:47:33.321] subplanstate = 0x5615f1ef3000 [23:47:33.321] slot = [23:47:33.321] oldSlot = [23:47:33.321] tuple_ctid = {ip_blkid = {bi_hi = 61950, bi_lo = 22037}, ip_posid = 0} [23:47:33.321] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x5615f1f54f68} [23:47:33.321] oldtuple = 0x7ffe598994c0 [23:47:33.321] tupleid = 0x0 [23:47:33.321] __func__ = "ExecModifyTable" [23:47:33.321] #9 0x00005615efa8c8b9 in ExecProcNodeFirst (node=0x5615f1ef26c0) at ../src/backend/executor/execProcnode.c:469 [23:47:33.321] No locals. [23:47:33.321] #10 0x00005615efa77db7 in ExecProcNode (node=node@entry=0x5615f1ef26c0) at ../src/include/executor/executor.h:278 [23:47:33.321] No locals. [23:47:33.321] #11 0x00005615efa77f6c in ExecutePlan (estate=estate@entry=0x5615f1ef2320, planstate=0x5615f1ef26c0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x5615f1f73250, execute_once=true) at ../src/backend/executor/execMain.c:1641 [23:47:33.321] slot = [23:47:33.321] current_tuple_count = 0 [23:47:33.321] #12 0x00005615efa79ce4 in standard_ExecutorRun (queryDesc=0x5615f1f76a58, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [23:47:33.321] estate = 0x5615f1ef2320 [23:47:33.321] operation = CMD_MERGE [23:47:33.321] dest = 0x5615f1f73250 [23:47:33.321] sendTuples = [23:47:33.321] oldcontext = 0x5615f1f72f40 [23:47:33.321] __func__ = "standard_ExecutorRun" [23:47:33.321] #13 0x00005615efa79f17 in ExecutorRun (queryDesc=queryDesc@entry=0x5615f1f76a58, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [23:47:33.321] No locals. [23:47:33.321] #14 0x00005615efe5f082 in ProcessQuery (plan=plan@entry=0x5615f1fe6478, sourceText=0x5615f1deeb40 "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=0x5615f1f73250, qc=qc@entry=0x7ffe59899710) at ../src/backend/tcop/pquery.c:160 [23:47:33.321] queryDesc = 0x5615f1f76a58 [23:47:33.321] #15 0x00005615efe60cb7 in PortalRunMulti (portal=portal@entry=0x5615f1e710e0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x5615f1f73250, altdest=0x5615f06351e0 , qc=qc@entry=0x7ffe59899710) at ../src/backend/tcop/pquery.c:1278 [23:47:33.321] pstmt = 0x5615f1fe6478 [23:47:33.321] stmtlist_item__state = [23:47:33.321] active_snapshot_set = true [23:47:33.321] stmtlist_item = 0x5615f1fe65a0 [23:47:33.321] #16 0x00005615efe61209 in FillPortalStore (portal=portal@entry=0x5615f1e710e0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [23:47:33.321] treceiver = 0x5615f1f73250 [23:47:33.321] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [23:47:33.321] __func__ = "FillPortalStore" [23:47:33.321] #17 0x00005615efe617da in PortalRun (portal=portal@entry=0x5615f1e710e0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x5615f1fe65d8, altdest=altdest@entry=0x5615f1fe65d8, qc=0x7ffe598998f0) at ../src/backend/tcop/pquery.c:763 [23:47:33.321] _save_exception_stack = 0x7ffe598999a0 [23:47:33.321] _save_context_stack = 0x0 [23:47:33.321] _local_sigjmp_buf = {{__jmpbuf = {0, 3405057157904256324, 94652252754144, 94652253498640, 94652252754144, 94652253498568, 8977470239079451972, 3405017366685076804}, __mask_was_saved = 0, __saved_mask = {__val = {94652222068357, 94652252219968, 112, 4, 94652222072774, 1502189695, 4, 94652253498568, 112, 163, 94652252754144, 94652253498640, 94652253498616, 94652253498568, 94652222159977, 1}}}} [23:47:33.321] _do_rethrow = [23:47:33.321] result = [23:47:33.321] nprocessed = [23:47:33.321] saveTopTransactionResourceOwner = 0x5615f1e2dd98 [23:47:33.321] saveTopTransactionContext = 0x5615f1e82cf0 [23:47:33.321] saveActivePortal = 0x0 [23:47:33.321] saveResourceOwner = 0x5615f1e2dd98 [23:47:33.321] savePortalContext = 0x0 [23:47:33.321] saveMemoryContext = 0x5615f1e82cf0 [23:47:33.321] __func__ = "PortalRun" [23:47:33.321] #18 0x00005615efe5ab87 in exec_simple_query (query_string=query_string@entry=0x5615f1deeb40 "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 [23:47:33.321] cmdtaglen = 5 [23:47:33.321] snapshot_set = [23:47:33.321] per_parsetree_context = 0x0 [23:47:33.321] plantree_list = 0x5615f1fe6588 [23:47:33.321] parsetree = 0x5615f1f26cc8 [23:47:33.321] commandTag = [23:47:33.321] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [23:47:33.321] querytree_list = [23:47:33.321] portal = 0x5615f1e710e0 [23:47:33.321] receiver = 0x5615f1fe65d8 [23:47:33.321] format = 0 [23:47:33.321] cmdtagname = [23:47:33.321] parsetree_item__state = [23:47:33.321] dest = DestRemote [23:47:33.321] oldcontext = 0x5615f1e82cf0 [23:47:33.321] parsetree_list = 0x5615f1f26cf8 [23:47:33.321] parsetree_item = 0x5615f1f26d10 [23:47:33.321] save_log_statement_stats = false [23:47:33.321] was_logged = false [23:47:33.321] use_implicit_block = false [23:47:33.321] msec_str = "P\233\211Y\376\177\000\000\213\004\021\360\025V\000\000\200\231\211Y\376\177\000\000\026\001\000\000\000\000\000" [23:47:33.321] __func__ = "exec_simple_query" [23:47:33.321] #19 0x00005615efe5d660 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [23:47:33.321] query_string = 0x5615f1deeb40 "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"... [23:47:33.321] firstchar = [23:47:33.321] input_message = {data = 0x5615f1deeb40 "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} [23:47:33.321] local_sigjmp_buf = {{__jmpbuf = {94652234391512, 3405058940113308996, 4, 140730400611152, 140730400611296, 140730400611300, 8977470239410801988, 3405017390116556100}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94652251950656, 15616, 94652234385600, 94652252474704, 140730400611296, 94652222072322, 0, 9, 2, 94652234391520, 94652251950656, 94652234385600, 140730400611152, 140730400611296, 140730400611300}}}} [23:47:33.321] send_ready_for_query = false [23:47:33.321] idle_in_transaction_timeout_enabled = false [23:47:33.321] idle_session_timeout_enabled = false [23:47:33.321] __func__ = "PostgresMain" [23:47:33.321] #20 0x00005615efe53782 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [23:47:33.321] bsdata = [23:47:33.321] #21 0x00005615efd0bf15 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffe59899afc "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe59899b50) at ../src/backend/postmaster/launch_backend.c:274 [23:47:33.321] pid = [23:47:33.321] #22 0x00005615efd119c1 in BackendStartup (client_sock=client_sock@entry=0x7ffe59899b50) at ../src/backend/postmaster/postmaster.c:3414 [23:47:33.321] bn = 0x5615f1e17518 [23:47:33.321] pid = [23:47:33.321] startup_data = {canAcceptConnections = CAC_OK} [23:47:33.321] __func__ = "BackendStartup" [23:47:33.321] #23 0x00005615efd11f23 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [23:47:33.321] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "#SD\177\000\000\240\317tTD\177\000\000\370\233\211Y\376\177\000\000\364\233\211Y\376\177", '\000' , "\253+\356\356\025V\000\000\020\027\352\356\025V\000\000\300\234\211Y\376\177\000\000\270\234\211Y\376\177\000\000\225[\362\001\000\000\000\000\240t\243SD\177\000\000+", '\000' , "\025V\000\000\300*\356\356\025V\000", __ss_align = 139931455284840}, salen = 2}} [23:47:33.321] i = 0 [23:47:33.321] now = [23:47:33.321] last_lockfile_recheck_time = 1724715821 [23:47:33.321] last_touch_time = 1724715821 [23:47:33.321] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = 0, events = 0, fd = 15, user_data = 0x5615eeee2bab}, {pos = 1420781160, events = 32580, fd = 1403221552, user_data = 0x7f4454af62e0}, {pos = 2090263927, events = 0, fd = 1502190912, user_data = 0x7f4454acca48}, {pos = 15, events = 0, fd = 1403221552, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7f4454af62e0}, {pos = 1502190776, events = 32766, fd = 1502190784, user_data = 0x7f4454af6668}, {pos = 0, events = 0, fd = -237048832, user_data = 0x5615f017bdc0 }, {pos = 32768, events = 0, fd = 1, user_data = 0x5615f1df0940}, {pos = -1, events = 0, fd = 1394794496, user_data = 0x7f445474cfa0}, {pos = -236865576, events = 22037, fd = -236865864, user_data = 0x5615f1e1d8d1}, {pos = 1420635838, events = 32580, fd = 1, user_data = 0x7f4454af62e0}, {pos = 439, events = 0, fd = -261796424, user_data = 0x0}, {pos = 1, events = 0, fd = -237048832, user_data = 0x7f4454ad2ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f445322e000}, {pos = 1395600832, events = 32580, fd = 16, user_data = 0x7ffe5989a120}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1420644778, events = 32580, fd = 0, user_data = 0x7f44532aed14 }, {pos = 0, events = 0, fd = -254936672, user_data = 0x2}, {pos = 7, events = 0, fd = -237302048, user_data = 0x5615efdee90d }, {pos = -236839573, events = 22037, fd = -270588625, user_data = 0x7367702f65736162}, {pos = 8096, events = 196607, fd = -237048832, user_data = 0x7f4454ad2ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f44532364a8}, {pos = 1395355613, events = 32580, fd = -254886176, user_data = 0x5615f1e1a4a0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = 1396644960, events = 32580, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xffff000000000000}, {pos = -1, events = 4294967295, fd = -1, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = 762540901, user_data = 0x352020200a0a4e7a}, {pos = 822763892, events = 926167607, fd = 842544433, user_data = 0x726765722f6e7572}, {pos = 796095333, events = 1919378802, fd = 1836330762, user_data = 0x2d69632d73757272}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -236863296, user_data = 0x7f44532b56db}, {pos = 1396627936, events = 32580, fd = 1395265902, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xc78b9e6a29aeb100}, {pos = 1396631008, events = 32580, fd = -328, user_data = 0x0}, {pos = -236866184, events = 22037, fd = 2, user_data = 0x8000000000000006}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -236866384, events = 22037, fd = 3, user_data = 0x0}, {pos = 23842, events = 0, fd = -328, user_data = 0x0}, {pos = -237048832, events = 22037, fd = 1395601363, user_data = 0x7ffe5989a1d8}, {pos = -267117575, events = 22037, fd = -254877808, user_data = 0x5615f01306b6 }, {pos = -236866384, events = 22037, fd = -237049280, user_data = 0x5615f1e1b4b0}, {pos = 1395349550, events = 32580, fd = 0, user_data = 0x5615f0142320 }, {pos = -236866384, events = 1, fd = -267115415, user_data = 0x5615f1deea40}, {pos = 699314432, events = 3347816042, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 1395272369, user_data = 0x7f44532a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 699314432, user_data = 0x5615f1dc6170}, {pos = 699314432, events = 3347816042, fd = 11, user_data = 0xc78b9e6a29aeb100}, {pos = 0, events = 0, fd = 1394979385, user_data = 0x1}, {pos = -271533038, events = 22037, fd = 4194304, user_data = 0x5615f013054a }, {pos = -237215376, events = 22037, fd = -237049280, user_data = 0x5615f1dc6170}, {pos = 1, events = 0, fd = 0, user_data = 0x5615f0142320 }, {pos = -237215376, events = 22037, fd = -267115415, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x5615efb448d1 }, {pos = 0, events = 0, fd = -273376229, user_data = 0xb}, {pos = -271511889, events = 22037, fd = -258463568, user_data = 0x5615f1def418}} [23:47:33.321] nevents = 1 [23:47:33.321] __func__ = "ServerLoop" [23:47:33.321] #24 0x00005615efd13699 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x5615f1dacda0) at ../src/backend/postmaster/postmaster.c:1346 [23:47:33.321] opt = [23:47:33.321] status = [23:47:33.321] userDoption = [23:47:33.321] listen_addr_saved = false [23:47:33.321] output_config_variable = [23:47:33.321] __func__ = "PostmasterMain" [23:47:33.321] #25 0x00005615efb54cfc in main (argc=8, argv=0x5615f1dacda0) at ../src/backend/main/main.c:197 [23:47:33.321] do_check_root =