[21:49:31.967] src/tools/ci/cores_backtrace.sh linux /tmp/cores [21:49:32.179] dumping /tmp/cores/postgres-6-26352.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [21:49:32.424] [New LWP 26352] [21:49:32.424] [21:49:32.424] This GDB supports auto-downloading debuginfo from the following URLs: [21:49:32.424] [21:49:32.424] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [21:49:32.424] Debuginfod has been disabled. [21:49:32.424] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [21:49:32.549] [Thread debugging using libthread_db enabled] [21:49:32.549] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [21:49:32.549] Core was generated by `postgres: postgres regression [local] MERGE '. [21:49:32.549] Program terminated with signal SIGABRT, Aborted. [21:49:32.549] #0 0x00007f5b24aa9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [21:49:33.470] [21:49:33.470] Thread 1 (Thread 0x7f5b247d2f00 (LWP 26352)): [21:49:33.470] #0 0x00007f5b24aa9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [21:49:33.470] No symbol table info available. [21:49:33.470] #1 0x00007f5b24a5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [21:49:33.470] No symbol table info available. [21:49:33.470] #2 0x00007f5b24a45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [21:49:33.470] No symbol table info available. [21:49:33.470] #3 0x000055a4d3af3dd4 in ExceptionalCondition (conditionName=conditionName@entry=0x55a4d3d41ce5 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55a4d3d664a0 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [21:49:33.470] No locals. [21:49:33.470] #4 0x000055a4d349f67e in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffde20538b0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffde205374f) at ../src/backend/executor/execTuples.c:1737 [21:49:33.470] No locals. [21:49:33.470] #5 0x000055a4d34231ff in ExecIRDeleteTriggers (estate=estate@entry=0x55a4d50dd790, relinfo=relinfo@entry=0x55a4d50ddd40, slot=slot@entry=0x7ffde20538b0) at ../src/backend/commands/trigger.c:2842 [21:49:33.470] trigger = 0x55a4d50ddfa0 [21:49:33.470] oldtuple = [21:49:33.470] trigdesc = 0x55a4d50ddf50 [21:49:33.470] newtuple = 0x0 [21:49:33.470] should_free = false [21:49:33.470] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f5b18fcc9d8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [21:49:33.470] i = 0 [21:49:33.470] #6 0x000055a4d34fc57b in ExecMergeMatched (context=0x7ffde20538d0, resultRelInfo=resultRelInfo@entry=0x55a4d50ddd40, tupleid=0x0, oldtuple=0x7ffde20538b0, canSetTag=true, matched=matched@entry=0x7ffde205385f) at ../src/backend/executor/nodeModifyTable.c:3043 [21:49:33.470] relaction = 0x55a4d5162aa0 [21:49:33.470] commandType = CMD_DELETE [21:49:33.470] result = TM_Ok [21:49:33.470] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [21:49:33.470] l__state = [21:49:33.470] mtstate = 0x55a4d50ddb30 [21:49:33.470] mergeActions = 0x55a4d50dde50 [21:49:33.470] actionStates = 0x55a4d5163060 [21:49:33.470] newslot = 0x0 [21:49:33.470] rslot = 0x0 [21:49:33.470] estate = 0x55a4d50dd790 [21:49:33.470] econtext = 0x55a4d51620b0 [21:49:33.470] isNull = false [21:49:33.470] epqstate = 0x55a4d50ddc18 [21:49:33.470] l = [21:49:33.470] __func__ = "ExecMergeMatched" [21:49:33.470] lmerge_matched = [21:49:33.470] #7 0x000055a4d34fd139 in ExecMerge (context=context@entry=0x7ffde20538d0, resultRelInfo=resultRelInfo@entry=0x55a4d50ddd40, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffde20538b0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [21:49:33.470] rslot = 0x0 [21:49:33.470] matched = true [21:49:33.470] #8 0x000055a4d34fe8fe in ExecModifyTable (pstate=0x55a4d50ddb30) at ../src/backend/executor/nodeModifyTable.c:4133 [21:49:33.470] node = 0x55a4d50ddb30 [21:49:33.470] context = {mtstate = 0x55a4d50ddb30, epqstate = 0x55a4d50ddc18, estate = 0x55a4d50dd790, planSlot = 0x55a4d5160498, tmfd = {ctid = {ip_blkid = {bi_hi = 2, bi_lo = 0}, ip_posid = 0}, xmax = 3575172968, cmax = 21924, traversed = 10}, cpUpdateReturningSlot = 0x55a4d3b36cf6 } [21:49:33.470] estate = 0x55a4d50dd790 [21:49:33.470] operation = CMD_MERGE [21:49:33.470] resultRelInfo = 0x55a4d50ddd40 [21:49:33.470] subplanstate = 0x55a4d50de470 [21:49:33.470] slot = [21:49:33.470] oldSlot = [21:49:33.470] tuple_ctid = {ip_blkid = {bi_hi = 54196, bi_lo = 21924}, ip_posid = 0} [21:49:33.470] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55a4d5132368} [21:49:33.470] oldtuple = 0x7ffde20538b0 [21:49:33.470] tupleid = 0x0 [21:49:33.470] __func__ = "ExecModifyTable" [21:49:33.470] #9 0x000055a4d3491bca in ExecProcNodeFirst (node=0x55a4d50ddb30) at ../src/backend/executor/execProcnode.c:469 [21:49:33.470] No locals. [21:49:33.470] #10 0x000055a4d347cfd5 in ExecProcNode (node=node@entry=0x55a4d50ddb30) at ../src/include/executor/executor.h:278 [21:49:33.470] No locals. [21:49:33.470] #11 0x000055a4d347d18a in ExecutePlan (estate=estate@entry=0x55a4d50dd790, planstate=0x55a4d50ddb30, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55a4d51548d0, execute_once=true) at ../src/backend/executor/execMain.c:1653 [21:49:33.470] slot = [21:49:33.470] current_tuple_count = 0 [21:49:33.470] #12 0x000055a4d347ef45 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x55a4d5158ed8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:364 [21:49:33.470] estate = 0x55a4d50dd790 [21:49:33.470] operation = CMD_MERGE [21:49:33.470] dest = 0x55a4d51548d0 [21:49:33.470] sendTuples = [21:49:33.470] oldcontext = 0x55a4d51545c0 [21:49:33.470] __func__ = "standard_ExecutorRun" [21:49:33.470] #13 0x000055a4d347f1cc in ExecutorRun (queryDesc=queryDesc@entry=0x55a4d5158ed8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:305 [21:49:33.470] No locals. [21:49:33.470] #14 0x000055a4d3866d2c in ProcessQuery (plan=plan@entry=0x55a4d518f950, sourceText=0x55a4d4fc9b50 "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=0x55a4d51548d0, qc=qc@entry=0x7ffde2053b20) at ../src/backend/tcop/pquery.c:160 [21:49:33.470] queryDesc = 0x55a4d5158ed8 [21:49:33.470] #15 0x000055a4d3868961 in PortalRunMulti (portal=portal@entry=0x55a4d504c0f0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55a4d51548d0, altdest=0x55a4d4070ee0 , qc=qc@entry=0x7ffde2053b20) at ../src/backend/tcop/pquery.c:1278 [21:49:33.470] pstmt = 0x55a4d518f950 [21:49:33.470] stmtlist_item__state = [21:49:33.470] active_snapshot_set = true [21:49:33.470] stmtlist_item = 0x55a4d518fa78 [21:49:33.470] #16 0x000055a4d3868eb3 in FillPortalStore (portal=portal@entry=0x55a4d504c0f0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [21:49:33.470] treceiver = 0x55a4d51548d0 [21:49:33.470] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [21:49:33.470] __func__ = "FillPortalStore" [21:49:33.470] #17 0x000055a4d3869484 in PortalRun (portal=portal@entry=0x55a4d504c0f0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55a4d518fab0, altdest=altdest@entry=0x55a4d518fab0, qc=0x7ffde2053d00) at ../src/backend/tcop/pquery.c:763 [21:49:33.470] _save_exception_stack = 0x7ffde2053db0 [21:49:33.470] _save_context_stack = 0x0 [21:49:33.470] _local_sigjmp_buf = {{__jmpbuf = {0, 442280648015270887, 94166436856048, 94166438549248, 94166436856048, 94166438549176, 5949578211439072231, 442275095479768039}, __mask_was_saved = 0, __saved_mask = {__val = {94166414748918, 94166436321872, 112, 4, 94166414753335, 3791993999, 4, 94166438549176, 112, 163, 94166436856048, 94166438549248, 94166438549224, 94166438549176, 94166414840538, 1}}}} [21:49:33.470] _do_rethrow = [21:49:33.470] result = [21:49:33.470] nprocessed = [21:49:33.470] saveTopTransactionResourceOwner = 0x55a4d5008da8 [21:49:33.470] saveTopTransactionContext = 0x55a4d505dd00 [21:49:33.470] saveActivePortal = 0x0 [21:49:33.470] saveResourceOwner = 0x55a4d5008da8 [21:49:33.470] savePortalContext = 0x0 [21:49:33.470] saveMemoryContext = 0x55a4d505dd00 [21:49:33.470] __func__ = "PortalRun" [21:49:33.470] #18 0x000055a4d3862586 in exec_simple_query (query_string=query_string@entry=0x55a4d4fc9b50 "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 [21:49:33.470] cmdtaglen = 5 [21:49:33.470] snapshot_set = [21:49:33.470] per_parsetree_context = 0x0 [21:49:33.470] plantree_list = 0x55a4d518fa60 [21:49:33.470] parsetree = 0x55a4d51e96b8 [21:49:33.470] commandTag = [21:49:33.470] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [21:49:33.470] querytree_list = [21:49:33.470] portal = 0x55a4d504c0f0 [21:49:33.470] receiver = 0x55a4d518fab0 [21:49:33.470] format = 0 [21:49:33.470] cmdtagname = [21:49:33.470] parsetree_item__state = [21:49:33.470] dest = DestRemote [21:49:33.470] oldcontext = 0x55a4d505dd00 [21:49:33.470] parsetree_list = 0x55a4d51e96e8 [21:49:33.470] parsetree_item = 0x55a4d51e9700 [21:49:33.470] save_log_statement_stats = false [21:49:33.470] was_logged = false [21:49:33.470] use_implicit_block = false [21:49:33.470] msec_str = "`?\005\342\375\177\000\000\374\232\261ӤU\000\000\220=\005\342\375\177\000\000\026\001\000\000\000\000\000" [21:49:33.470] __func__ = "exec_simple_query" [21:49:33.470] #19 0x000055a4d386530a in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4790 [21:49:33.470] query_string = 0x55a4d4fc9b50 "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"... [21:49:33.470] firstchar = [21:49:33.470] input_message = {data = 0x55a4d4fc9b50 "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} [21:49:33.470] local_sigjmp_buf = {{__jmpbuf = {94166427297080, 442277675228910567, 4, 140728395448160, 140728395448304, 140728395448308, 5949578211644593127, 442275093003031527}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94166436052592, 15616, 94166427291168, 94166436576608, 140728395448304, 94166414752883, 0, 9, 2, 94166427297088, 94166436052592, 94166427291168, 140728395448160, 140728395448304, 140728395448308}}}} [21:49:33.470] send_ready_for_query = false [21:49:33.470] idle_in_transaction_timeout_enabled = false [21:49:33.470] idle_session_timeout_enabled = false [21:49:33.470] __func__ = "PostgresMain" [21:49:33.470] #20 0x000055a4d385b181 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [21:49:33.470] bsdata = [21:49:33.470] #21 0x000055a4d3713979 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffde2053f0c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffde2053f60) at ../src/backend/postmaster/launch_backend.c:274 [21:49:33.470] pid = [21:49:33.470] #22 0x000055a4d3719425 in BackendStartup (client_sock=client_sock@entry=0x7ffde2053f60) at ../src/backend/postmaster/postmaster.c:3415 [21:49:33.470] bn = 0x55a4d4ff2528 [21:49:33.470] pid = [21:49:33.470] startup_data = {canAcceptConnections = CAC_OK} [21:49:33.470] __func__ = "BackendStartup" [21:49:33.470] #23 0x000055a4d3719987 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [21:49:33.470] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "\005\342\375\177\000\000\364?\005\342\375\177", '\000' , "^\376\215ҤU\000\000`\347\211ҤU\000\000\300@\005\342\375\177\000\000\270@\005\342\375\177\000\000\225[\362\001\000\000\000\000\240\024\211%[\177\000\000+", '\000' , "s\375\215ҤU\000\000h&.&[\177\000\0000\026\211%[\177\000", __ss_align = 140029459309280}, salen = 2}} [21:49:33.470] i = 0 [21:49:33.470] now = [21:49:33.470] last_lockfile_recheck_time = 1726868752 [21:49:33.470] last_touch_time = 1726868752 [21:49:33.470] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = -762446242, events = 21924, fd = 640558696, user_data = 0x7f5b25891630}, {pos = 640557792, events = 32603, fd = 2090263927, user_data = 0x7ffde2054140}, {pos = 640387656, events = 32603, fd = 15, user_data = 0x7f5b25891630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = 640557792, events = 32603, fd = -502972232, user_data = 0x7ffde20540c0}, {pos = 640558696, events = 32603, fd = 0, user_data = 0x55a4d4fc9c10}, {pos = -742894269, events = 21924, fd = 32768, user_data = 0x1}, {pos = -721634992, events = 21924, fd = -1, user_data = 0x7f5b24a2e020}, {pos = 636719008, events = 32603, fd = -721459224, user_data = 0x55a4d4ff66c8}, {pos = -721450783, events = 21924, fd = 640413374, user_data = 0x1}, {pos = 640557792, events = 32603, fd = 438, user_data = 0x55a4d4090db0 }, {pos = 0, events = 0, fd = 1, user_data = 0x55a4d4fc9c10}, {pos = 640413374, events = 32603, fd = 1, user_data = 0x0}, {pos = 614653984, events = 32603, fd = 615460288, user_data = 0x10}, {pos = -502971088, events = 32765, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 640422330, user_data = 0x0}, {pos = 615181604, events = 32603, fd = 0, user_data = 0x55a4d471fee0 }, {pos = 2, events = 0, fd = 7, user_data = 0x55a4d4f8bf10}, {pos = -746626173, events = 21924, fd = -721433221, user_data = 0x55a4d37f9fbc }, {pos = 1702060386, events = 1936158767, fd = 8096, user_data = 0x55a4d4fc9c10}, {pos = 640413374, events = 32603, fd = 1, user_data = 0x0}, {pos = 614687944, events = 32603, fd = 615106688, user_data = 0x41e}, {pos = 615215085, events = 32603, fd = 2, user_data = 0x55a4d4ff54b0}, {pos = 255, events = 0, fd = 99, user_data = 0x0}, {pos = 616504416, events = 32603, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = -1, user_data = 0x7a4133302d737365}, {pos = 168453175, events = 824188960, fd = 822763892, user_data = 0x30340a3235373836}, {pos = 795768178, events = 1919378802, fd = 796095333, user_data = 0x69632f706d742f0a}, {pos = 1937076850, events = 761881389, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xa}, {pos = -743215882, events = 21924, fd = -721456944, user_data = 0x7f5b24ab56eb}, {pos = 616487392, events = 32603, fd = 615125358, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0x6b0f1f00c57a9c00}, {pos = 616490464, events = 32603, 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 = -721459832, user_data = 0x55a4d3b375b9 }, {pos = -721460032, events = 21924, fd = 3, user_data = 0x0}, {pos = 24052, events = 0, fd = -328, user_data = 0x0}, {pos = -721642480, events = 21924, fd = 615460819, user_data = 0x7ffde20545e8}, {pos = -743132566, events = 21924, fd = -730667792, user_data = 0x55a4d3b39d27 }, {pos = -721460032, events = 21924, fd = -721642928, user_data = 0x55a4d4ff64c0}, {pos = 615209022, events = 32603, fd = 0, user_data = 0x55a4d3b4b991 }, {pos = -721460032, events = 1, fd = -743130406, user_data = 0x55a4d4fc9a50}, {pos = -981820416, events = 1796153088, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 615131825, user_data = 0x7f5b24aa14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -981820416, user_data = 0x55a4d4fa1180}, {pos = -981820416, events = 1796153088, fd = 11, user_data = 0x6b0f1f00c57a9c00}, {pos = 0, events = 0, fd = 614838841, user_data = 0x1}, {pos = -747555210, events = 21924, fd = 4194304, user_data = 0x55a4d3b39bbb }, {pos = -721809024, events = 21924, fd = -721642928, user_data = 0x55a4d4fa1180}, {pos = 1, events = 0, fd = 0, user_data = 0x55a4d3b4b991 }, {pos = -721809024, events = 21924, fd = -743130406, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x55a4d3549e2d }, {pos = 0, events = 0, fd = -749407891, user_data = 0xb}, {pos = -747534061, events = 21924, fd = -734260944, user_data = 0x55a4d4fca428}} [21:49:33.470] nevents = 1 [21:49:33.470] __func__ = "ServerLoop" [21:49:33.470] #24 0x000055a4d371b0fd in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x55a4d4f87dd0) at ../src/backend/postmaster/postmaster.c:1346 [21:49:33.470] opt = [21:49:33.470] status = [21:49:33.470] userDoption = [21:49:33.470] listen_addr_saved = false [21:49:33.470] output_config_variable = [21:49:33.470] __func__ = "PostmasterMain" [21:49:33.470] #25 0x000055a4d355a209 in main (argc=8, argv=0x55a4d4f87dd0) at ../src/backend/main/main.c:197 [21:49:33.470] do_check_root = [21:49:33.505] -e [21:49:33.505] [21:49:33.505] [21:49:33.567] dumping /tmp/cores/postgres-6-26865.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [21:49:33.812] [New LWP 26865] [21:49:33.812] [21:49:33.812] This GDB supports auto-downloading debuginfo from the following URLs: [21:49:33.812] [21:49:33.812] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [21:49:33.812] Debuginfod has been disabled. [21:49:33.812] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [21:49:33.914] [Thread debugging using libthread_db enabled] [21:49:33.914] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [21:49:33.914] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [21:49:33.914] Program terminated with signal SIGABRT, Aborted. [21:49:33.914] #0 0x00007fea7b8a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [21:49:34.801] [21:49:34.801] Thread 1 (Thread 0x7fea7b7d4f00 (LWP 26865)): [21:49:34.801] #0 0x00007fea7b8a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [21:49:34.801] No symbol table info available. [21:49:34.801] #1 0x00007fea7b85afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [21:49:34.801] No symbol table info available. [21:49:34.801] #2 0x00007fea7b845472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [21:49:34.801] No symbol table info available. [21:49:34.801] #3 0x000055b2c1c2ddd4 in ExceptionalCondition (conditionName=conditionName@entry=0x55b2c1e7bce5 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55b2c1ea04a0 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [21:49:34.801] No locals. [21:49:34.801] #4 0x000055b2c15d967e in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffe583ec340, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffe583ec1df) at ../src/backend/executor/execTuples.c:1737 [21:49:34.801] No locals. [21:49:34.801] #5 0x000055b2c155d1ff in ExecIRDeleteTriggers (estate=estate@entry=0x55b2c3269d30, relinfo=relinfo@entry=0x55b2c326a2e0, slot=slot@entry=0x7ffe583ec340) at ../src/backend/commands/trigger.c:2842 [21:49:34.801] trigger = 0x55b2c326a540 [21:49:34.801] oldtuple = [21:49:34.801] trigdesc = 0x55b2c326a4f0 [21:49:34.801] newtuple = 0x0 [21:49:34.801] should_free = false [21:49:34.801] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fea70134f20, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [21:49:34.801] i = 0 [21:49:34.801] #6 0x000055b2c163657b in ExecMergeMatched (context=0x7ffe583ec360, resultRelInfo=resultRelInfo@entry=0x55b2c326a2e0, tupleid=0x0, oldtuple=0x7ffe583ec340, canSetTag=true, matched=matched@entry=0x7ffe583ec2ef) at ../src/backend/executor/nodeModifyTable.c:3043 [21:49:34.801] relaction = 0x55b2c334ec00 [21:49:34.801] commandType = CMD_DELETE [21:49:34.801] result = TM_Ok [21:49:34.801] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [21:49:34.801] l__state = [21:49:34.801] mtstate = 0x55b2c326a0d0 [21:49:34.801] mergeActions = 0x55b2c326a3f0 [21:49:34.801] actionStates = 0x55b2c334f1c0 [21:49:34.801] newslot = 0x0 [21:49:34.801] rslot = 0x0 [21:49:34.801] estate = 0x55b2c3269d30 [21:49:34.801] econtext = 0x55b2c334e210 [21:49:34.801] isNull = false [21:49:34.801] epqstate = 0x55b2c326a1b8 [21:49:34.801] l = [21:49:34.801] __func__ = "ExecMergeMatched" [21:49:34.801] lmerge_matched = [21:49:34.801] #7 0x000055b2c1637139 in ExecMerge (context=context@entry=0x7ffe583ec360, resultRelInfo=resultRelInfo@entry=0x55b2c326a2e0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffe583ec340, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [21:49:34.801] rslot = 0x0 [21:49:34.801] matched = true [21:49:34.801] #8 0x000055b2c16388fe in ExecModifyTable (pstate=0x55b2c326a0d0) at ../src/backend/executor/nodeModifyTable.c:4133 [21:49:34.801] node = 0x55b2c326a0d0 [21:49:34.801] context = {mtstate = 0x55b2c326a0d0, epqstate = 0x55b2c326a1b8, estate = 0x55b2c3269d30, planSlot = 0x55b2c334c5f8, tmfd = {ctid = {ip_blkid = {bi_hi = 2, bi_lo = 0}, ip_posid = 0}, xmax = 3275085784, cmax = 21938, traversed = 10}, cpUpdateReturningSlot = 0x55b2c1c70cf6 } [21:49:34.801] estate = 0x55b2c3269d30 [21:49:34.801] operation = CMD_MERGE [21:49:34.801] resultRelInfo = 0x55b2c326a2e0 [21:49:34.801] subplanstate = 0x55b2c326aa10 [21:49:34.801] slot = [21:49:34.801] oldSlot = [21:49:34.801] tuple_ctid = {ip_blkid = {bi_hi = 49608, bi_lo = 21938}, ip_posid = 0} [21:49:34.801] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55b2c32cff68} [21:49:34.801] oldtuple = 0x7ffe583ec340 [21:49:34.801] tupleid = 0x0 [21:49:34.801] __func__ = "ExecModifyTable" [21:49:34.801] #9 0x000055b2c15cbbca in ExecProcNodeFirst (node=0x55b2c326a0d0) at ../src/backend/executor/execProcnode.c:469 [21:49:34.801] No locals. [21:49:34.801] #10 0x000055b2c15b6fd5 in ExecProcNode (node=node@entry=0x55b2c326a0d0) at ../src/include/executor/executor.h:278 [21:49:34.801] No locals. [21:49:34.801] #11 0x000055b2c15b718a in ExecutePlan (estate=estate@entry=0x55b2c3269d30, planstate=0x55b2c326a0d0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55b2c322b6f0, execute_once=true) at ../src/backend/executor/execMain.c:1653 [21:49:34.801] slot = [21:49:34.801] current_tuple_count = 0 [21:49:34.801] #12 0x000055b2c15b8f45 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x55b2c32afe78, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:364 [21:49:34.801] estate = 0x55b2c3269d30 [21:49:34.801] operation = CMD_MERGE [21:49:34.801] dest = 0x55b2c322b6f0 [21:49:34.801] sendTuples = [21:49:34.801] oldcontext = 0x55b2c322b3e0 [21:49:34.801] __func__ = "standard_ExecutorRun" [21:49:34.801] #13 0x000055b2c15b91cc in ExecutorRun (queryDesc=queryDesc@entry=0x55b2c32afe78, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:305 [21:49:34.801] No locals. [21:49:34.801] #14 0x000055b2c19a0d2c in ProcessQuery (plan=plan@entry=0x55b2c33601c0, sourceText=0x55b2c3160ad0 "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=0x55b2c322b6f0, qc=qc@entry=0x7ffe583ec5b0) at ../src/backend/tcop/pquery.c:160 [21:49:34.801] queryDesc = 0x55b2c32afe78 [21:49:34.801] #15 0x000055b2c19a2961 in PortalRunMulti (portal=portal@entry=0x55b2c31e3720, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55b2c322b6f0, altdest=0x55b2c21aaee0 , qc=qc@entry=0x7ffe583ec5b0) at ../src/backend/tcop/pquery.c:1278 [21:49:34.801] pstmt = 0x55b2c33601c0 [21:49:34.801] stmtlist_item__state = [21:49:34.801] active_snapshot_set = true [21:49:34.801] stmtlist_item = 0x55b2c33602e8 [21:49:34.801] #16 0x000055b2c19a2eb3 in FillPortalStore (portal=portal@entry=0x55b2c31e3720, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [21:49:34.801] treceiver = 0x55b2c322b6f0 [21:49:34.801] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [21:49:34.801] __func__ = "FillPortalStore" [21:49:34.801] #17 0x000055b2c19a3484 in PortalRun (portal=portal@entry=0x55b2c31e3720, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55b2c3360320, altdest=altdest@entry=0x55b2c3360320, qc=0x7ffe583ec790) at ../src/backend/tcop/pquery.c:763 [21:49:34.801] _save_exception_stack = 0x7ffe583ec840 [21:49:34.801] _save_context_stack = 0x0 [21:49:34.801] _local_sigjmp_buf = {{__jmpbuf = {0, 8401090457547031367, 94226266076960, 94226266886048, 94226266076960, 94226266885976, 2310238114435810119, 8401093584950641479}, __mask_was_saved = 0, __saved_mask = {__val = {94226243587318, 94226265541072, 112, 4, 94226243591735, 1480509215, 4, 94226266885976, 112, 163, 94226266076960, 94226266886048, 94226266886024, 94226266885976, 94226243678938, 1}}}} [21:49:34.801] _do_rethrow = [21:49:34.801] result = [21:49:34.801] nprocessed = [21:49:34.801] saveTopTransactionResourceOwner = 0x55b2c31a08d8 [21:49:34.801] saveTopTransactionContext = 0x55b2c31f4700 [21:49:34.801] saveActivePortal = 0x0 [21:49:34.801] saveResourceOwner = 0x55b2c31a08d8 [21:49:34.801] savePortalContext = 0x0 [21:49:34.801] saveMemoryContext = 0x55b2c31f4700 [21:49:34.801] __func__ = "PortalRun" [21:49:34.801] #18 0x000055b2c199c586 in exec_simple_query (query_string=query_string@entry=0x55b2c3160ad0 "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 [21:49:34.801] cmdtaglen = 5 [21:49:34.801] snapshot_set = [21:49:34.801] per_parsetree_context = 0x0 [21:49:34.801] plantree_list = 0x55b2c33602d0 [21:49:34.801] parsetree = 0x55b2c32a8f58 [21:49:34.801] commandTag = [21:49:34.801] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [21:49:34.801] querytree_list = [21:49:34.801] portal = 0x55b2c31e3720 [21:49:34.801] receiver = 0x55b2c3360320 [21:49:34.801] format = 0 [21:49:34.801] cmdtagname = [21:49:34.801] parsetree_item__state = [21:49:34.801] dest = DestRemote [21:49:34.801] oldcontext = 0x55b2c31f4700 [21:49:34.801] parsetree_list = 0x55b2c32a8f88 [21:49:34.801] parsetree_item = 0x55b2c32a8fa0 [21:49:34.801] save_log_statement_stats = false [21:49:34.801] was_logged = true [21:49:34.801] use_implicit_block = false [21:49:34.801] msec_str = "\360\311>X\376\177\000\000\374:\305\301\262U\000\000 \310>X\376\177\000\000\026\001\000\000\000\000\000" [21:49:34.801] __func__ = "exec_simple_query" [21:49:34.801] #19 0x000055b2c199f30a in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4790 [21:49:34.801] query_string = 0x55b2c3160ad0 "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"... [21:49:34.801] firstchar = [21:49:34.801] input_message = {data = 0x55b2c3160ad0 "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} [21:49:34.801] local_sigjmp_buf = {{__jmpbuf = {94226256135480, 8401087026082071367, 4, 140730378930672, 140730378930816, 140730378930820, 2310238114582610759, 8401093596424160071}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94226265271888, 14336, 94226256129568, 94226265798800, 140730378930816, 94226243591283, 0, 9, 2, 94226256135488, 94226265271888, 94226256129568, 140730378930672, 140730378930816, 140730378930820}}}} [21:49:34.801] send_ready_for_query = false [21:49:34.801] idle_in_transaction_timeout_enabled = false [21:49:34.801] idle_session_timeout_enabled = false [21:49:34.801] __func__ = "PostgresMain" [21:49:34.801] #20 0x000055b2c1995181 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [21:49:34.801] bsdata = [21:49:34.801] #21 0x000055b2c184d979 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffe583ec99c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe583ec9f0) at ../src/backend/postmaster/launch_backend.c:274 [21:49:34.801] pid = [21:49:34.801] #22 0x000055b2c1853425 in BackendStartup (client_sock=client_sock@entry=0x7ffe583ec9f0) at ../src/backend/postmaster/postmaster.c:3415 [21:49:34.801] bn = 0x55b2c31959d8 [21:49:34.801] pid = [21:49:34.801] startup_data = {canAcceptConnections = CAC_OK} [21:49:34.801] __func__ = "BackendStartup" [21:49:34.801] #23 0x000055b2c1853987 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [21:49:34.801] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\202{\352\177\000\000\264\312>X\376\177\000\000\312\020\020}\352\177\000\000>\004\000\000\000\000\000\000\260\227\203{\352\177\000\000\240O\323|\352\177\000\000\270\312>X\376\177\000\000\264\312>X\376\177\000\000\000\000\000\000\000\000\000\000P\312>X\376\177\000\000^\236\241\300\262U\000\000`\207\235\300\262U\000\000\200\313>X\376\177\000\000x\313>X\376\177\000\000\225[\362\001\000\000\000", __ss_align = 140645086295200}, salen = 2}} [21:49:34.801] i = 0 [21:49:34.801] now = [21:49:34.801] last_lockfile_recheck_time = 1726868755 [21:49:34.801] last_touch_time = 1726868755 [21:49:34.801] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 1, user_data = 0x7fea7d12b2e0}, {pos = 1480510200, events = 0, fd = 0, user_data = 0x7fea7d12b668}, {pos = -1063149986, events = 21938, fd = 2098378344, user_data = 0x7fea7c687630}, {pos = 2098377440, events = 32746, fd = 2090263927, user_data = 0x7ffe583ecc00}, {pos = 2098207304, events = 32746, fd = 15, user_data = 0x7fea7c687630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = 2098377440, events = 32746, fd = 1480510328, user_data = 0x7ffe583ecb80}, {pos = 2098378344, events = 32746, fd = 0, user_data = 0x55b2c318f408}, {pos = -1021775128, events = 21938, fd = -1021775679, user_data = 0x7fea00000001}, {pos = 1, events = 0, fd = -1, user_data = 0x7fea7b82e020}, {pos = 2094223264, events = 32746, fd = -1021774840, user_data = 0x7ffe583ecf70}, {pos = -1021803672, events = 21938, fd = -1021774608, user_data = 0x55b2c318f408}, {pos = 2098377440, events = 32746, fd = 438, user_data = 0x55b2c21cadb0 }, {pos = 0, events = 0, fd = 1, user_data = 0x55b2c3160ae8}, {pos = 2098233022, events = 32746, fd = 1, user_data = 0x0}, {pos = 2072174624, events = 32746, fd = 2072980928, user_data = 0x7ffe583ecfe0}, {pos = 1480511424, events = 32766, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 2098241978, user_data = 0x0}, {pos = 2072702244, events = 32746, fd = 0, user_data = 0x55b2c2859ee0 }, {pos = 2, events = 0, fd = 7, user_data = 0x55b2c3122ef0}, {pos = 0, events = 0, fd = 2072208584, user_data = 0x7fea7b89c880 }, {pos = 2071809464, events = 32746, fd = 8096, user_data = 0x100007f00000002}, {pos = 2072735367, events = 32746, fd = 2, user_data = 0x7d0}, {pos = 255, events = 0, fd = 99, user_data = 0x2}, {pos = 2074025056, events = 32746, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x55b2c3122ef0}, {pos = 2072738314, events = 32746, fd = 1663923061, user_data = 0x55b2c3122ef0}, {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 = 0x64c808a84674d700}, {pos = 2074011104, events = 32746, fd = -328, user_data = 0x0}, {pos = -1021775448, events = 21938, fd = 1024, user_data = 0x55b2c318f1a8}, {pos = 1480511608, events = 32766, fd = 2072739487, user_data = 0x2}, {pos = 6, events = 2147483648, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 3, user_data = 0x0}, {pos = 24704, events = 0, fd = -328, user_data = 0x0}, {pos = -1021965592, events = 21938, fd = 2072981459, user_data = 0x7ffe583ed078}, {pos = -1043836310, events = 21938, fd = -1031371536, user_data = 0x55b2c1c73d27 }, {pos = -1021775648, events = 21938, fd = -1021965872, user_data = 0x55b2c318f0e0}, {pos = 2072729323, events = 32746, fd = 0, user_data = 0x55b2c1c85991 }, {pos = -1021775648, events = 1, fd = -1043834150, user_data = 0x55b2c31609d0}, {pos = 1182062336, events = 1690831016, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 2072652465, user_data = 0x7fea7b8a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1182062336, user_data = 0x55b2c3138100}, {pos = 1182062336, events = 1690831016, fd = 11, user_data = 0x64c808a84674d700}, {pos = 0, events = 0, fd = 2072359481, user_data = 0x1}, {pos = -1048258954, events = 21938, fd = 4194304, user_data = 0x55b2c1c73bbb }, {pos = -1022131968, events = 21938, fd = -1021965872, user_data = 0x55b2c3138100}, {pos = 1, events = 0, fd = 0, user_data = 0x55b2c1c85991 }, {pos = -1022131968, events = 21938, fd = -1043834150, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x55b2c1683e2d }, {pos = 0, events = 0, fd = -1050111635, user_data = 0xb}, {pos = -1048237805, events = 21938, fd = -1034964688, user_data = 0x55b2c3161378}} [21:49:34.801] nevents = 1 [21:49:34.801] __func__ = "ServerLoop" [21:49:34.801] #24 0x000055b2c18550fd in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55b2c311ed60) at ../src/backend/postmaster/postmaster.c:1346 [21:49:34.801] opt = [21:49:34.801] status = [21:49:34.801] userDoption = [21:49:34.801] listen_addr_saved = false [21:49:34.801] output_config_variable = [21:49:34.801] __func__ = "PostmasterMain" [21:49:34.801] #25 0x000055b2c1694209 in main (argc=4, argv=0x55b2c311ed60) at ../src/backend/main/main.c:197 [21:49:34.801] do_check_root = [21:49:34.836] -e [21:49:34.836] [21:49:34.836] [21:49:34.898] dumping /tmp/cores/postgres-6-33306.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [21:49:35.145] [New LWP 33306] [21:49:35.145] [21:49:35.145] This GDB supports auto-downloading debuginfo from the following URLs: [21:49:35.145] [21:49:35.145] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [21:49:35.145] Debuginfod has been disabled. [21:49:35.145] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [21:49:35.249] [Thread debugging using libthread_db enabled] [21:49:35.249] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [21:49:35.249] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [21:49:35.249] Program terminated with signal SIGABRT, Aborted. [21:49:35.249] #0 0x00007fcea12a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [21:49:36.152] [21:49:36.152] Thread 1 (Thread 0x7fcea11d4f00 (LWP 33306)): [21:49:36.152] #0 0x00007fcea12a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [21:49:36.152] No symbol table info available. [21:49:36.152] #1 0x00007fcea125afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [21:49:36.152] No symbol table info available. [21:49:36.152] #2 0x00007fcea1245472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [21:49:36.152] No symbol table info available. [21:49:36.152] #3 0x00005588729e3dd4 in ExceptionalCondition (conditionName=conditionName@entry=0x558872c31ce5 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x558872c564a0 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [21:49:36.152] No locals. [21:49:36.152] #4 0x000055887238f67e in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffd6c7913d0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffd6c79126f) at ../src/backend/executor/execTuples.c:1737 [21:49:36.152] No locals. [21:49:36.152] #5 0x00005588723131ff in ExecIRDeleteTriggers (estate=estate@entry=0x55887483fb90, relinfo=relinfo@entry=0x558874840140, slot=slot@entry=0x7ffd6c7913d0) at ../src/backend/commands/trigger.c:2842 [21:49:36.152] trigger = 0x5588748403a0 [21:49:36.152] oldtuple = [21:49:36.152] trigdesc = 0x558874840350 [21:49:36.152] newtuple = 0x0 [21:49:36.152] should_free = false [21:49:36.152] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fce9cc7d6e8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [21:49:36.152] i = 0 [21:49:36.152] #6 0x00005588723ec57b in ExecMergeMatched (context=0x7ffd6c7913f0, resultRelInfo=resultRelInfo@entry=0x558874840140, tupleid=0x0, oldtuple=0x7ffd6c7913d0, canSetTag=true, matched=matched@entry=0x7ffd6c79137f) at ../src/backend/executor/nodeModifyTable.c:3043 [21:49:36.152] relaction = 0x5588749f7e00 [21:49:36.152] commandType = CMD_DELETE [21:49:36.152] result = TM_Ok [21:49:36.152] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [21:49:36.152] l__state = [21:49:36.152] mtstate = 0x55887483ff30 [21:49:36.152] mergeActions = 0x558874840250 [21:49:36.152] actionStates = 0x5588749f83c0 [21:49:36.152] newslot = 0x0 [21:49:36.152] rslot = 0x0 [21:49:36.152] estate = 0x55887483fb90 [21:49:36.152] econtext = 0x5588749f7410 [21:49:36.152] isNull = false [21:49:36.152] epqstate = 0x558874840018 [21:49:36.152] l = [21:49:36.152] __func__ = "ExecMergeMatched" [21:49:36.152] lmerge_matched = [21:49:36.152] #7 0x00005588723ed139 in ExecMerge (context=context@entry=0x7ffd6c7913f0, resultRelInfo=resultRelInfo@entry=0x558874840140, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffd6c7913d0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [21:49:36.152] rslot = 0x0 [21:49:36.152] matched = true [21:49:36.152] #8 0x00005588723ee8fe in ExecModifyTable (pstate=0x55887483ff30) at ../src/backend/executor/nodeModifyTable.c:4133 [21:49:36.152] node = 0x55887483ff30 [21:49:36.152] context = {mtstate = 0x55887483ff30, epqstate = 0x558874840018, estate = 0x55887483fb90, planSlot = 0x5588749f57f8, tmfd = {ctid = {ip_blkid = {bi_hi = 1, bi_lo = 0}, ip_posid = 0}, xmax = 2630446720, cmax = 32718, traversed = 72}, cpUpdateReturningSlot = 0x558874840018} [21:49:36.152] estate = 0x55887483fb90 [21:49:36.152] operation = CMD_MERGE [21:49:36.152] resultRelInfo = 0x558874840140 [21:49:36.152] subplanstate = 0x558874840870 [21:49:36.152] slot = [21:49:36.152] oldSlot = [21:49:36.152] tuple_ctid = {ip_blkid = {bi_hi = 29246, bi_lo = 21896}, ip_posid = 0} [21:49:36.152] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x5588749522b8} [21:49:36.152] oldtuple = 0x7ffd6c7913d0 [21:49:36.152] tupleid = 0x0 [21:49:36.152] __func__ = "ExecModifyTable" [21:49:36.152] #9 0x0000558872381bca in ExecProcNodeFirst (node=0x55887483ff30) at ../src/backend/executor/execProcnode.c:469 [21:49:36.152] No locals. [21:49:36.152] #10 0x000055887236cfd5 in ExecProcNode (node=node@entry=0x55887483ff30) at ../src/include/executor/executor.h:278 [21:49:36.152] No locals. [21:49:36.152] #11 0x000055887236d18a in ExecutePlan (estate=estate@entry=0x55887483fb90, planstate=0x55887483ff30, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x558874974420, execute_once=true) at ../src/backend/executor/execMain.c:1653 [21:49:36.152] slot = [21:49:36.152] current_tuple_count = 0 [21:49:36.152] #12 0x000055887236ef45 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x55887498a228, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:364 [21:49:36.152] estate = 0x55887483fb90 [21:49:36.152] operation = CMD_MERGE [21:49:36.152] dest = 0x558874974420 [21:49:36.152] sendTuples = [21:49:36.152] oldcontext = 0x558874974110 [21:49:36.152] __func__ = "standard_ExecutorRun" [21:49:36.152] #13 0x00007fce9e917813 in pgss_ExecutorRun (queryDesc=0x55887498a228, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1024 [21:49:36.152] _save_exception_stack = 0x7ffd6c7917f0 [21:49:36.152] _save_context_stack = 0x0 [21:49:36.152] _local_sigjmp_buf = {{__jmpbuf = {94044560073256, -6041443246695913733, 0, 1, 0, 0, 6040069899542587131, 6031804528058820347}, __mask_was_saved = 0, __saved_mask = {__val = {6, 94044560416072, 400, 0, 2147483647, 94044559983648, 0, 0, 94044527252186, 0, 1, 0, 94044520295169, 94044560073256, 94044539708736, 94044559982864}}}} [21:49:36.152] _do_rethrow = false [21:49:36.152] #14 0x000055887236f18e in ExecutorRun (queryDesc=queryDesc@entry=0x55887498a228, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:303 [21:49:36.152] No locals. [21:49:36.152] #15 0x0000558872756d2c in ProcessQuery (plan=plan@entry=0x5588749e0c50, sourceText=0x5588747ecaf0 "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=0x558874974420, qc=qc@entry=0x7ffd6c791750) at ../src/backend/tcop/pquery.c:160 [21:49:36.152] queryDesc = 0x55887498a228 [21:49:36.152] #16 0x0000558872758961 in PortalRunMulti (portal=portal@entry=0x55887486e030, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x558874974420, altdest=0x558872f60ee0 , qc=qc@entry=0x7ffd6c791750) at ../src/backend/tcop/pquery.c:1278 [21:49:36.152] pstmt = 0x5588749e0c50 [21:49:36.152] stmtlist_item__state = [21:49:36.152] active_snapshot_set = true [21:49:36.152] stmtlist_item = 0x5588749e0d78 [21:49:36.152] #17 0x0000558872758eb3 in FillPortalStore (portal=portal@entry=0x55887486e030, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [21:49:36.152] treceiver = 0x558874974420 [21:49:36.152] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [21:49:36.152] __func__ = "FillPortalStore" [21:49:36.152] #18 0x0000558872759484 in PortalRun (portal=portal@entry=0x55887486e030, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x5588749e0db0, altdest=altdest@entry=0x5588749e0db0, qc=0x7ffd6c791930) at ../src/backend/tcop/pquery.c:763 [21:49:36.152] _save_exception_stack = 0x7ffd6c7919e0 [21:49:36.152] _save_context_stack = 0x0 [21:49:36.152] _local_sigjmp_buf = {{__jmpbuf = {0, 520326682362767099, 94044558909488, 94044560031616, 94044558909488, 94044560031544, 6040069899479672571, 520341178047784699}, __mask_was_saved = 0, __saved_mask = {__val = {94044527160566, 94044558379504, 112, 4, 94044527164983, 1819875519, 4, 94044560031544, 112, 163, 94044558909488, 94044560031616, 94044560031592, 94044560031544, 94044527252186, 1}}}} [21:49:36.152] _do_rethrow = [21:49:36.152] result = [21:49:36.152] nprocessed = [21:49:36.152] saveTopTransactionResourceOwner = 0x55887482d508 [21:49:36.152] saveTopTransactionContext = 0x558874880460 [21:49:36.152] saveActivePortal = 0x0 [21:49:36.152] saveResourceOwner = 0x55887482d508 [21:49:36.152] savePortalContext = 0x0 [21:49:36.152] saveMemoryContext = 0x558874880460 [21:49:36.152] __func__ = "PortalRun" [21:49:36.152] #19 0x0000558872752586 in exec_simple_query (query_string=query_string@entry=0x5588747ecaf0 "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 [21:49:36.152] cmdtaglen = 5 [21:49:36.152] snapshot_set = [21:49:36.152] per_parsetree_context = 0x0 [21:49:36.152] plantree_list = 0x5588749e0d60 [21:49:36.152] parsetree = 0x55887497ff38 [21:49:36.152] commandTag = [21:49:36.152] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [21:49:36.152] querytree_list = [21:49:36.152] portal = 0x55887486e030 [21:49:36.152] receiver = 0x5588749e0db0 [21:49:36.152] format = 0 [21:49:36.152] cmdtagname = [21:49:36.152] parsetree_item__state = [21:49:36.152] dest = DestRemote [21:49:36.152] oldcontext = 0x558874880460 [21:49:36.152] parsetree_list = 0x55887497ff68 [21:49:36.152] parsetree_item = 0x55887497ff80 [21:49:36.152] save_log_statement_stats = false [21:49:36.152] was_logged = true [21:49:36.152] use_implicit_block = false [21:49:36.152] msec_str = "\220\033yl\375\177\000\000\374\232\240r\210U\000\000\300\031yl\375\177\000\000\026\001\000\000\000\000\000" [21:49:36.152] __func__ = "exec_simple_query" [21:49:36.152] #20 0x000055887275530a in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4790 [21:49:36.152] query_string = 0x5588747ecaf0 "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"... [21:49:36.152] firstchar = [21:49:36.152] input_message = {data = 0x5588747ecaf0 "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} [21:49:36.152] local_sigjmp_buf = {{__jmpbuf = {94044539708728, 520339082723976955, 4, 140726423329680, 140726423329824, 140726423329828, 6040069899685193467, 520341175571048187}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 6016, 10, 94044558629344, 0, 168, 94044527165085, 0, 10, 2, 94044539708736, 94044558110352, 94044539702816, 140726423329680, 140726423329824, 140726423329828}}}} [21:49:36.152] send_ready_for_query = false [21:49:36.152] idle_in_transaction_timeout_enabled = false [21:49:36.152] idle_session_timeout_enabled = false [21:49:36.152] __func__ = "PostgresMain" [21:49:36.152] #21 0x000055887274b181 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [21:49:36.152] bsdata = [21:49:36.152] #22 0x0000558872603979 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffd6c791b3c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffd6c791b90) at ../src/backend/postmaster/launch_backend.c:274 [21:49:36.152] pid = [21:49:36.152] #23 0x0000558872609425 in BackendStartup (client_sock=client_sock@entry=0x7ffd6c791b90) at ../src/backend/postmaster/postmaster.c:3415 [21:49:36.152] bn = 0x5588748196a8 [21:49:36.152] pid = [21:49:36.152] startup_data = {canAcceptConnections = CAC_OK} [21:49:36.152] __func__ = "BackendStartup" [21:49:36.152] #24 0x0000558872609987 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [21:49:36.152] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "#\241\316\177\000\000\240Os\242\316\177\000\0008\034yl\375\177\000\0004\034yl\375\177", '\000' , "^\376|q\210U\000\000`\347xq\210U\000\000\000\035yl\375\177\000\000\370\034yl\375\177\000\000\225[\362\001\000\000\000\000\020k\201t\210U\000\000,", '\000' , "\210U\000\000s\375|q\210U\000", __ss_align = 140525469611624}, salen = 2}} [21:49:36.152] i = 0 [21:49:36.152] now = [21:49:36.152] last_lockfile_recheck_time = 1726868783 [21:49:36.152] last_touch_time = 1726868783 [21:49:36.152] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 15, user_data = 0x5588717cfe5e}, {pos = -1565346200, events = 32718, fd = -1576503760, user_data = 0x7fcea2b2b2e0}, {pos = 2090263927, events = 0, fd = 1819876736, user_data = 0x7fcea2b01a48}, {pos = 15, events = 0, fd = -1576503760, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7fcea2b2b2e0}, {pos = 1819876600, events = 32765, fd = 1819876608, user_data = 0x7fcea2b2b668}, {pos = 0, events = 0, fd = 32768, user_data = 0x7}, {pos = 1954469392, events = 21896, fd = 1, user_data = 0x7ffd6c792223}, {pos = -1, events = 0, fd = -1591549920, user_data = 0x7fcea2734fa0}, {pos = 1954644904, events = 21896, fd = 1954644616, user_data = 0x55887481c931}, {pos = -1565491522, events = 32718, fd = 1, user_data = 0x7fcea2b2b2e0}, {pos = 438, events = 0, fd = 1928859056, user_data = 0x0}, {pos = 1, events = 0, fd = 1954474288, user_data = 0x7fcea2b07ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7fcea122e020}, {pos = -1590743616, events = 32718, fd = 16, user_data = 0x7ffd6c792160}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -1565482566, events = 32718, fd = 0, user_data = 0x7fcea12aed24 }, {pos = 0, events = 0, fd = 1935736544, user_data = 0x2}, {pos = 7, events = 0, fd = 1954213680, user_data = 0x5588726e9fbc }, {pos = 1702060386, events = 1936158767, fd = 1952410737, user_data = 0x4}, {pos = 8096, events = 196607, fd = 1954474288, user_data = 0x7fcea2b07ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7fcea12364c8}, {pos = -1590988819, events = 32718, fd = 1935787072, user_data = 0x5588748219a0}, {pos = 255, events = 0, fd = 0, user_data = 0x100007f00000002}, {pos = -1589699488, events = 32718, 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 = -1576499904, events = 32718, fd = -1576498560, 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 = 1954658608, user_data = 0x7fcea12b583e}, {pos = -1589716512, events = 32718, fd = -1591078546, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0x8c0e1acc47cd5e00}, {pos = -1589713440, events = 32718, fd = -328, user_data = 0x0}, {pos = 1954644296, events = 21896, fd = 2, user_data = 0x8000000000000006}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1954644096, events = 21896, fd = 3, user_data = 0x0}, {pos = 31255, events = 0, fd = -328, user_data = 0x0}, {pos = 1954474288, events = 21896, fd = -1590743085, user_data = 0x7ffd6c792218}, {pos = 1923330666, events = 21896, fd = 1935795440, user_data = 0x558872a29d27 }, {pos = 1954644096, events = 21896, fd = 1954466288, user_data = 0x558874818080}, {pos = -1590994882, events = 32718, fd = 0, user_data = 0x558872a3b991 }, {pos = 1954644096, events = 1, fd = 1923332826, user_data = 0x5588747ec9f0}, {pos = 1204641280, events = 2349734604, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -1591072079, user_data = 0x7fcea12a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1204641280, user_data = 0x5588747c4120}, {pos = 1204641280, events = 2349734604, fd = 11, user_data = 0x8c0e1acc47cd5e00}, {pos = 0, events = 0, fd = -1591365063, user_data = 0x1}, {pos = 1918908022, events = 21896, fd = 4194304, user_data = 0x558872a29bbb }, {pos = 1954300192, events = 21896, fd = 1954466288, user_data = 0x5588747c4120}, {pos = 1, events = 0, fd = 0, user_data = 0x558872a3b991 }, {pos = 1954300192, events = 21896, fd = 1923332826, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x558872439e2d }, {pos = 0, events = 0, fd = 1917055341, user_data = 0xb}, {pos = 1918929171, events = 21896, fd = 1932202288, user_data = 0x5588747ed3a8}} [21:49:36.152] nevents = 1 [21:49:36.152] __func__ = "ServerLoop" [21:49:36.152] #25 0x000055887260b0fd in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x5588747aad90) at ../src/backend/postmaster/postmaster.c:1346 [21:49:36.153] opt = [21:49:36.153] status = [21:49:36.153] userDoption = [21:49:36.153] listen_addr_saved = false [21:49:36.153] output_config_variable = [21:49:36.153] __func__ = "PostmasterMain" [21:49:36.153] #26 0x000055887244a209 in main (argc=4, argv=0x5588747aad90) at ../src/backend/main/main.c:197 [21:49:36.153] do_check_root =