[00:10:13.512] src/tools/ci/cores_backtrace.sh linux /tmp/cores [00:10:13.723] dumping /tmp/cores/postgres-6-21049.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [00:10:13.982] [New LWP 21049] [00:10:13.982] [00:10:13.982] This GDB supports auto-downloading debuginfo from the following URLs: [00:10:13.982] [00:10:13.982] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [00:10:13.982] Debuginfod has been disabled. [00:10:13.982] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [00:10:14.117] [Thread debugging using libthread_db enabled] [00:10:14.117] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [00:10:14.117] Core was generated by `postgres: postgres regression [local] MERGE '. [00:10:14.117] Program terminated with signal SIGABRT, Aborted. [00:10:14.117] #0 0x00007f4049ca9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:10:15.085] [00:10:15.085] Thread 1 (Thread 0x7f4047c2af00 (LWP 21049)): [00:10:15.085] #0 0x00007f4049ca9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:10:15.085] No symbol table info available. [00:10:15.085] #1 0x00007f4049c5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [00:10:15.085] No symbol table info available. [00:10:15.085] #2 0x00007f4049c45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [00:10:15.085] No symbol table info available. [00:10:15.085] #3 0x0000556e1f7c3ce7 in ExceptionalCondition (conditionName=conditionName@entry=0x556e1fa11b45 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x556e1fa36460 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [00:10:15.085] No locals. [00:10:15.085] #4 0x0000556e1f16f580 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffe616efd20, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffe616efbbf) at ../src/backend/executor/execTuples.c:1737 [00:10:15.085] No locals. [00:10:15.085] #5 0x0000556e1f0f2f41 in ExecIRDeleteTriggers (estate=estate@entry=0x556e20acc790, relinfo=relinfo@entry=0x556e20accd40, slot=slot@entry=0x7ffe616efd20) at ../src/backend/commands/trigger.c:2842 [00:10:15.085] trigger = 0x556e20accfa0 [00:10:15.085] oldtuple = [00:10:15.085] trigdesc = 0x556e20accf50 [00:10:15.085] newtuple = 0x0 [00:10:15.085] should_free = false [00:10:15.085] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f403e35f678, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [00:10:15.085] i = 0 [00:10:15.085] #6 0x0000556e1f1cc47d in ExecMergeMatched (context=0x7ffe616efd40, resultRelInfo=resultRelInfo@entry=0x556e20accd40, tupleid=0x0, oldtuple=0x7ffe616efd20, canSetTag=true, matched=matched@entry=0x7ffe616efccf) at ../src/backend/executor/nodeModifyTable.c:3043 [00:10:15.085] relaction = 0x556e20b51aa0 [00:10:15.085] commandType = CMD_DELETE [00:10:15.085] result = TM_Ok [00:10:15.085] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [00:10:15.085] l__state = [00:10:15.085] mtstate = 0x556e20accb30 [00:10:15.085] mergeActions = 0x556e20acce50 [00:10:15.085] actionStates = 0x556e20b52060 [00:10:15.085] newslot = 0x0 [00:10:15.085] rslot = 0x0 [00:10:15.085] estate = 0x556e20acc790 [00:10:15.085] econtext = 0x556e20b510b0 [00:10:15.085] isNull = false [00:10:15.085] epqstate = 0x556e20accc18 [00:10:15.085] l = [00:10:15.085] __func__ = "ExecMergeMatched" [00:10:15.085] lmerge_matched = [00:10:15.085] #7 0x0000556e1f1cd03b in ExecMerge (context=context@entry=0x7ffe616efd40, resultRelInfo=resultRelInfo@entry=0x556e20accd40, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffe616efd20, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [00:10:15.085] rslot = 0x0 [00:10:15.085] matched = true [00:10:15.085] #8 0x0000556e1f1ce800 in ExecModifyTable (pstate=0x556e20accb30) at ../src/backend/executor/nodeModifyTable.c:4133 [00:10:15.085] node = 0x556e20accb30 [00:10:15.085] context = {mtstate = 0x556e20accb30, epqstate = 0x556e20accc18, estate = 0x556e20acc790, planSlot = 0x556e20b4f498, tmfd = {ctid = {ip_blkid = {bi_hi = 2, bi_lo = 0}, ip_posid = 0}, xmax = 549117848, cmax = 21870, traversed = 10}, cpUpdateReturningSlot = 0x556e1f806c09 } [00:10:15.085] estate = 0x556e20acc790 [00:10:15.085] operation = CMD_MERGE [00:10:15.085] resultRelInfo = 0x556e20accd40 [00:10:15.085] subplanstate = 0x556e20acd470 [00:10:15.085] slot = [00:10:15.085] oldSlot = [00:10:15.085] tuple_ctid = {ip_blkid = {bi_hi = 8065, bi_lo = 21870}, ip_posid = 0} [00:10:15.085] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x556e20b21368} [00:10:15.085] oldtuple = 0x7ffe616efd20 [00:10:15.085] tupleid = 0x0 [00:10:15.085] __func__ = "ExecModifyTable" [00:10:15.085] #9 0x0000556e1f161acc in ExecProcNodeFirst (node=0x556e20accb30) at ../src/backend/executor/execProcnode.c:469 [00:10:15.085] No locals. [00:10:15.085] #10 0x0000556e1f14ced7 in ExecProcNode (node=node@entry=0x556e20accb30) at ../src/include/executor/executor.h:278 [00:10:15.085] No locals. [00:10:15.085] #11 0x0000556e1f14d08c in ExecutePlan (estate=estate@entry=0x556e20acc790, planstate=0x556e20accb30, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x556e209f2050, execute_once=true) at ../src/backend/executor/execMain.c:1653 [00:10:15.085] slot = [00:10:15.085] current_tuple_count = 0 [00:10:15.085] #12 0x0000556e1f14ee47 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x556e20b4be38, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:364 [00:10:15.085] estate = 0x556e20acc790 [00:10:15.085] operation = CMD_MERGE [00:10:15.085] dest = 0x556e209f2050 [00:10:15.085] sendTuples = [00:10:15.085] oldcontext = 0x556e209f1d40 [00:10:15.085] __func__ = "standard_ExecutorRun" [00:10:15.085] #13 0x0000556e1f14f0ce in ExecutorRun (queryDesc=queryDesc@entry=0x556e20b4be38, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:305 [00:10:15.085] No locals. [00:10:15.085] #14 0x0000556e1f536c3f in ProcessQuery (plan=plan@entry=0x556e20bb0980, sourceText=0x556e209b8b50 "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=0x556e209f2050, qc=qc@entry=0x7ffe616eff90) at ../src/backend/tcop/pquery.c:160 [00:10:15.085] queryDesc = 0x556e20b4be38 [00:10:15.085] #15 0x0000556e1f538874 in PortalRunMulti (portal=portal@entry=0x556e20a3b0f0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x556e209f2050, altdest=0x556e1fd40ee0 , qc=qc@entry=0x7ffe616eff90) at ../src/backend/tcop/pquery.c:1278 [00:10:15.085] pstmt = 0x556e20bb0980 [00:10:15.085] stmtlist_item__state = [00:10:15.085] active_snapshot_set = true [00:10:15.085] stmtlist_item = 0x556e20bb0aa8 [00:10:15.085] #16 0x0000556e1f538dc6 in FillPortalStore (portal=portal@entry=0x556e20a3b0f0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [00:10:15.085] treceiver = 0x556e209f2050 [00:10:15.085] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:10:15.085] __func__ = "FillPortalStore" [00:10:15.085] #17 0x0000556e1f539397 in PortalRun (portal=portal@entry=0x556e20a3b0f0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x556e20bb0ae0, altdest=altdest@entry=0x556e20bb0ae0, qc=0x7ffe616f0170) at ../src/backend/tcop/pquery.c:763 [00:10:15.085] _save_exception_stack = 0x7ffe616f0220 [00:10:15.085] _save_context_stack = 0x0 [00:10:15.085] _local_sigjmp_buf = {{__jmpbuf = {0, -6261499026638826995, 93931482362096, 93931484055296, 93931482362096, 93931484055224, -271856017179078131, -6261463502862216691}, __mask_was_saved = 0, __saved_mask = {__val = {93931463273481, 93931481827920, 112, 4, 93931463277898, 1634664703, 4, 93931484055224, 112, 163, 93931482362096, 93931484055296, 93931484055272, 93931484055224, 93931463365101, 1}}}} [00:10:15.085] _do_rethrow = [00:10:15.085] result = [00:10:15.085] nprocessed = [00:10:15.085] saveTopTransactionResourceOwner = 0x556e209f7da8 [00:10:15.085] saveTopTransactionContext = 0x556e20a4cd00 [00:10:15.085] saveActivePortal = 0x0 [00:10:15.085] saveResourceOwner = 0x556e209f7da8 [00:10:15.085] savePortalContext = 0x0 [00:10:15.085] saveMemoryContext = 0x556e20a4cd00 [00:10:15.085] __func__ = "PortalRun" [00:10:15.085] #18 0x0000556e1f532499 in exec_simple_query (query_string=query_string@entry=0x556e209b8b50 "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 [00:10:15.085] cmdtaglen = 5 [00:10:15.085] snapshot_set = [00:10:15.085] per_parsetree_context = 0x0 [00:10:15.085] plantree_list = 0x556e20bb0a90 [00:10:15.085] parsetree = 0x556e20bd86b8 [00:10:15.085] commandTag = [00:10:15.085] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:10:15.085] querytree_list = [00:10:15.085] portal = 0x556e20a3b0f0 [00:10:15.085] receiver = 0x556e20bb0ae0 [00:10:15.085] format = 0 [00:10:15.085] cmdtagname = [00:10:15.085] parsetree_item__state = [00:10:15.085] dest = DestRemote [00:10:15.085] oldcontext = 0x556e20a4cd00 [00:10:15.085] parsetree_list = 0x556e20bd86e8 [00:10:15.085] parsetree_item = 0x556e20bd8700 [00:10:15.085] save_log_statement_stats = false [00:10:15.085] was_logged = false [00:10:15.085] use_implicit_block = false [00:10:15.085] msec_str = "\320\003oa\376\177\000\000\017\232~\037nU\000\000\000\002oa\376\177\000\000\026\001\000\000\000\000\000" [00:10:15.085] __func__ = "exec_simple_query" [00:10:15.085] #19 0x0000556e1f53521d in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4790 [00:10:15.085] query_string = 0x556e209b8b50 "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"... [00:10:15.085] firstchar = [00:10:15.085] input_message = {data = 0x556e209b8b50 "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} [00:10:15.085] local_sigjmp_buf = {{__jmpbuf = {93931475821912, -6261500163311988211, 4, 140730533086160, 140730533086304, 140730533086308, -271856004633914867, -6261463496543497715}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 93931481558640, 15616, 93931475816000, 93931482082656, 140730533086304, 93931463277446, 0, 9, 2, 93931475821920, 93931481558640, 93931475816000, 140730533086160, 140730533086304, 140730533086308}}}} [00:10:15.085] send_ready_for_query = false [00:10:15.085] idle_in_transaction_timeout_enabled = false [00:10:15.085] idle_session_timeout_enabled = false [00:10:15.085] __func__ = "PostgresMain" [00:10:15.085] #20 0x0000556e1f52b094 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [00:10:15.085] bsdata = [00:10:15.085] #21 0x0000556e1f3e388c in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffe616f037c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe616f03d0) at ../src/backend/postmaster/launch_backend.c:274 [00:10:15.085] pid = [00:10:15.085] #22 0x0000556e1f3e9338 in BackendStartup (client_sock=client_sock@entry=0x7ffe616f03d0) at ../src/backend/postmaster/postmaster.c:3415 [00:10:15.085] bn = 0x556e209e1168 [00:10:15.085] pid = [00:10:15.085] startup_data = {canAcceptConnections = CAC_OK} [00:10:15.085] __func__ = "BackendStartup" [00:10:15.085] #23 0x0000556e1f3e989a in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [00:10:15.085] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "\303I@\177\000\000\240\337\034K@\177\000\000x\004oa\376\177\000\000t\004oa\376\177", '\000' , ">\376Z\036nU\000\000X\347V\036nU\000\000@\005oa\376\177\000\0008\005oa\376\177\000\000\225[\362\001\000\000\000\000\240\004\251J@\177\000\000+", '\000' , "nU\000\000S\375Z\036nU\000", __ss_align = 139914119738984}, salen = 2}} [00:10:15.085] i = 0 [00:10:15.085] now = [00:10:15.085] last_lockfile_recheck_time = 1726704376 [00:10:15.085] last_touch_time = 1726704376 [00:10:15.085] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = 0, events = 0, fd = 15, user_data = 0x556e1e5afe3e}, {pos = 1265104488, events = 32576, fd = 1252591152, user_data = 0x7f404b67f2e0}, {pos = 2090263927, events = 0, fd = 1634665920, user_data = 0x7f404b655a48}, {pos = 15, events = 0, fd = 1252591152, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7f404b67f2e0}, {pos = 1634665784, events = 32766, fd = 1634665792, user_data = 0x7f404b67f668}, {pos = 0, events = 0, fd = 32768, user_data = 0x8}, {pos = 547072336, events = 21870, fd = 1, user_data = 0x7ffe616f0a63}, {pos = -1, events = 0, fd = 1237508128, user_data = 0x7f404b1cdfa0}, {pos = 547248104, events = 21870, fd = 547247816, user_data = 0x556e209e78e1}, {pos = 1264959166, events = 32576, fd = 1, user_data = 0x7f404b67f2e0}, {pos = 438, events = 0, fd = 534121904, user_data = 0x0}, {pos = 1, events = 0, fd = 547064848, user_data = 0x7f404b65bebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f4049c2e020}, {pos = 1238314432, events = 32576, fd = 16, user_data = 0x7ffe616f09a0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1264968122, events = 32576, fd = 0, user_data = 0x7f4049caed24 }, {pos = 0, events = 0, fd = 540999424, user_data = 0x2}, {pos = 7, events = 0, fd = 546811664, user_data = 0x556e1f4c9ecf }, {pos = 1702060386, events = 1936158767, fd = 1952410737, user_data = 0x8}, {pos = 8096, events = 196607, fd = 547064848, user_data = 0x7f404b65bebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f4049c364c8}, {pos = 1238069229, events = 32576, fd = 541049952, user_data = 0x556e209e44b0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = 1239358560, events = 32576, 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 = 0x312020200a0a4868}, {pos = 822763892, events = 926298679, fd = 926102576, 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 = 547250384, user_data = 0x7f4049cb56eb}, {pos = 1239341536, events = 32576, fd = 1237979502, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xd141b523b88d3d00}, {pos = 1239344608, events = 32576, fd = -328, user_data = 0x0}, {pos = 547247496, events = 21870, fd = 2, user_data = 0x8000000000000006}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 547247296, events = 21870, fd = 3, user_data = 0x0}, {pos = 18687, events = 0, fd = -328, user_data = 0x0}, {pos = 547064848, events = 21870, fd = 1238314963, user_data = 0x7ffe616f0a58}, {pos = 528593277, events = 21870, fd = 541058320, user_data = 0x556e1f809c3a }, {pos = 547247296, events = 21870, fd = 547064400, user_data = 0x556e209e54c0}, {pos = 1238063166, events = 32576, fd = 0, user_data = 0x556e1f81b8a4 }, {pos = 547247296, events = 1, fd = 528595437, user_data = 0x556e209b8a50}, {pos = -1198703360, events = 3510744355, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 1237985969, user_data = 0x7f4049ca14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1198703360, user_data = 0x556e20990180}, {pos = -1198703360, events = 3510744355, fd = 11, user_data = 0xd141b523b88d3d00}, {pos = 0, events = 0, fd = 1237692985, user_data = 0x1}, {pos = 524170633, events = 21870, fd = 4194304, user_data = 0x556e1f809ace }, {pos = 546898304, events = 21870, fd = 547064400, user_data = 0x556e20990180}, {pos = 1, events = 0, fd = 0, user_data = 0x556e1f81b8a4 }, {pos = 546898304, events = 21870, fd = 528595437, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x556e1f219d40 }, {pos = 0, events = 0, fd = 522317952, user_data = 0xb}, {pos = 524191782, events = 21870, fd = 537465168, user_data = 0x556e209b9428}} [00:10:15.085] nevents = 1 [00:10:15.085] __func__ = "ServerLoop" [00:10:15.085] #24 0x0000556e1f3eb010 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x556e20976dd0) at ../src/backend/postmaster/postmaster.c:1346 [00:10:15.085] opt = [00:10:15.085] status = [00:10:15.085] userDoption = [00:10:15.085] listen_addr_saved = false [00:10:15.085] output_config_variable = [00:10:15.085] __func__ = "PostmasterMain" [00:10:15.085] #25 0x0000556e1f22a11c in main (argc=8, argv=0x556e20976dd0) at ../src/backend/main/main.c:197 [00:10:15.085] do_check_root = [00:10:15.124] -e [00:10:15.124] [00:10:15.124] [00:10:15.194] dumping /tmp/cores/postgres-6-27873.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [00:10:15.443] [New LWP 27873] [00:10:15.443] [00:10:15.443] This GDB supports auto-downloading debuginfo from the following URLs: [00:10:15.443] [00:10:15.443] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [00:10:15.443] Debuginfod has been disabled. [00:10:15.443] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [00:10:15.556] [Thread debugging using libthread_db enabled] [00:10:15.556] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [00:10:15.556] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [00:10:15.556] Program terminated with signal SIGABRT, Aborted. [00:10:15.556] #0 0x00007f5776ea9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:10:16.506] [00:10:16.506] Thread 1 (Thread 0x7f5774e21f00 (LWP 27873)): [00:10:16.506] #0 0x00007f5776ea9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:10:16.506] No symbol table info available. [00:10:16.506] #1 0x00007f5776e5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [00:10:16.506] No symbol table info available. [00:10:16.506] #2 0x00007f5776e45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [00:10:16.506] No symbol table info available. [00:10:16.506] #3 0x00005627a9ee0ce7 in ExceptionalCondition (conditionName=conditionName@entry=0x5627aa12eb45 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x5627aa153460 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [00:10:16.506] No locals. [00:10:16.506] #4 0x00005627a988c580 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffdcf529ca0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffdcf529b3f) at ../src/backend/executor/execTuples.c:1737 [00:10:16.506] No locals. [00:10:16.506] #5 0x00005627a980ff41 in ExecIRDeleteTriggers (estate=estate@entry=0x5627ab4d3b90, relinfo=relinfo@entry=0x5627ab4d4140, slot=slot@entry=0x7ffdcf529ca0) at ../src/backend/commands/trigger.c:2842 [00:10:16.506] trigger = 0x5627ab4d43a0 [00:10:16.506] oldtuple = [00:10:16.506] trigdesc = 0x5627ab4d4350 [00:10:16.506] newtuple = 0x0 [00:10:16.506] should_free = false [00:10:16.506] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f5772892f08, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [00:10:16.506] i = 0 [00:10:16.506] #6 0x00005627a98e947d in ExecMergeMatched (context=0x7ffdcf529cc0, resultRelInfo=resultRelInfo@entry=0x5627ab4d4140, tupleid=0x0, oldtuple=0x7ffdcf529ca0, canSetTag=true, matched=matched@entry=0x7ffdcf529c4f) at ../src/backend/executor/nodeModifyTable.c:3043 [00:10:16.506] relaction = 0x5627ab5cafe0 [00:10:16.506] commandType = CMD_DELETE [00:10:16.506] result = TM_Ok [00:10:16.506] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [00:10:16.506] l__state = [00:10:16.506] mtstate = 0x5627ab4d3f30 [00:10:16.506] mergeActions = 0x5627ab4d4250 [00:10:16.506] actionStates = 0x5627ab5cb5a0 [00:10:16.506] newslot = 0x0 [00:10:16.506] rslot = 0x0 [00:10:16.506] estate = 0x5627ab4d3b90 [00:10:16.506] econtext = 0x5627ab5ca5f0 [00:10:16.506] isNull = false [00:10:16.506] epqstate = 0x5627ab4d4018 [00:10:16.506] l = [00:10:16.506] __func__ = "ExecMergeMatched" [00:10:16.506] lmerge_matched = [00:10:16.506] #7 0x00005627a98ea03b in ExecMerge (context=context@entry=0x7ffdcf529cc0, resultRelInfo=resultRelInfo@entry=0x5627ab4d4140, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffdcf529ca0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [00:10:16.506] rslot = 0x0 [00:10:16.506] matched = true [00:10:16.506] #8 0x00005627a98eb800 in ExecModifyTable (pstate=0x5627ab4d3f30) at ../src/backend/executor/nodeModifyTable.c:4133 [00:10:16.506] node = 0x5627ab4d3f30 [00:10:16.506] context = {mtstate = 0x5627ab4d3f30, epqstate = 0x5627ab4d4018, estate = 0x5627ab4d3b90, planSlot = 0x5627ab5c89d8, tmfd = {ctid = {ip_blkid = {bi_hi = 1, bi_lo = 0}, ip_posid = 0}, xmax = 1921444832, cmax = 32599, traversed = 56}, cpUpdateReturningSlot = 0x5627ab4d4018} [00:10:16.506] estate = 0x5627ab4d3b90 [00:10:16.506] operation = CMD_MERGE [00:10:16.506] resultRelInfo = 0x5627ab4d4140 [00:10:16.506] subplanstate = 0x5627ab4d4870 [00:10:16.506] slot = [00:10:16.506] oldSlot = [00:10:16.506] tuple_ctid = {ip_blkid = {bi_hi = 43406, bi_lo = 22055}, ip_posid = 0} [00:10:16.506] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x5627ab5ec9d8} [00:10:16.506] oldtuple = 0x7ffdcf529ca0 [00:10:16.506] tupleid = 0x0 [00:10:16.506] __func__ = "ExecModifyTable" [00:10:16.506] #9 0x00005627a987eacc in ExecProcNodeFirst (node=0x5627ab4d3f30) at ../src/backend/executor/execProcnode.c:469 [00:10:16.506] No locals. [00:10:16.506] #10 0x00005627a9869ed7 in ExecProcNode (node=node@entry=0x5627ab4d3f30) at ../src/include/executor/executor.h:278 [00:10:16.506] No locals. [00:10:16.506] #11 0x00005627a986a08c in ExecutePlan (estate=estate@entry=0x5627ab4d3b90, planstate=0x5627ab4d3f30, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x5627ab60ee20, execute_once=true) at ../src/backend/executor/execMain.c:1653 [00:10:16.506] slot = [00:10:16.506] current_tuple_count = 0 [00:10:16.506] #12 0x00005627a986be47 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x5627ab612728, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:364 [00:10:16.506] estate = 0x5627ab4d3b90 [00:10:16.506] operation = CMD_MERGE [00:10:16.506] dest = 0x5627ab60ee20 [00:10:16.506] sendTuples = [00:10:16.506] oldcontext = 0x5627ab60eb10 [00:10:16.506] __func__ = "standard_ExecutorRun" [00:10:16.506] #13 0x00007f57744ef813 in pgss_ExecutorRun (queryDesc=0x5627ab612728, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1024 [00:10:16.506] _save_exception_stack = 0x7ffdcf52a0c0 [00:10:16.506] _save_context_stack = 0x0 [00:10:16.506] _local_sigjmp_buf = {{__jmpbuf = {94728378984232, -8442062686168176104, 0, 1, 0, 0, 8443222435829885464, 8392787943455304216}, __mask_was_saved = 0, __saved_mask = {__val = {6, 94728379382072, 400, 0, 2147483647, 94728378969632, 0, 0, 94728355029485, 0, 1, 0, 94728348072451, 94728378984232, 94728367486304, 94728378968848}}}} [00:10:16.506] _do_rethrow = false [00:10:16.506] #14 0x00005627a986c090 in ExecutorRun (queryDesc=queryDesc@entry=0x5627ab612728, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:303 [00:10:16.506] No locals. [00:10:16.506] #15 0x00005627a9c53c3f in ProcessQuery (plan=plan@entry=0x5627ab676840, sourceText=0x5627ab480af0 "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=0x5627ab60ee20, qc=qc@entry=0x7ffdcf52a020) at ../src/backend/tcop/pquery.c:160 [00:10:16.506] queryDesc = 0x5627ab612728 [00:10:16.506] #16 0x00005627a9c55874 in PortalRunMulti (portal=portal@entry=0x5627ab502030, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x5627ab60ee20, altdest=0x5627aa45dee0 , qc=qc@entry=0x7ffdcf52a020) at ../src/backend/tcop/pquery.c:1278 [00:10:16.506] pstmt = 0x5627ab676840 [00:10:16.506] stmtlist_item__state = [00:10:16.506] active_snapshot_set = true [00:10:16.506] stmtlist_item = 0x5627ab676968 [00:10:16.506] #17 0x00005627a9c55dc6 in FillPortalStore (portal=portal@entry=0x5627ab502030, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [00:10:16.506] treceiver = 0x5627ab60ee20 [00:10:16.506] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:10:16.506] __func__ = "FillPortalStore" [00:10:16.506] #18 0x00005627a9c56397 in PortalRun (portal=portal@entry=0x5627ab502030, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x5627ab6769a0, altdest=altdest@entry=0x5627ab6769a0, qc=0x7ffdcf52a200) at ../src/backend/tcop/pquery.c:763 [00:10:16.506] _save_exception_stack = 0x7ffdcf52a2b0 [00:10:16.506] _save_context_stack = 0x0 [00:10:16.506] _local_sigjmp_buf = {{__jmpbuf = {0, 2781133821781715480, 94728377868336, 94728378959408, 94728377868336, 94728378959336, 8443222435909577240, 2781139061320034840}, __mask_was_saved = 0, __saved_mask = {__val = {94728354937865, 94728377338352, 112, 4, 94728354942282, 3478299023, 4, 94728378959336, 112, 163, 94728377868336, 94728378959408, 94728378959384, 94728378959336, 94728355029485, 1}}}} [00:10:16.506] _do_rethrow = [00:10:16.506] result = [00:10:16.506] nprocessed = [00:10:16.506] saveTopTransactionResourceOwner = 0x5627ab4c1508 [00:10:16.506] saveTopTransactionContext = 0x5627ab514460 [00:10:16.506] saveActivePortal = 0x0 [00:10:16.506] saveResourceOwner = 0x5627ab4c1508 [00:10:16.506] savePortalContext = 0x0 [00:10:16.506] saveMemoryContext = 0x5627ab514460 [00:10:16.506] __func__ = "PortalRun" [00:10:16.506] #19 0x00005627a9c4f499 in exec_simple_query (query_string=query_string@entry=0x5627ab480af0 "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 [00:10:16.506] cmdtaglen = 5 [00:10:16.506] snapshot_set = [00:10:16.506] per_parsetree_context = 0x0 [00:10:16.506] plantree_list = 0x5627ab676950 [00:10:16.506] parsetree = 0x5627ab60c5e8 [00:10:16.506] commandTag = [00:10:16.506] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:10:16.506] querytree_list = [00:10:16.506] portal = 0x5627ab502030 [00:10:16.506] receiver = 0x5627ab6769a0 [00:10:16.506] format = 0 [00:10:16.506] cmdtagname = [00:10:16.506] parsetree_item__state = [00:10:16.506] dest = DestRemote [00:10:16.506] oldcontext = 0x5627ab514460 [00:10:16.506] parsetree_list = 0x5627ab60c618 [00:10:16.506] parsetree_item = 0x5627ab60c630 [00:10:16.506] save_log_statement_stats = false [00:10:16.506] was_logged = true [00:10:16.506] use_implicit_block = false [00:10:16.506] msec_str = "`\244R\317\375\177\000\000\017j\360\251'V\000\000\220\242R\317\375\177\000\000\026\001\000\000\000\000\000" [00:10:16.506] __func__ = "exec_simple_query" [00:10:16.506] #20 0x00005627a9c5221d in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4790 [00:10:16.506] query_string = 0x5627ab480af0 "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"... [00:10:16.506] firstchar = [00:10:16.506] input_message = {data = 0x5627ab480af0 "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} [00:10:16.506] local_sigjmp_buf = {{__jmpbuf = {94728367486296, 2781133111392447000, 4, 140728081753184, 140728081753328, 140728081753332, 8443222435972491800, 2781139059078179352}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 6016, 10, 94728377588192, 0, 168, 94728354942384, 0, 10, 2, 94728367486304, 94728377069200, 94728367480384, 140728081753184, 140728081753328, 140728081753332}}}} [00:10:16.506] send_ready_for_query = false [00:10:16.506] idle_in_transaction_timeout_enabled = false [00:10:16.506] idle_session_timeout_enabled = false [00:10:16.506] __func__ = "PostgresMain" [00:10:16.506] #21 0x00005627a9c48094 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [00:10:16.506] bsdata = [00:10:16.506] #22 0x00005627a9b0088c in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffdcf52a40c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffdcf52a460) at ../src/backend/postmaster/launch_backend.c:274 [00:10:16.506] pid = [00:10:16.506] #23 0x00005627a9b06338 in BackendStartup (client_sock=client_sock@entry=0x7ffdcf52a460) at ../src/backend/postmaster/postmaster.c:3415 [00:10:16.506] bn = 0x5627ab4ad7e8 [00:10:16.506] pid = [00:10:16.506] startup_data = {canAcceptConnections = CAC_OK} [00:10:16.506] __func__ = "BackendStartup" [00:10:16.506] #24 0x00005627a9b0689a in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [00:10:16.506] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "R\317\375\177\000\000\364\244R\317\375\177", '\000' , ">\316̨'V\000\000X\267Ȩ'V\000\000\300\245R\317\375\177\000\000\270\245R\317\375\177\000\000\225[\362\001\000\000\000\000\020\253J\253'V\000\000,", '\000' , "S\315̨'V\000\000h\266pxW\177\000\0000VcwW\177\000", __ss_align = 140013659534048}, salen = 2}} [00:10:16.506] i = 0 [00:10:16.506] now = [00:10:16.506] last_lockfile_recheck_time = 1726704409 [00:10:16.506] last_touch_time = 1726704409 [00:10:16.506] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = -1462972866, events = 22055, fd = 2020652648, user_data = 0x7f5777635630}, {pos = 2020651744, events = 32599, fd = 2090263927, user_data = 0x7ffdcf52a640}, {pos = 2020481608, events = 32599, fd = 15, user_data = 0x7f5777635630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = 2020651744, events = 32599, fd = -816667208, user_data = 0x7ffdcf52a5c0}, {pos = 2020652648, events = 32599, fd = 0, user_data = 0x5627ab482930}, {pos = -1443421098, events = 22055, fd = 32768, user_data = 0x1}, {pos = -1421339120, events = 22055, fd = -1, user_data = 0x7f5776e2e020}, {pos = 2009808800, events = 32599, fd = -1421163608, user_data = 0x5627ab4ac288}, {pos = -1421145807, events = 22055, fd = 2020507326, user_data = 0x1}, {pos = 2020651744, events = 32599, fd = 438, user_data = 0x5627aa47ddb0 }, {pos = 0, events = 0, fd = 1, user_data = 0x5627ab482930}, {pos = 2020507326, events = 32599, fd = 1, user_data = 0x0}, {pos = 1994580000, events = 32599, fd = 1995386304, user_data = 0x10}, {pos = -816666064, events = 32765, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 2020516282, user_data = 0x0}, {pos = 1995107620, events = 32599, fd = 0, user_data = 0x5627aab0cf00 }, {pos = 2, events = 0, fd = 7, user_data = 0x5627ab442f30}, {pos = -1447153002, events = 22055, fd = -1421125125, user_data = 0x5627a9be6ecf }, {pos = 1702060386, events = 1936158767, fd = 8096, user_data = 0x5627ab482930}, {pos = 2020507326, events = 32599, fd = 1, user_data = 0x0}, {pos = 1994613960, events = 32599, fd = 1995032704, user_data = 0x41e}, {pos = 1995141101, events = 32599, fd = 2, user_data = 0x5627ab4b59a0}, {pos = 255, events = 0, fd = 0, user_data = 0x0}, {pos = 1996430432, events = 32599, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -65536, user_data = 0xffffffffffffffff}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1, user_data = 0xffffffffffffffff}, {pos = 811562031, events = 1935619890, fd = 1634038388, user_data = 0x797265766f636572}, {pos = 926036015, events = 1920234335, fd = 2009621824, user_data = 0x7f5777c86a80}, {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 = -1443742711, events = 22055, fd = -1421149904, user_data = 0x7f5776eb583e}, {pos = 1996413408, events = 32599, fd = 1995051374, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0x30484bf4aa277c00}, {pos = 1996416480, events = 32599, 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 = -1421164216, user_data = 0x5627a9f244cc }, {pos = -1421164416, events = 22055, fd = 3, user_data = 0x0}, {pos = 25820, events = 0, fd = -328, user_data = 0x0}, {pos = -1421334224, events = 22055, fd = 1995386835, user_data = 0x7ffdcf52aae8}, {pos = -1443659395, events = 22055, fd = -1431194352, user_data = 0x5627a9f26c3a }, {pos = -1421164416, events = 22055, fd = -1421342224, user_data = 0x5627ab4ac080}, {pos = 1995135038, events = 32599, fd = 0, user_data = 0x5627a9f388a4 }, {pos = -1421164416, events = 1, fd = -1443657235, user_data = 0x5627ab4809f0}, {pos = -1440252928, events = 810044404, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 1995057841, user_data = 0x7f5776ea14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1440252928, user_data = 0x5627ab458120}, {pos = -1440252928, events = 810044404, fd = 11, user_data = 0x30484bf4aa277c00}, {pos = 0, events = 0, fd = 1994764857, user_data = 0x1}, {pos = -1448082039, events = 22055, fd = 4194304, user_data = 0x5627a9f26ace }, {pos = -1421508320, events = 22055, fd = -1421342224, user_data = 0x5627ab458120}, {pos = 1, events = 0, fd = 0, user_data = 0x5627a9f388a4 }, {pos = -1421508320, events = 22055, fd = -1443657235, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x5627a9936d40 }, {pos = 0, events = 0, fd = -1449934720, user_data = 0xb}, {pos = -1448060890, events = 22055, fd = -1434787504, user_data = 0x5627ab4813a8}} [00:10:16.506] nevents = 1 [00:10:16.506] __func__ = "ServerLoop" [00:10:16.506] #25 0x00005627a9b08010 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x5627ab43ed90) at ../src/backend/postmaster/postmaster.c:1346 [00:10:16.506] opt = [00:10:16.506] status = [00:10:16.506] userDoption = [00:10:16.506] listen_addr_saved = false [00:10:16.506] output_config_variable = [00:10:16.506] __func__ = "PostmasterMain" [00:10:16.506] #26 0x00005627a994711c in main (argc=4, argv=0x5627ab43ed90) at ../src/backend/main/main.c:197 [00:10:16.506] do_check_root = [00:10:16.546] -e [00:10:16.546] [00:10:16.546] [00:10:16.612] dumping /tmp/cores/postgres-6-21534.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [00:10:16.886] [New LWP 21534] [00:10:16.886] [00:10:16.886] This GDB supports auto-downloading debuginfo from the following URLs: [00:10:16.886] [00:10:16.886] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [00:10:16.886] Debuginfod has been disabled. [00:10:16.886] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [00:10:17.000] [Thread debugging using libthread_db enabled] [00:10:17.000] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [00:10:17.000] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [00:10:17.000] Program terminated with signal SIGABRT, Aborted. [00:10:17.000] #0 0x00007f42afea9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:10:17.936] [00:10:17.936] Thread 1 (Thread 0x7f42b0632f00 (LWP 21534)): [00:10:17.936] #0 0x00007f42afea9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:10:17.936] No symbol table info available. [00:10:17.936] #1 0x00007f42afe5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [00:10:17.936] No symbol table info available. [00:10:17.936] #2 0x00007f42afe45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [00:10:17.936] No symbol table info available. [00:10:17.936] #3 0x0000555914436ce7 in ExceptionalCondition (conditionName=conditionName@entry=0x555914684b45 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x5559146a9460 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [00:10:17.936] No locals. [00:10:17.936] #4 0x0000555913de2580 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffdd3890d60, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffdd3890bff) at ../src/backend/executor/execTuples.c:1737 [00:10:17.936] No locals. [00:10:17.936] #5 0x0000555913d65f41 in ExecIRDeleteTriggers (estate=estate@entry=0x55591549bd30, relinfo=relinfo@entry=0x55591549c2e0, slot=slot@entry=0x7ffdd3890d60) at ../src/backend/commands/trigger.c:2842 [00:10:17.936] trigger = 0x55591549c540 [00:10:17.936] oldtuple = [00:10:17.936] trigdesc = 0x55591549c4f0 [00:10:17.936] newtuple = 0x0 [00:10:17.936] should_free = false [00:10:17.936] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f42a4818fa8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [00:10:17.936] i = 0 [00:10:17.936] #6 0x0000555913e3f47d in ExecMergeMatched (context=0x7ffdd3890d80, resultRelInfo=resultRelInfo@entry=0x55591549c2e0, tupleid=0x0, oldtuple=0x7ffdd3890d60, canSetTag=true, matched=matched@entry=0x7ffdd3890d0f) at ../src/backend/executor/nodeModifyTable.c:3043 [00:10:17.936] relaction = 0x55591552b370 [00:10:17.936] commandType = CMD_DELETE [00:10:17.936] result = TM_Ok [00:10:17.936] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [00:10:17.936] l__state = [00:10:17.936] mtstate = 0x55591549c0d0 [00:10:17.936] mergeActions = 0x55591549c3f0 [00:10:17.936] actionStates = 0x55591552b930 [00:10:17.936] newslot = 0x0 [00:10:17.936] rslot = 0x0 [00:10:17.936] estate = 0x55591549bd30 [00:10:17.936] econtext = 0x55591552a980 [00:10:17.936] isNull = false [00:10:17.936] epqstate = 0x55591549c1b8 [00:10:17.936] l = [00:10:17.936] __func__ = "ExecMergeMatched" [00:10:17.936] lmerge_matched = [00:10:17.936] #7 0x0000555913e4003b in ExecMerge (context=context@entry=0x7ffdd3890d80, resultRelInfo=resultRelInfo@entry=0x55591549c2e0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffdd3890d60, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [00:10:17.936] rslot = 0x0 [00:10:17.936] matched = true [00:10:17.936] #8 0x0000555913e41800 in ExecModifyTable (pstate=0x55591549c0d0) at ../src/backend/executor/nodeModifyTable.c:4133 [00:10:17.936] node = 0x55591549c0d0 [00:10:17.936] context = {mtstate = 0x55591549c0d0, epqstate = 0x55591549c1b8, estate = 0x55591549bd30, planSlot = 0x555915528d68, tmfd = {ctid = {ip_blkid = {bi_hi = 2, bi_lo = 0}, ip_posid = 0}, xmax = 357914680, cmax = 21849, traversed = 10}, cpUpdateReturningSlot = 0x555914479c09 } [00:10:17.936] estate = 0x55591549bd30 [00:10:17.936] operation = CMD_MERGE [00:10:17.936] resultRelInfo = 0x55591549c2e0 [00:10:17.936] subplanstate = 0x55591549ca10 [00:10:17.936] slot = [00:10:17.936] oldSlot = [00:10:17.936] tuple_ctid = {ip_blkid = {bi_hi = 5193, bi_lo = 21849}, ip_posid = 0} [00:10:17.936] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x5559154fb448} [00:10:17.936] oldtuple = 0x7ffdd3890d60 [00:10:17.936] tupleid = 0x0 [00:10:17.936] __func__ = "ExecModifyTable" [00:10:17.936] #9 0x0000555913dd4acc in ExecProcNodeFirst (node=0x55591549c0d0) at ../src/backend/executor/execProcnode.c:469 [00:10:17.936] No locals. [00:10:17.936] #10 0x0000555913dbfed7 in ExecProcNode (node=node@entry=0x55591549c0d0) at ../src/include/executor/executor.h:278 [00:10:17.936] No locals. [00:10:17.936] #11 0x0000555913dc008c in ExecutePlan (estate=estate@entry=0x55591549bd30, planstate=0x55591549c0d0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55591551d1a0, execute_once=true) at ../src/backend/executor/execMain.c:1653 [00:10:17.936] slot = [00:10:17.936] current_tuple_count = 0 [00:10:17.936] #12 0x0000555913dc1e47 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x555915526308, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:364 [00:10:17.936] estate = 0x55591549bd30 [00:10:17.936] operation = CMD_MERGE [00:10:17.936] dest = 0x55591551d1a0 [00:10:17.936] sendTuples = [00:10:17.936] oldcontext = 0x55591551ce90 [00:10:17.936] __func__ = "standard_ExecutorRun" [00:10:17.936] #13 0x0000555913dc20ce in ExecutorRun (queryDesc=queryDesc@entry=0x555915526308, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:305 [00:10:17.936] No locals. [00:10:17.936] #14 0x00005559141a9c3f in ProcessQuery (plan=plan@entry=0x555915558220, sourceText=0x555915392ad0 "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=0x55591551d1a0, qc=qc@entry=0x7ffdd3890fd0) at ../src/backend/tcop/pquery.c:160 [00:10:17.936] queryDesc = 0x555915526308 [00:10:17.936] #15 0x00005559141ab874 in PortalRunMulti (portal=portal@entry=0x555915415720, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55591551d1a0, altdest=0x5559149b3ee0 , qc=qc@entry=0x7ffdd3890fd0) at ../src/backend/tcop/pquery.c:1278 [00:10:17.936] pstmt = 0x555915558220 [00:10:17.936] stmtlist_item__state = [00:10:17.936] active_snapshot_set = true [00:10:17.936] stmtlist_item = 0x555915558348 [00:10:17.936] #16 0x00005559141abdc6 in FillPortalStore (portal=portal@entry=0x555915415720, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [00:10:17.936] treceiver = 0x55591551d1a0 [00:10:17.936] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:10:17.936] __func__ = "FillPortalStore" [00:10:17.936] #17 0x00005559141ac397 in PortalRun (portal=portal@entry=0x555915415720, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x555915558380, altdest=altdest@entry=0x555915558380, qc=0x7ffdd38911b0) at ../src/backend/tcop/pquery.c:763 [00:10:17.936] _save_exception_stack = 0x7ffdd3891260 [00:10:17.936] _save_context_stack = 0x0 [00:10:17.936] _local_sigjmp_buf = {{__jmpbuf = {0, -2038951006578241634, 93841097053984, 93841097963760, 93841097053984, 93841097963688, -5260840544359510114, -2038949469108269154}, __mask_was_saved = 0, __saved_mask = {__val = {93841080687625, 93841096518096, 112, 4, 93841080692042, 3548975423, 4, 93841097963688, 112, 163, 93841097053984, 93841097963760, 93841097963736, 93841097963688, 93841080779245, 1}}}} [00:10:17.936] _do_rethrow = [00:10:17.936] result = [00:10:17.936] nprocessed = [00:10:17.936] saveTopTransactionResourceOwner = 0x5559153d28d8 [00:10:17.936] saveTopTransactionContext = 0x555915426700 [00:10:17.936] saveActivePortal = 0x0 [00:10:17.936] saveResourceOwner = 0x5559153d28d8 [00:10:17.936] savePortalContext = 0x0 [00:10:17.936] saveMemoryContext = 0x555915426700 [00:10:17.936] __func__ = "PortalRun" [00:10:17.936] #18 0x00005559141a5499 in exec_simple_query (query_string=query_string@entry=0x555915392ad0 "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 [00:10:17.936] cmdtaglen = 5 [00:10:17.936] snapshot_set = [00:10:17.936] per_parsetree_context = 0x0 [00:10:17.936] plantree_list = 0x555915558330 [00:10:17.936] parsetree = 0x5559154f38a8 [00:10:17.936] commandTag = [00:10:17.936] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:10:17.936] querytree_list = [00:10:17.936] portal = 0x555915415720 [00:10:17.936] receiver = 0x555915558380 [00:10:17.936] format = 0 [00:10:17.936] cmdtagname = [00:10:17.936] parsetree_item__state = [00:10:17.936] dest = DestRemote [00:10:17.936] oldcontext = 0x555915426700 [00:10:17.936] parsetree_list = 0x5559154f38d8 [00:10:17.936] parsetree_item = 0x5559154f38f0 [00:10:17.936] save_log_statement_stats = false [00:10:17.936] was_logged = true [00:10:17.936] use_implicit_block = false [00:10:17.936] msec_str = "\020\024\211\323\375\177\000\000\017\312E\024YU\000\000@\022\211\323\375\177\000\000\026\001\000\000\000\000\000" [00:10:17.936] __func__ = "exec_simple_query" [00:10:17.936] #19 0x00005559141a821d in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4790 [00:10:17.936] query_string = 0x555915392ad0 "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"... [00:10:17.936] firstchar = [00:10:17.936] input_message = {data = 0x555915392ad0 "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} [00:10:17.936] local_sigjmp_buf = {{__jmpbuf = {93841093236056, -2038951431020834914, 4, 140728152429584, 140728152429728, 140728152429732, -5260840544430813282, -2038949467118071906}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 93841096248912, 14336, 93841093230144, 93841096775824, 140728152429728, 93841080691590, 0, 9, 2, 93841093236064, 93841096248912, 93841093230144, 140728152429584, 140728152429728, 140728152429732}}}} [00:10:17.936] send_ready_for_query = false [00:10:17.936] idle_in_transaction_timeout_enabled = false [00:10:17.936] idle_session_timeout_enabled = false [00:10:17.936] __func__ = "PostgresMain" [00:10:17.936] #20 0x000055591419e094 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [00:10:17.936] bsdata = [00:10:17.936] #21 0x000055591405688c in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffdd38913bc "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffdd3891410) at ../src/backend/postmaster/launch_backend.c:274 [00:10:17.936] pid = [00:10:17.936] #22 0x000055591405c338 in BackendStartup (client_sock=client_sock@entry=0x7ffdd3891410) at ../src/backend/postmaster/postmaster.c:3415 [00:10:17.936] bn = 0x5559153c7938 [00:10:17.936] pid = [00:10:17.936] startup_data = {canAcceptConnections = CAC_OK} [00:10:17.936] __func__ = "BackendStartup" [00:10:17.936] #23 0x000055591405c89a in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [00:10:17.936] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\343\257B\177\000\000\240o8\261B\177\000\000\270\024\211\323\375\177\000\000\264\024\211\323\375\177", '\000' , ">.\"\023YU\000\000X\027\036\023YU\000\000\200\025\211\323\375\177\000\000x\025\211\323\375\177\000\000\225[\362\001\000\000\000\000\240\2642\261B\177\000\000+", '\000' , "YU\000\000S-\"\023YU\000", __ss_align = 139924422063720}, salen = 2}} [00:10:17.936] i = 0 [00:10:17.936] now = [00:10:17.936] last_lockfile_recheck_time = 1726704378 [00:10:17.936] last_touch_time = 1726704378 [00:10:17.936] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 15, user_data = 0x555913222e3e}, {pos = -1317472664, events = 32578, fd = -1322076624, user_data = 0x7f42b178f2e0}, {pos = 2090263927, events = 0, fd = -745990656, user_data = 0x7f42b1765a48}, {pos = 15, events = 0, fd = -1322076624, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7f42b178f2e0}, {pos = -745990792, events = 32765, fd = -745990784, user_data = 0x7f42b178f668}, {pos = 0, events = 0, fd = 32768, user_data = 0x7}, {pos = 356075664, events = 21849, fd = 1, user_data = 0x7ffdd3891aa3}, {pos = -1, events = 0, fd = -1344085984, user_data = 0x7f42b1386fa0}, {pos = 356258824, events = 21849, fd = 356258536, user_data = 0x5559153c10c1}, {pos = -1317617986, events = 32578, fd = 1, user_data = 0x7f42b178f2e0}, {pos = 438, events = 0, fd = 345849264, user_data = 0x0}, {pos = 1, events = 0, fd = 356068072, user_data = 0x7f42b176bebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f42afe2e020}, {pos = -1343279680, events = 32578, fd = 16, user_data = 0x7ffdd38919e0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -1317609030, events = 32578, fd = 0, user_data = 0x7f42afeaed24 }, {pos = 0, events = 0, fd = 352726784, user_data = 0x2}, {pos = 7, events = 0, fd = 355815152, user_data = 0x55591413cecf }, {pos = 1702060386, events = 1936158767, fd = 1952410737, user_data = 0x4}, {pos = 8096, events = 196607, fd = 356068072, user_data = 0x7f42b176bebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f42afe364c8}, {pos = -1343525241, events = 32578, fd = 352777312, user_data = 0x7d0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = -1342235552, events = 32578, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 4294967040, fd = 0, user_data = 0x0}, {pos = -1, events = 4294967295, fd = -1, user_data = 0x30305f742f617461}, {pos = 1735417650, events = 1735423327, fd = 1853190772, user_data = 0x2f65646172677075}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 356231904, user_data = 0x7f42afeb56eb}, {pos = -1342252576, events = 32578, fd = -1343614610, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xcbf3a8e7ba9d3900}, {pos = -1342249504, events = 32578, fd = -328, user_data = 0x0}, {pos = 356258216, events = 21849, fd = 2, user_data = 0x8000000000000006}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 356258016, events = 21849, fd = 3, user_data = 0x0}, {pos = 19087, events = 0, fd = -328, user_data = 0x0}, {pos = 356068072, events = 21849, fd = -1343279149, user_data = 0x7ffdd3891a98}, {pos = 340320637, events = 21849, fd = 352785680, user_data = 0x55591447cc3a }, {pos = 356258016, events = 21849, fd = 356067792, user_data = 0x5559153c10e0}, {pos = -1343531285, events = 32578, fd = 0, user_data = 0x55591448e8a4 }, {pos = 356258016, events = 1, fd = 340322797, user_data = 0x5559153929d0}, {pos = -1164101376, events = 3421743335, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -1343608143, user_data = 0x7f42afea14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1164101376, user_data = 0x55591536a100}, {pos = -1164101376, events = 3421743335, fd = 11, user_data = 0xcbf3a8e7ba9d3900}, {pos = 0, events = 0, fd = -1343901127, user_data = 0x1}, {pos = 335897993, events = 21849, fd = 4194304, user_data = 0x55591447cace }, {pos = 355901696, events = 21849, fd = 356067792, user_data = 0x55591536a100}, {pos = 1, events = 0, fd = 0, user_data = 0x55591448e8a4 }, {pos = 355901696, events = 21849, fd = 340322797, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x555913e8cd40 }, {pos = 0, events = 0, fd = 334045312, user_data = 0xb}, {pos = 335919142, events = 21849, fd = 349192528, user_data = 0x555915393378}} [00:10:17.936] nevents = 1 [00:10:17.936] __func__ = "ServerLoop" [00:10:17.936] #24 0x000055591405e010 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x555915350d60) at ../src/backend/postmaster/postmaster.c:1346 [00:10:17.936] opt = [00:10:17.936] status = [00:10:17.936] userDoption = [00:10:17.936] listen_addr_saved = false [00:10:17.936] output_config_variable = [00:10:17.936] __func__ = "PostmasterMain" [00:10:17.936] #25 0x0000555913e9d11c in main (argc=4, argv=0x555915350d60) at ../src/backend/main/main.c:197 [00:10:17.936] do_check_root =