[18:39:35.063] src/tools/ci/cores_backtrace.sh linux /tmp/cores [18:39:35.292] dumping /tmp/cores/postgres-6-27904.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [18:39:35.535] [New LWP 27904] [18:39:35.535] [18:39:35.535] This GDB supports auto-downloading debuginfo from the following URLs: [18:39:35.535] [18:39:35.535] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [18:39:35.535] Debuginfod has been disabled. [18:39:35.535] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [18:39:35.668] [Thread debugging using libthread_db enabled] [18:39:35.668] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [18:39:35.668] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [18:39:35.668] Program terminated with signal SIGABRT, Aborted. [18:39:35.668] #0 0x00007f56a3ea9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [18:39:36.560] [18:39:36.560] Thread 1 (Thread 0x7f56a4c84f00 (LWP 27904)): [18:39:36.560] #0 0x00007f56a3ea9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [18:39:36.560] No symbol table info available. [18:39:36.560] #1 0x00007f56a3e5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [18:39:36.560] No symbol table info available. [18:39:36.560] #2 0x00007f56a3e45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [18:39:36.560] No symbol table info available. [18:39:36.560] #3 0x000055c21d1e8c00 in ExceptionalCondition (conditionName=conditionName@entry=0x55c21d435ee5 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55c21d45a338 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [18:39:36.560] No locals. [18:39:36.560] #4 0x000055c21cb982c1 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7fff9ab023e0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7fff9ab0227f) at ../src/backend/executor/execTuples.c:1737 [18:39:36.560] No locals. [18:39:36.560] #5 0x000055c21cb1c3bb in ExecIRDeleteTriggers (estate=estate@entry=0x55c21f852500, relinfo=relinfo@entry=0x55c21f852ab0, slot=slot@entry=0x7fff9ab023e0) at ../src/backend/commands/trigger.c:2841 [18:39:36.560] trigger = 0x55c21f852d10 [18:39:36.560] oldtuple = [18:39:36.560] trigdesc = 0x55c21f852cc0 [18:39:36.560] newtuple = 0x0 [18:39:36.560] should_free = false [18:39:36.560] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f56986e1f08, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [18:39:36.560] i = 0 [18:39:36.560] #6 0x000055c21cbf51be in ExecMergeMatched (context=0x7fff9ab02400, resultRelInfo=resultRelInfo@entry=0x55c21f852ab0, tupleid=0x0, oldtuple=0x7fff9ab023e0, canSetTag=true, matched=matched@entry=0x7fff9ab0238f) at ../src/backend/executor/nodeModifyTable.c:3043 [18:39:36.560] relaction = 0x55c21f8eef70 [18:39:36.560] commandType = CMD_DELETE [18:39:36.560] result = TM_Ok [18:39:36.560] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [18:39:36.560] l__state = [18:39:36.560] mtstate = 0x55c21f8528a0 [18:39:36.560] mergeActions = 0x55c21f852bc0 [18:39:36.560] actionStates = 0x55c21f8ef530 [18:39:36.560] newslot = 0x0 [18:39:36.560] rslot = 0x0 [18:39:36.560] estate = 0x55c21f852500 [18:39:36.560] econtext = 0x55c21f8ee580 [18:39:36.560] isNull = false [18:39:36.560] epqstate = 0x55c21f852988 [18:39:36.560] l = [18:39:36.560] __func__ = "ExecMergeMatched" [18:39:36.560] lmerge_matched = [18:39:36.560] #7 0x000055c21cbf5d7c in ExecMerge (context=context@entry=0x7fff9ab02400, resultRelInfo=resultRelInfo@entry=0x55c21f852ab0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7fff9ab023e0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [18:39:36.560] rslot = 0x0 [18:39:36.560] matched = true [18:39:36.560] #8 0x000055c21cbf7541 in ExecModifyTable (pstate=0x55c21f8528a0) at ../src/backend/executor/nodeModifyTable.c:4133 [18:39:36.560] node = 0x55c21f8528a0 [18:39:36.560] context = {mtstate = 0x55c21f8528a0, epqstate = 0x55c21f852988, estate = 0x55c21f852500, planSlot = 0x55c21f8ec968, tmfd = {ctid = {ip_blkid = {bi_hi = 9216, bi_lo = 8069}, ip_posid = 21954}, xmax = 488815366, cmax = 21954, traversed = false}, cpUpdateReturningSlot = 0x55c21d22bb06 } [18:39:36.560] estate = 0x55c21f852500 [18:39:36.560] operation = CMD_MERGE [18:39:36.560] resultRelInfo = 0x55c21f852ab0 [18:39:36.560] subplanstate = 0x55c21f8531e0 [18:39:36.560] slot = [18:39:36.560] oldSlot = [18:39:36.560] tuple_ctid = {ip_blkid = {bi_hi = 8083, bi_lo = 21954}, ip_posid = 0} [18:39:36.560] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55c21f8b4648} [18:39:36.560] oldtuple = 0x7fff9ab023e0 [18:39:36.560] tupleid = 0x0 [18:39:36.560] __func__ = "ExecModifyTable" [18:39:36.560] #9 0x000055c21cb8a80d in ExecProcNodeFirst (node=0x55c21f8528a0) at ../src/backend/executor/execProcnode.c:469 [18:39:36.560] No locals. [18:39:36.560] #10 0x000055c21cb75d0b in ExecProcNode (node=node@entry=0x55c21f8528a0) at ../src/include/executor/executor.h:278 [18:39:36.560] No locals. [18:39:36.560] #11 0x000055c21cb75ec0 in ExecutePlan (estate=estate@entry=0x55c21f852500, planstate=0x55c21f8528a0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55c21f8d8400, execute_once=true) at ../src/backend/executor/execMain.c:1641 [18:39:36.560] slot = [18:39:36.560] current_tuple_count = 0 [18:39:36.560] #12 0x000055c21cb77c38 in standard_ExecutorRun (queryDesc=0x55c21f8dc438, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [18:39:36.560] estate = 0x55c21f852500 [18:39:36.560] operation = CMD_MERGE [18:39:36.560] dest = 0x55c21f8d8400 [18:39:36.560] sendTuples = [18:39:36.560] oldcontext = 0x55c21f8d80f0 [18:39:36.560] __func__ = "standard_ExecutorRun" [18:39:36.560] #13 0x000055c21cb77e6b in ExecutorRun (queryDesc=queryDesc@entry=0x55c21f8dc438, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [18:39:36.560] No locals. [18:39:36.560] #14 0x000055c21cf5d15b in ProcessQuery (plan=plan@entry=0x55c21f93d9b8, sourceText=0x55c21f74fad0 "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=0x55c21f8d8400, qc=qc@entry=0x7fff9ab02630) at ../src/backend/tcop/pquery.c:160 [18:39:36.560] queryDesc = 0x55c21f8dc438 [18:39:36.560] #15 0x000055c21cf5ed90 in PortalRunMulti (portal=portal@entry=0x55c21f7d2720, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55c21f8d8400, altdest=0x55c21d7331e0 , qc=qc@entry=0x7fff9ab02630) at ../src/backend/tcop/pquery.c:1278 [18:39:36.560] pstmt = 0x55c21f93d9b8 [18:39:36.560] stmtlist_item__state = [18:39:36.560] active_snapshot_set = true [18:39:36.560] stmtlist_item = 0x55c21f93dae0 [18:39:36.560] #16 0x000055c21cf5f2e2 in FillPortalStore (portal=portal@entry=0x55c21f7d2720, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [18:39:36.560] treceiver = 0x55c21f8d8400 [18:39:36.560] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [18:39:36.560] __func__ = "FillPortalStore" [18:39:36.560] #17 0x000055c21cf5f8b3 in PortalRun (portal=portal@entry=0x55c21f7d2720, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55c21f93db18, altdest=altdest@entry=0x55c21f93db18, qc=0x7fff9ab02810) at ../src/backend/tcop/pquery.c:763 [18:39:36.560] _save_exception_stack = 0x7fff9ab028c0 [18:39:36.560] _save_context_stack = 0x0 [18:39:36.560] _local_sigjmp_buf = {{__jmpbuf = {0, 4730756883979625309, 94292240312096, 94292242140528, 94292240312096, 94292242140456, 1575147257205285725, 4730750612642259805}, __mask_was_saved = 0, __saved_mask = {__val = {94292200831750, 94292239776208, 112, 4, 94292200836167, 2595235743, 4, 94292242140456, 112, 163, 94292240312096, 94292242140528, 94292242140504, 94292242140456, 94292200923370, 1}}}} [18:39:36.560] _do_rethrow = [18:39:36.560] result = [18:39:36.560] nprocessed = [18:39:36.560] saveTopTransactionResourceOwner = 0x55c21f78f8d8 [18:39:36.560] saveTopTransactionContext = 0x55c21f7e3700 [18:39:36.560] saveActivePortal = 0x0 [18:39:36.560] saveResourceOwner = 0x55c21f78f8d8 [18:39:36.560] savePortalContext = 0x0 [18:39:36.560] saveMemoryContext = 0x55c21f7e3700 [18:39:36.560] __func__ = "PortalRun" [18:39:36.560] #18 0x000055c21cf58c60 in exec_simple_query (query_string=query_string@entry=0x55c21f74fad0 "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 [18:39:36.560] cmdtaglen = 5 [18:39:36.560] snapshot_set = [18:39:36.560] per_parsetree_context = 0x0 [18:39:36.560] plantree_list = 0x55c21f93dac8 [18:39:36.560] parsetree = 0x55c21f990d28 [18:39:36.560] commandTag = [18:39:36.560] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [18:39:36.560] querytree_list = [18:39:36.560] portal = 0x55c21f7d2720 [18:39:36.560] receiver = 0x55c21f93db18 [18:39:36.560] format = 0 [18:39:36.560] cmdtagname = [18:39:36.560] parsetree_item__state = [18:39:36.560] dest = DestRemote [18:39:36.560] oldcontext = 0x55c21f7e3700 [18:39:36.560] parsetree_list = 0x55c21f990d58 [18:39:36.560] parsetree_item = 0x55c21f990d70 [18:39:36.560] save_log_statement_stats = false [18:39:36.560] was_logged = true [18:39:36.560] use_implicit_block = false [18:39:36.560] msec_str = "p*\260\232\377\177\000\000\f\351 \035\302U\000\000\240(\260\232\377\177\000\000\026\001\000\000\000\000\000" [18:39:36.560] __func__ = "exec_simple_query" [18:39:36.560] #19 0x000055c21cf5b739 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [18:39:36.560] query_string = 0x55c21f74fad0 "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"... [18:39:36.560] firstchar = [18:39:36.560] input_message = {data = 0x55c21f74fad0 "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} [18:39:36.560] local_sigjmp_buf = {{__jmpbuf = {94292213154424, 4730752993595941725, 4, 140735788624496, 140735788624640, 140735788624644, 1575147256748106589, 4730750615068664669}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94292239507024, 14336, 94292213148512, 94292240033936, 140735788624640, 94292200835715, 0, 9, 2, 94292213154432, 94292239507024, 94292213148512, 140735788624496, 140735788624640, 140735788624644}}}} [18:39:36.560] send_ready_for_query = false [18:39:36.560] idle_in_transaction_timeout_enabled = false [18:39:36.560] idle_session_timeout_enabled = false [18:39:36.560] __func__ = "PostgresMain" [18:39:36.560] #20 0x000055c21cf5185b in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [18:39:36.560] bsdata = [18:39:36.560] #21 0x000055c21ce09f82 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7fff9ab02a1c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7fff9ab02a70) at ../src/backend/postmaster/launch_backend.c:274 [18:39:36.560] pid = [18:39:36.560] #22 0x000055c21ce0fa2e in BackendStartup (client_sock=client_sock@entry=0x7fff9ab02a70) at ../src/backend/postmaster/postmaster.c:3414 [18:39:36.560] bn = 0x55c21f784d98 [18:39:36.560] pid = [18:39:36.560] startup_data = {canAcceptConnections = CAC_OK} [18:39:36.560] __func__ = "BackendStartup" [18:39:36.560] #23 0x000055c21ce0ff90 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [18:39:36.560] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\342\243V\177\000\0004+\260\232\377\177\000\000\3120k\245V\177\000\000=\004\000\000\000\000\000\000\220\227\343\243V\177\000\000\240?3\245V\177\000\0008+\260\232\377\177\000\0004+\260\232\377\177\000\000\000\000\000\000\000\000\000\000\320*\260\232\377\177\000\000\303\v\376\033\302U\000\000\020\367\371\033\302U\000\000\000,\260\232\377\177\000\000\370+\260\232\377\177\000\000\225[\362\001\000\000\000", __ss_align = 140010108531872}, salen = 2}} [18:39:36.560] i = 0 [18:39:36.560] now = [18:39:36.560] last_lockfile_recheck_time = 1725042946 [18:39:36.560] last_touch_time = 1725042946 [18:39:36.560] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 1, user_data = 0x7f56a56dd2e0}, {pos = -1699730568, events = 0, fd = 0, user_data = 0x7f56a56dd668}, {pos = 469633987, events = 21954, fd = -1519528344, user_data = 0x7f56a4c8b630}, {pos = -1519529248, events = 32598, fd = 2090263927, user_data = 0x7fff9ab02c80}, {pos = -1519699384, events = 32598, fd = 15, user_data = 0x7f56a4c8b630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = -1519529248, events = 32598, fd = -1699730440, user_data = 0x7fff9ab02c00}, {pos = -1519528344, events = 32598, fd = 0, user_data = 0x55c21f77e408}, {pos = 527950568, events = 21954, fd = 527950017, user_data = 0x7f5600000001}, {pos = 1, events = 0, fd = -1, user_data = 0x7f56a3e2e000}, {pos = -1523368032, events = 32598, fd = 527950856, user_data = 0x7fff9ab02ff0}, {pos = 527922024, events = 21954, fd = 527951088, user_data = 0x55c21f77e408}, {pos = -1519529248, events = 32598, fd = 439, user_data = 0x55c21d752db8 }, {pos = 0, events = 0, fd = 1, user_data = 0x55c21f74fae8}, {pos = -1519673666, events = 32598, fd = 1, user_data = 0x0}, {pos = -1545412608, events = 32598, fd = -1544606272, user_data = 0x7fff9ab03060}, {pos = -1699729344, events = 32767, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1519664726, user_data = 0x0}, {pos = -1544884972, events = 32598, fd = 0, user_data = 0x55c21ddddc40 }, {pos = 2, events = 0, fd = 7, user_data = 0x55c21f711ef0}, {pos = 1952410737, events = 28781, fd = -1545378648, user_data = 0x7f56a3e9c880 }, {pos = -1530376776, events = 32598, fd = 8096, user_data = 0x100007f00000002}, {pos = -1544851849, events = 32598, fd = 2, user_data = 0x7d0}, {pos = 255, events = 0, fd = 99, user_data = 0x2}, {pos = -1543562144, events = 32598, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x55c21f711ef0}, {pos = -1544848902, events = 32598, fd = 1663923061, user_data = 0x55c21f711ef0}, {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 = 0xfa523e97def3900}, {pos = -1543576096, events = 32598, fd = -328, user_data = 0x0}, {pos = 527950248, events = 21954, fd = 1024, user_data = 0x55c21f77e1a8}, {pos = -1699729160, events = 32767, fd = -1544847729, user_data = 0x2}, {pos = 6, events = 2147483648, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 3, user_data = 0x0}, {pos = 25584, events = 0, fd = -328, user_data = 0x0}, {pos = 527760104, events = 21954, fd = -1544605741, user_data = 0x7fff9ab030f8}, {pos = 488898682, events = 21954, fd = 501137968, user_data = 0x55c21d22eb37 }, {pos = 527950048, events = 21954, fd = 527759824, user_data = 0x55c21f77e0e0}, {pos = -1544857893, events = 32598, fd = 0, user_data = 0x55c21d2407a1 }, {pos = 527950048, events = 1, fd = 488900842, user_data = 0x55c21f74f9d0}, {pos = 2112829696, events = 262480873, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -1544934735, user_data = 0x7f56a3ea14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 2112829696, user_data = 0x55c21f727100}, {pos = 2112829696, events = 262480873, fd = 11, user_data = 0xfa523e97def3900}, {pos = 0, events = 0, fd = -1545227719, user_data = 0x1}, {pos = 484482175, events = 21954, fd = 4194304, user_data = 0x55c21d22e9cb }, {pos = 527593728, events = 21954, fd = 527759824, user_data = 0x55c21f727100}, {pos = 1, events = 0, fd = 0, user_data = 0x55c21d2407a1 }, {pos = 527593728, events = 21954, fd = 488900842, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x55c21cc42825 }, {pos = 0, events = 0, fd = 482638703, user_data = 0xb}, {pos = 484503324, events = 21954, fd = 497551600, user_data = 0x55c21f750378}} [18:39:36.561] nevents = 1 [18:39:36.561] __func__ = "ServerLoop" [18:39:36.561] #24 0x000055c21ce11706 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55c21f70dd60) at ../src/backend/postmaster/postmaster.c:1346 [18:39:36.561] opt = [18:39:36.561] status = [18:39:36.561] userDoption = [18:39:36.561] listen_addr_saved = false [18:39:36.561] output_config_variable = [18:39:36.561] __func__ = "PostmasterMain" [18:39:36.561] #25 0x000055c21cc52c50 in main (argc=4, argv=0x55c21f70dd60) at ../src/backend/main/main.c:197 [18:39:36.561] do_check_root = [18:39:36.595] -e [18:39:36.595] [18:39:36.595] [18:39:36.662] dumping /tmp/cores/postgres-6-34354.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [18:39:36.936] [New LWP 34354] [18:39:36.936] [18:39:36.936] This GDB supports auto-downloading debuginfo from the following URLs: [18:39:36.936] [18:39:36.936] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [18:39:36.936] Debuginfod has been disabled. [18:39:36.936] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [18:39:37.047] [Thread debugging using libthread_db enabled] [18:39:37.047] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [18:39:37.047] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [18:39:37.047] Program terminated with signal SIGABRT, Aborted. [18:39:37.047] #0 0x00007fb6860a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [18:39:37.910] [18:39:37.910] Thread 1 (Thread 0x7fb686832f00 (LWP 34354)): [18:39:37.910] #0 0x00007fb6860a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [18:39:37.910] No symbol table info available. [18:39:37.910] #1 0x00007fb68605afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [18:39:37.910] No symbol table info available. [18:39:37.910] #2 0x00007fb686045472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [18:39:37.910] No symbol table info available. [18:39:37.910] #3 0x00005632e2be5c00 in ExceptionalCondition (conditionName=conditionName@entry=0x5632e2e32ee5 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x5632e2e57338 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [18:39:37.910] No locals. [18:39:37.910] #4 0x00005632e25952c1 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffef4810c40, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffef4810adf) at ../src/backend/executor/execTuples.c:1737 [18:39:37.910] No locals. [18:39:37.910] #5 0x00005632e25193bb in ExecIRDeleteTriggers (estate=estate@entry=0x5632e3bbee70, relinfo=relinfo@entry=0x5632e3bbf420, slot=slot@entry=0x7ffef4810c40) at ../src/backend/commands/trigger.c:2841 [18:39:37.910] trigger = 0x5632e3bbf680 [18:39:37.910] oldtuple = [18:39:37.910] trigdesc = 0x5632e3bbf630 [18:39:37.910] newtuple = 0x0 [18:39:37.910] should_free = false [18:39:37.910] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fb681ac55d8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [18:39:37.910] i = 0 [18:39:37.910] #6 0x00005632e25f21be in ExecMergeMatched (context=0x7ffef4810c60, resultRelInfo=resultRelInfo@entry=0x5632e3bbf420, tupleid=0x0, oldtuple=0x7ffef4810c40, canSetTag=true, matched=matched@entry=0x7ffef4810bef) at ../src/backend/executor/nodeModifyTable.c:3043 [18:39:37.910] relaction = 0x5632e3bf5bf0 [18:39:37.910] commandType = CMD_DELETE [18:39:37.910] result = TM_Ok [18:39:37.910] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [18:39:37.910] l__state = [18:39:37.910] mtstate = 0x5632e3bbf210 [18:39:37.910] mergeActions = 0x5632e3bbf530 [18:39:37.910] actionStates = 0x5632e3bf61b0 [18:39:37.910] newslot = 0x0 [18:39:37.910] rslot = 0x0 [18:39:37.910] estate = 0x5632e3bbee70 [18:39:37.910] econtext = 0x5632e3bf5200 [18:39:37.910] isNull = false [18:39:37.910] epqstate = 0x5632e3bbf2f8 [18:39:37.910] l = [18:39:37.910] __func__ = "ExecMergeMatched" [18:39:37.910] lmerge_matched = [18:39:37.910] #7 0x00005632e25f2d7c in ExecMerge (context=context@entry=0x7ffef4810c60, resultRelInfo=resultRelInfo@entry=0x5632e3bbf420, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffef4810c40, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [18:39:37.910] rslot = 0x0 [18:39:37.910] matched = true [18:39:37.910] #8 0x00005632e25f4541 in ExecModifyTable (pstate=0x5632e3bbf210) at ../src/backend/executor/nodeModifyTable.c:4133 [18:39:37.910] node = 0x5632e3bbf210 [18:39:37.910] context = {mtstate = 0x5632e3bbf210, epqstate = 0x5632e3bbf2f8, estate = 0x5632e3bbee70, planSlot = 0x5632e3bf35e8, tmfd = {ctid = {ip_blkid = {bi_hi = 23136, bi_lo = 58303}, ip_posid = 22066}, xmax = 3821732840, cmax = 22066, traversed = 5}, cpUpdateReturningSlot = 0x5632e3cb03e8} [18:39:37.910] estate = 0x5632e3bbee70 [18:39:37.910] operation = CMD_MERGE [18:39:37.910] resultRelInfo = 0x5632e3bbf420 [18:39:37.910] subplanstate = 0x5632e3bbfb50 [18:39:37.910] slot = [18:39:37.910] oldSlot = [18:39:37.910] tuple_ctid = {ip_blkid = {bi_hi = 58303, bi_lo = 22066}, ip_posid = 0} [18:39:37.910] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x5632e3c22fc8} [18:39:37.910] oldtuple = 0x7ffef4810c40 [18:39:37.910] tupleid = 0x0 [18:39:37.910] __func__ = "ExecModifyTable" [18:39:37.910] #9 0x00005632e258780d in ExecProcNodeFirst (node=0x5632e3bbf210) at ../src/backend/executor/execProcnode.c:469 [18:39:37.910] No locals. [18:39:37.910] #10 0x00005632e2572d0b in ExecProcNode (node=node@entry=0x5632e3bbf210) at ../src/include/executor/executor.h:278 [18:39:37.910] No locals. [18:39:37.910] #11 0x00005632e2572ec0 in ExecutePlan (estate=estate@entry=0x5632e3bbee70, planstate=0x5632e3bbf210, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x5632e3c49c50, execute_once=true) at ../src/backend/executor/execMain.c:1641 [18:39:37.910] slot = [18:39:37.910] current_tuple_count = 0 [18:39:37.910] #12 0x00005632e2574c38 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x5632e3c06058, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [18:39:37.910] estate = 0x5632e3bbee70 [18:39:37.910] operation = CMD_MERGE [18:39:37.910] dest = 0x5632e3c49c50 [18:39:37.910] sendTuples = [18:39:37.910] oldcontext = 0x5632e3c49940 [18:39:37.910] __func__ = "standard_ExecutorRun" [18:39:37.910] #13 0x00007fb683760813 in pgss_ExecutorRun (queryDesc=0x5632e3c06058, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1031 [18:39:37.910] _save_exception_stack = 0x7ffef4811040 [18:39:37.910] _save_context_stack = 0x0 [18:39:37.910] _local_sigjmp_buf = {{__jmpbuf = {94776569389144, -6725457785603430244, 94776568048368, 94776569666640, 0, 0, -6725457785525835620, -6756894600877381476}, __mask_was_saved = 0, __saved_mask = {__val = {2147483647, 94776569666640, 0, 0, 94776552845546, 0, 1, 0, 94776545904452, 94776569389144, 94776565076608, 94776569665856, 140421866330060, 94776569389144, 0, 94776568048368}}}} [18:39:37.910] _do_rethrow = false [18:39:37.910] #14 0x00005632e2574e5e in ExecutorRun (queryDesc=queryDesc@entry=0x5632e3c06058, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:297 [18:39:37.910] No locals. [18:39:37.910] #15 0x00005632e295a15b in ProcessQuery (plan=plan@entry=0x5632e3cb35e0, sourceText=0x5632e3abeaf0 "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=0x5632e3c49c50, qc=qc@entry=0x7ffef4810fa0) at ../src/backend/tcop/pquery.c:160 [18:39:37.910] queryDesc = 0x5632e3c06058 [18:39:37.910] #16 0x00005632e295bd90 in PortalRunMulti (portal=portal@entry=0x5632e3b40030, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x5632e3c49c50, altdest=0x5632e31301e0 , qc=qc@entry=0x7ffef4810fa0) at ../src/backend/tcop/pquery.c:1278 [18:39:37.910] pstmt = 0x5632e3cb35e0 [18:39:37.910] stmtlist_item__state = [18:39:37.910] active_snapshot_set = true [18:39:37.910] stmtlist_item = 0x5632e3cb3708 [18:39:37.910] #17 0x00005632e295c2e2 in FillPortalStore (portal=portal@entry=0x5632e3b40030, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [18:39:37.910] treceiver = 0x5632e3c49c50 [18:39:37.910] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [18:39:37.910] __func__ = "FillPortalStore" [18:39:37.910] #18 0x00005632e295c8b3 in PortalRun (portal=portal@entry=0x5632e3b40030, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x5632e3cb3740, altdest=altdest@entry=0x5632e3cb3740, qc=0x7ffef4811180) at ../src/backend/tcop/pquery.c:763 [18:39:37.910] _save_exception_stack = 0x7ffef4811230 [18:39:37.910] _save_context_stack = 0x0 [18:39:37.910] _local_sigjmp_buf = {{__jmpbuf = {0, -1066665562165679972, 94776568578096, 94776570400544, 94776568578096, 94776570400472, -6725457785592944484, -1066662689257887588}, __mask_was_saved = 0, __saved_mask = {__val = {94776552753926, 94776568048112, 112, 4, 94776552758343, 4102099215, 4, 94776570400472, 112, 163, 94776568578096, 94776570400544, 94776570400520, 94776570400472, 94776552845546, 1}}}} [18:39:37.910] _do_rethrow = [18:39:37.910] result = [18:39:37.910] nprocessed = [18:39:37.910] saveTopTransactionResourceOwner = 0x5632e3aff4f0 [18:39:37.910] saveTopTransactionContext = 0x5632e3b52460 [18:39:37.910] saveActivePortal = 0x0 [18:39:37.910] saveResourceOwner = 0x5632e3aff4f0 [18:39:37.910] savePortalContext = 0x0 [18:39:37.910] saveMemoryContext = 0x5632e3b52460 [18:39:37.910] __func__ = "PortalRun" [18:39:37.910] #19 0x00005632e2955c60 in exec_simple_query (query_string=query_string@entry=0x5632e3abeaf0 "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 [18:39:37.910] cmdtaglen = 5 [18:39:37.910] snapshot_set = [18:39:37.910] per_parsetree_context = 0x0 [18:39:37.910] plantree_list = 0x5632e3cb36f0 [18:39:37.910] parsetree = 0x5632e3cfced8 [18:39:37.910] commandTag = [18:39:37.910] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [18:39:37.910] querytree_list = [18:39:37.910] portal = 0x5632e3b40030 [18:39:37.910] receiver = 0x5632e3cb3740 [18:39:37.910] format = 0 [18:39:37.910] cmdtagname = [18:39:37.910] parsetree_item__state = [18:39:37.910] dest = DestRemote [18:39:37.910] oldcontext = 0x5632e3b52460 [18:39:37.910] parsetree_list = 0x5632e3cfcf08 [18:39:37.910] parsetree_item = 0x5632e3cfcf20 [18:39:37.910] save_log_statement_stats = false [18:39:37.910] was_logged = true [18:39:37.910] use_implicit_block = false [18:39:37.910] msec_str = "\340\023\201\364\376\177\000\000\f\271\300\3422V\000\000\020\022\201\364\376\177\000\000\026\001\000\000\000\000\000" [18:39:37.910] __func__ = "exec_simple_query" [18:39:37.910] #20 0x00005632e2958739 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [18:39:37.910] query_string = 0x5632e3abeaf0 "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"... [18:39:37.910] firstchar = [18:39:37.910] input_message = {data = 0x5632e3abeaf0 "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} [18:39:37.910] local_sigjmp_buf = {{__jmpbuf = {94776565076600, -1066666768070023012, 4, 140733000520672, 140733000520816, 140733000520820, -6725457785932683108, -1066662695555635044}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 6016, 10, 94776568297952, 0, 168, 94776552758445, 0, 10, 2, 94776565076608, 94776567778960, 94776565070688, 140733000520672, 140733000520816, 140733000520820}}}} [18:39:37.910] send_ready_for_query = false [18:39:37.910] idle_in_transaction_timeout_enabled = false [18:39:37.910] idle_session_timeout_enabled = false [18:39:37.910] __func__ = "PostgresMain" [18:39:37.910] #21 0x00005632e294e85b in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [18:39:37.910] bsdata = [18:39:37.910] #22 0x00005632e2806f82 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffef481138c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffef48113e0) at ../src/backend/postmaster/launch_backend.c:274 [18:39:37.910] pid = [18:39:37.910] #23 0x00005632e280ca2e in BackendStartup (client_sock=client_sock@entry=0x7ffef48113e0) at ../src/backend/postmaster/postmaster.c:3414 [18:39:37.910] bn = 0x5632e3aeb658 [18:39:37.910] pid = [18:39:37.910] startup_data = {canAcceptConnections = CAC_OK} [18:39:37.910] __func__ = "BackendStartup" [18:39:37.910] #24 0x00005632e280cf90 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [18:39:37.910] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\201\364\376\177\000\000t\024\201\364\376\177", '\000' , "\303۝\3412V\000\000\020Ǚ\3412V\000\000@\025\201\364\376\177\000\0008\025\201\364\376\177\000\000\225[\362\001\000\000\000\000\020\213\256\3432V\000\000,", '\000' , "\330ڝ\3412V\000\000h昇\266\177\000\0000\226膶\177\000", __ss_align = 140421935719136}, salen = 2}} [18:39:37.910] i = 0 [18:39:37.910] now = [18:39:37.910] last_lockfile_recheck_time = 1725042974 [18:39:37.910] last_touch_time = 1725042974 [18:39:37.910] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = -509748285, events = 22066, fd = -2020022680, user_data = 0x7fb686e89630}, {pos = -2020023584, events = 32694, fd = 2090263927, user_data = 0x7ffef48115c0}, {pos = -2020193720, events = 32694, fd = 15, user_data = 0x7fb686e89630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = -2020023584, events = 32694, fd = -192867016, user_data = 0x7ffef4811540}, {pos = -2020022680, events = 32694, fd = 0, user_data = 0x5632e3ac0930}, {pos = -2046068230, events = 32694, fd = -475264720, user_data = 0x563200000001}, {pos = 32768, events = 0, fd = -1, user_data = 0x7fb68602e000}, {pos = -2024251488, events = 32694, fd = -475094104, user_data = 0x5632e3aea288}, {pos = -475076303, events = 22066, fd = -2020168002, user_data = 0x1}, {pos = -2020023584, events = 32694, fd = 439, user_data = 0x5632e314fdb8 }, {pos = 0, events = 0, fd = 1, user_data = 0x5632e3ac0930}, {pos = -2020168002, events = 32694, fd = 1, user_data = 0x0}, {pos = -2046631936, events = 32694, fd = -2045825600, user_data = 0x10}, {pos = -192865872, events = 32766, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -2020159062, user_data = 0x0}, {pos = -2046104300, events = 32694, fd = 0, user_data = 0x5632e37dac40 }, {pos = 2, events = 0, fd = 7, user_data = 0x5632e3a80f30}, {pos = -493974932, events = 22066, fd = -475055712, user_data = 0x5632e28e99f0 }, {pos = -475055621, events = 22066, fd = 8096, user_data = 0x7367702f65736162}, {pos = 1952410737, events = 28781, fd = 1, user_data = 0x0}, {pos = -2046597976, events = 32694, fd = -2046179200, user_data = 0x41e}, {pos = -2046070819, events = 32694, fd = 2, user_data = 0x5632e3af39a0}, {pos = 255, events = 0, fd = 0, user_data = 0x0}, {pos = -2044781472, events = 32694, 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 = -2024622784, user_data = 0x7fb68752ba80}, {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 = -490566906, events = 22066, fd = -475080400, user_data = 0x7fb6860b582e}, {pos = -2044798496, events = 32694, fd = -2046160530, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0x85a662694a4b5500}, {pos = -2044795424, events = 32694, 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 = -475094712, user_data = 0x5632e2c293c9 }, {pos = -475094912, events = 22066, fd = 3, user_data = 0x0}, {pos = 32193, events = 0, fd = -328, user_data = 0x0}, {pos = -475264720, events = 22066, fd = -2045825069, user_data = 0x7ffef4811a68}, {pos = -490483590, events = 22066, fd = -478244304, user_data = 0x5632e2c2bb37 }, {pos = -475094912, events = 22066, fd = -475272720, user_data = 0x5632e3aea080}, {pos = -2046076882, events = 32694, fd = 0, user_data = 0x5632e2c3d7a1 }, {pos = -475094912, events = 1, fd = -490481430, user_data = 0x5632e3abe9f0}, {pos = 1246450944, events = 2242273897, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -2046154063, user_data = 0x7fb6860a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1246450944, user_data = 0x5632e3a96120}, {pos = 1246450944, events = 2242273897, fd = 11, user_data = 0x85a662694a4b5500}, {pos = 0, events = 0, fd = -2046447047, user_data = 0x1}, {pos = -494900097, events = 22066, fd = 4194304, user_data = 0x5632e2c2b9cb }, {pos = -475438816, events = 22066, fd = -475272720, user_data = 0x5632e3a96120}, {pos = 1, events = 0, fd = 0, user_data = 0x5632e2c3d7a1 }, {pos = -475438816, events = 22066, fd = -490481430, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x5632e263f825 }, {pos = 0, events = 0, fd = -496743569, user_data = 0xb}, {pos = -494878948, events = 22066, fd = -481830672, user_data = 0x5632e3abf3a8}} [18:39:37.910] nevents = 1 [18:39:37.910] __func__ = "ServerLoop" [18:39:37.910] #25 0x00005632e280e706 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x5632e3a7cd90) at ../src/backend/postmaster/postmaster.c:1346 [18:39:37.910] opt = [18:39:37.910] status = [18:39:37.910] userDoption = [18:39:37.910] listen_addr_saved = false [18:39:37.910] output_config_variable = [18:39:37.910] __func__ = "PostmasterMain" [18:39:37.910] #26 0x00005632e264fc50 in main (argc=4, argv=0x5632e3a7cd90) at ../src/backend/main/main.c:197 [18:39:37.910] do_check_root = [18:39:37.946] -e [18:39:37.946] [18:39:37.946] [18:39:38.012] dumping /tmp/cores/postgres-6-27128.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [18:39:38.275] [New LWP 27128] [18:39:38.275] [18:39:38.275] This GDB supports auto-downloading debuginfo from the following URLs: [18:39:38.275] [18:39:38.275] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [18:39:38.275] Debuginfod has been disabled. [18:39:38.275] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [18:39:38.387] [Thread debugging using libthread_db enabled] [18:39:38.387] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [18:39:38.387] Core was generated by `postgres: postgres regression [local] MERGE '. [18:39:38.387] Program terminated with signal SIGABRT, Aborted. [18:39:38.387] #0 0x00007f96e9aa9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [18:39:39.219] [18:39:39.219] Thread 1 (Thread 0x7f96ea884f00 (LWP 27128)): [18:39:39.219] #0 0x00007f96e9aa9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [18:39:39.219] No symbol table info available. [18:39:39.219] #1 0x00007f96e9a5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [18:39:39.219] No symbol table info available. [18:39:39.219] #2 0x00007f96e9a45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [18:39:39.219] No symbol table info available. [18:39:39.219] #3 0x0000559db610fc00 in ExceptionalCondition (conditionName=conditionName@entry=0x559db635cee5 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x559db6381338 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [18:39:39.219] No locals. [18:39:39.219] #4 0x0000559db5abf2c1 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffd4393e6c0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffd4393e55f) at ../src/backend/executor/execTuples.c:1737 [18:39:39.219] No locals. [18:39:39.219] #5 0x0000559db5a433bb in ExecIRDeleteTriggers (estate=estate@entry=0x559db76c4320, relinfo=relinfo@entry=0x559db76c48d0, slot=slot@entry=0x7ffd4393e6c0) at ../src/backend/commands/trigger.c:2841 [18:39:39.219] trigger = 0x559db76c4b30 [18:39:39.219] oldtuple = [18:39:39.219] trigdesc = 0x559db76c4ae0 [18:39:39.219] newtuple = 0x0 [18:39:39.219] should_free = false [18:39:39.219] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f96de0496e8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [18:39:39.219] i = 0 [18:39:39.219] #6 0x0000559db5b1c1be in ExecMergeMatched (context=0x7ffd4393e6e0, resultRelInfo=resultRelInfo@entry=0x559db76c48d0, tupleid=0x0, oldtuple=0x7ffd4393e6c0, canSetTag=true, matched=matched@entry=0x7ffd4393e66f) at ../src/backend/executor/nodeModifyTable.c:3043 [18:39:39.219] relaction = 0x559db77ded70 [18:39:39.219] commandType = CMD_DELETE [18:39:39.219] result = TM_Ok [18:39:39.219] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [18:39:39.219] l__state = [18:39:39.219] mtstate = 0x559db76c46c0 [18:39:39.219] mergeActions = 0x559db76c49e0 [18:39:39.219] actionStates = 0x559db77df330 [18:39:39.219] newslot = 0x0 [18:39:39.219] rslot = 0x0 [18:39:39.219] estate = 0x559db76c4320 [18:39:39.219] econtext = 0x559db77de380 [18:39:39.219] isNull = false [18:39:39.219] epqstate = 0x559db76c47a8 [18:39:39.219] l = [18:39:39.219] __func__ = "ExecMergeMatched" [18:39:39.219] lmerge_matched = [18:39:39.219] #7 0x0000559db5b1cd7c in ExecMerge (context=context@entry=0x7ffd4393e6e0, resultRelInfo=resultRelInfo@entry=0x559db76c48d0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffd4393e6c0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [18:39:39.219] rslot = 0x0 [18:39:39.219] matched = true [18:39:39.219] #8 0x0000559db5b1e541 in ExecModifyTable (pstate=0x559db76c46c0) at ../src/backend/executor/nodeModifyTable.c:4133 [18:39:39.219] node = 0x559db76c46c0 [18:39:39.219] context = {mtstate = 0x559db76c46c0, epqstate = 0x559db76c47a8, estate = 0x559db76c4320, planSlot = 0x559db77dc768, tmfd = {ctid = {ip_blkid = {bi_hi = 16928, bi_lo = 46956}, ip_posid = 21917}, xmax = 3054840582, cmax = 21917, traversed = 32}, cpUpdateReturningSlot = 0x559db6152b06 } [18:39:39.219] estate = 0x559db76c4320 [18:39:39.219] operation = CMD_MERGE [18:39:39.219] resultRelInfo = 0x559db76c48d0 [18:39:39.219] subplanstate = 0x559db76c5000 [18:39:39.219] slot = [18:39:39.219] oldSlot = [18:39:39.219] tuple_ctid = {ip_blkid = {bi_hi = 46968, bi_lo = 21917}, ip_posid = 0} [18:39:39.219] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x559db7726f68} [18:39:39.219] oldtuple = 0x7ffd4393e6c0 [18:39:39.219] tupleid = 0x0 [18:39:39.219] __func__ = "ExecModifyTable" [18:39:39.219] #9 0x0000559db5ab180d in ExecProcNodeFirst (node=0x559db76c46c0) at ../src/backend/executor/execProcnode.c:469 [18:39:39.219] No locals. [18:39:39.219] #10 0x0000559db5a9cd0b in ExecProcNode (node=node@entry=0x559db76c46c0) at ../src/include/executor/executor.h:278 [18:39:39.219] No locals. [18:39:39.219] #11 0x0000559db5a9cec0 in ExecutePlan (estate=estate@entry=0x559db76c4320, planstate=0x559db76c46c0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x559db77490d0, execute_once=true) at ../src/backend/executor/execMain.c:1641 [18:39:39.219] slot = [18:39:39.219] current_tuple_count = 0 [18:39:39.219] #12 0x0000559db5a9ec38 in standard_ExecutorRun (queryDesc=0x559db7751a48, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [18:39:39.219] estate = 0x559db76c4320 [18:39:39.219] operation = CMD_MERGE [18:39:39.219] dest = 0x559db77490d0 [18:39:39.219] sendTuples = [18:39:39.219] oldcontext = 0x559db7748dc0 [18:39:39.219] __func__ = "standard_ExecutorRun" [18:39:39.219] #13 0x0000559db5a9ee6b in ExecutorRun (queryDesc=queryDesc@entry=0x559db7751a48, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [18:39:39.219] No locals. [18:39:39.219] #14 0x0000559db5e8415b in ProcessQuery (plan=plan@entry=0x559db77840c8, sourceText=0x559db75c0b40 "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=0x559db77490d0, qc=qc@entry=0x7ffd4393e910) at ../src/backend/tcop/pquery.c:160 [18:39:39.219] queryDesc = 0x559db7751a48 [18:39:39.219] #15 0x0000559db5e85d90 in PortalRunMulti (portal=portal@entry=0x559db76430e0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x559db77490d0, altdest=0x559db665a1e0 , qc=qc@entry=0x7ffd4393e910) at ../src/backend/tcop/pquery.c:1278 [18:39:39.219] pstmt = 0x559db77840c8 [18:39:39.219] stmtlist_item__state = [18:39:39.219] active_snapshot_set = true [18:39:39.219] stmtlist_item = 0x559db77841f0 [18:39:39.219] #16 0x0000559db5e862e2 in FillPortalStore (portal=portal@entry=0x559db76430e0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [18:39:39.219] treceiver = 0x559db77490d0 [18:39:39.219] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [18:39:39.219] __func__ = "FillPortalStore" [18:39:39.219] #17 0x0000559db5e868b3 in PortalRun (portal=portal@entry=0x559db76430e0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x559db7784228, altdest=altdest@entry=0x559db7784228, qc=0x7ffd4393eaf0) at ../src/backend/tcop/pquery.c:763 [18:39:39.219] _save_exception_stack = 0x7ffd4393eba0 [18:39:39.219] _save_context_stack = 0x0 [18:39:39.219] _local_sigjmp_buf = {{__jmpbuf = {0, 2895587690635746186, 94135875023072, 94135875773664, 94135875023072, 94135875773592, 9002370743295957898, 2895590850750864266}, __mask_was_saved = 0, __saved_mask = {__val = {94135853067014, 94135874488896, 112, 4, 94135853071431, 1133767295, 4, 94135875773592, 112, 163, 94135875023072, 94135875773664, 94135875773640, 94135875773592, 94135853158634, 1}}}} [18:39:39.219] _do_rethrow = [18:39:39.219] result = [18:39:39.219] nprocessed = [18:39:39.219] saveTopTransactionResourceOwner = 0x559db75ffd98 [18:39:39.219] saveTopTransactionContext = 0x559db7654cf0 [18:39:39.219] saveActivePortal = 0x0 [18:39:39.219] saveResourceOwner = 0x559db75ffd98 [18:39:39.219] savePortalContext = 0x0 [18:39:39.219] saveMemoryContext = 0x559db7654cf0 [18:39:39.219] __func__ = "PortalRun" [18:39:39.219] #18 0x0000559db5e7fc60 in exec_simple_query (query_string=query_string@entry=0x559db75c0b40 "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 [18:39:39.219] cmdtaglen = 5 [18:39:39.219] snapshot_set = [18:39:39.219] per_parsetree_context = 0x0 [18:39:39.219] plantree_list = 0x559db77841d8 [18:39:39.219] parsetree = 0x559db76fa498 [18:39:39.219] commandTag = [18:39:39.219] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [18:39:39.219] querytree_list = [18:39:39.219] portal = 0x559db76430e0 [18:39:39.219] receiver = 0x559db7784228 [18:39:39.219] format = 0 [18:39:39.219] cmdtagname = [18:39:39.219] parsetree_item__state = [18:39:39.219] dest = DestRemote [18:39:39.219] oldcontext = 0x559db7654cf0 [18:39:39.219] parsetree_list = 0x559db76fa4c8 [18:39:39.219] parsetree_item = 0x559db76fa4e0 [18:39:39.219] save_log_statement_stats = false [18:39:39.219] was_logged = false [18:39:39.219] use_implicit_block = false [18:39:39.219] msec_str = "P\355\223C\375\177\000\000\fY\023\266\235U\000\000\200\353\223C\375\177\000\000\026\001\000\000\000\000\000" [18:39:39.219] __func__ = "exec_simple_query" [18:39:39.219] #19 0x0000559db5e82739 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [18:39:39.219] query_string = 0x559db75c0b40 "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"... [18:39:39.219] firstchar = [18:39:39.219] input_message = {data = 0x559db75c0b40 "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} [18:39:39.219] local_sigjmp_buf = {{__jmpbuf = {94135865389688, 2895589139661872010, 4, 140725737221456, 140725737221600, 140725737221604, 9002370743367261066, 2895590850555829130}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94135874219584, 15616, 94135865383776, 94135874743632, 140725737221600, 94135853070979, 0, 9, 2, 94135865389696, 94135874219584, 94135865383776, 140725737221456, 140725737221600, 140725737221604}}}} [18:39:39.219] send_ready_for_query = false [18:39:39.219] idle_in_transaction_timeout_enabled = false [18:39:39.219] idle_session_timeout_enabled = false [18:39:39.219] __func__ = "PostgresMain" [18:39:39.219] #20 0x0000559db5e7885b in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [18:39:39.219] bsdata = [18:39:39.219] #21 0x0000559db5d30f82 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffd4393ecfc "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffd4393ed50) at ../src/backend/postmaster/launch_backend.c:274 [18:39:39.219] pid = [18:39:39.219] #22 0x0000559db5d36a2e in BackendStartup (client_sock=client_sock@entry=0x7ffd4393ed50) at ../src/backend/postmaster/postmaster.c:3414 [18:39:39.219] bn = 0x559db75e95b8 [18:39:39.219] pid = [18:39:39.219] startup_data = {canAcceptConnections = CAC_OK} [18:39:39.219] __func__ = "BackendStartup" [18:39:39.219] #23 0x0000559db5d36f90 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [18:39:39.219] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "\243\351\226\177\000\000\240\277\372\352\226\177\000\000\370\355\223C\375\177\000\000\364\355\223C\375\177", '\000' , "\303{\360\264\235U\000\000\020g총U\000\000\300\356\223C\375\177\000\000\270\356\223C\375\177\000\000\225[\362\001\000\000\000\000\240\264\362\352\226\177\000\000+", '\000' , "\235U\000\000\330z\360\264\235U\000", __ss_align = 140286168352360}, salen = 2}} [18:39:39.219] i = 0 [18:39:39.219] now = [18:39:39.219] last_lockfile_recheck_time = 1725042943 [18:39:39.219] last_touch_time = 1725042943 [18:39:39.219] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = 0, events = 0, fd = 15, user_data = 0x559db4f07bc3}, {pos = -348436888, events = 32662, fd = -353192400, user_data = 0x7f96eb3b42e0}, {pos = 2090263927, events = 0, fd = 1133768512, user_data = 0x7f96eb38aa48}, {pos = 15, events = 0, fd = -353192400, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7f96eb3b42e0}, {pos = 1133768376, events = 32765, fd = 1133768384, user_data = 0x7f96eb3b4668}, {pos = 0, events = 0, fd = -1218704384, user_data = 0x559db61a1241 }, {pos = 32768, events = 0, fd = 1, user_data = 0x559db75c2940}, {pos = -1, events = 0, fd = -375201792, user_data = 0x7f96eafabfa0}, {pos = -1218521128, events = 21917, fd = -1218521416, user_data = 0x559db75ef8d1}, {pos = -348582210, events = 32662, fd = 1, user_data = 0x7f96eb3b42e0}, {pos = 439, events = 0, fd = -1234723400, user_data = 0x0}, {pos = 1, events = 0, fd = -1218704384, user_data = 0x7f96eb390ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f96e9a2e000}, {pos = -374395456, events = 32662, fd = 16, user_data = 0x7ffd4393f320}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -348573270, events = 32662, fd = 0, user_data = 0x7f96e9aaed14 }, {pos = 0, events = 0, fd = -1227862976, user_data = 0x2}, {pos = 7, events = 0, fd = -1218957600, user_data = 0x559db5e139f0 }, {pos = -1218495125, events = 21917, fd = -1243515374, user_data = 0x7367702f65736162}, {pos = 8096, events = 196607, fd = -1218704384, user_data = 0x7f96eb390ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f96e9a364a8}, {pos = -374640675, events = 32662, fd = -1227812480, user_data = 0x559db75ec4a0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = -373351328, events = 32662, 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 = 0x342020200a0a7a7a}, {pos = 822763892, events = 808792631, fd = 876163636, 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 = -1218518848, user_data = 0x7f96e9ab56db}, {pos = -373368352, events = 32662, fd = -374730386, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0x98fb4e0883cc5d00}, {pos = -373365280, events = 32662, fd = -328, user_data = 0x0}, {pos = -1218521736, events = 21917, fd = 2, user_data = 0x8000000000000006}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -1218521936, events = 21917, fd = 3, user_data = 0x0}, {pos = 24936, events = 0, fd = -328, user_data = 0x0}, {pos = -1218704384, events = 21917, fd = -374394925, user_data = 0x7ffd4393f3d8}, {pos = -1240043398, events = 21917, fd = -1227804112, user_data = 0x559db6155b37 }, {pos = -1218521936, events = 21917, fd = -1218704832, user_data = 0x559db75ed4b0}, {pos = -374646738, events = 32662, fd = 0, user_data = 0x559db61677a1 }, {pos = -1218521936, events = 1, fd = -1240041238, user_data = 0x559db75c0a40}, {pos = -2083758848, events = 2566606344, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -374723919, user_data = 0x7f96e9aa14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -2083758848, user_data = 0x559db7598170}, {pos = -2083758848, events = 2566606344, fd = 11, user_data = 0x98fb4e0883cc5d00}, {pos = 0, events = 0, fd = -375016903, user_data = 0x1}, {pos = -1244459905, events = 21917, fd = 4194304, user_data = 0x559db61559cb }, {pos = -1218870928, events = 21917, fd = -1218704832, user_data = 0x559db7598170}, {pos = 1, events = 0, fd = 0, user_data = 0x559db61677a1 }, {pos = -1218870928, events = 21917, fd = -1240041238, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x559db5b69825 }, {pos = 0, events = 0, fd = -1246303377, user_data = 0xb}, {pos = -1244438756, events = 21917, fd = -1231390480, user_data = 0x559db75c1418}} [18:39:39.219] nevents = 1 [18:39:39.219] __func__ = "ServerLoop" [18:39:39.219] #24 0x0000559db5d38706 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x559db757eda0) at ../src/backend/postmaster/postmaster.c:1346 [18:39:39.219] opt = [18:39:39.219] status = [18:39:39.219] userDoption = [18:39:39.219] listen_addr_saved = false [18:39:39.219] output_config_variable = [18:39:39.219] __func__ = "PostmasterMain" [18:39:39.219] #25 0x0000559db5b79c50 in main (argc=8, argv=0x559db757eda0) at ../src/backend/main/main.c:197 [18:39:39.219] do_check_root =