[12:07:47.449] src/tools/ci/cores_backtrace.sh linux /tmp/cores [12:07:47.680] dumping /tmp/cores/postgres-6-23421.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [12:07:47.925] [New LWP 23421] [12:07:47.925] [12:07:47.925] This GDB supports auto-downloading debuginfo from the following URLs: [12:07:47.925] [12:07:47.925] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [12:07:47.925] Debuginfod has been disabled. [12:07:47.925] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [12:07:48.052] [Thread debugging using libthread_db enabled] [12:07:48.052] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [12:07:48.052] Core was generated by `postgres: postgres regression [local] MERGE '. [12:07:48.052] Program terminated with signal SIGABRT, Aborted. [12:07:48.052] #0 0x00007f83abaa9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [12:07:48.944] [12:07:48.944] Thread 1 (Thread 0x7f83ab7ddf00 (LWP 23421)): [12:07:48.944] #0 0x00007f83abaa9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [12:07:48.944] No symbol table info available. [12:07:48.944] #1 0x00007f83aba5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [12:07:48.944] No symbol table info available. [12:07:48.944] #2 0x00007f83aba45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [12:07:48.944] No symbol table info available. [12:07:48.944] #3 0x0000555968450368 in ExceptionalCondition (conditionName=conditionName@entry=0x55596869dac5 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x5559686c1f10 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [12:07:48.944] No locals. [12:07:48.944] #4 0x0000555967dfd426 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffe4454a2b0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffe4454a14f) at ../src/backend/executor/execTuples.c:1737 [12:07:48.944] No locals. [12:07:48.944] #5 0x0000555967d813b7 in ExecIRDeleteTriggers (estate=estate@entry=0x55596a841340, relinfo=relinfo@entry=0x55596a8418f0, slot=slot@entry=0x7ffe4454a2b0) at ../src/backend/commands/trigger.c:2841 [12:07:48.944] trigger = 0x55596a841b50 [12:07:48.944] oldtuple = [12:07:48.944] trigdesc = 0x55596a841b00 [12:07:48.944] newtuple = 0x0 [12:07:48.944] should_free = false [12:07:48.944] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f83a0009ca8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [12:07:48.944] i = 0 [12:07:48.944] #6 0x0000555967e5a323 in ExecMergeMatched (context=0x7ffe4454a2d0, resultRelInfo=resultRelInfo@entry=0x55596a8418f0, tupleid=0x0, oldtuple=0x7ffe4454a2b0, canSetTag=true, matched=matched@entry=0x7ffe4454a25f) at ../src/backend/executor/nodeModifyTable.c:3043 [12:07:48.944] relaction = 0x55596a8e73f0 [12:07:48.944] commandType = CMD_DELETE [12:07:48.944] result = TM_Ok [12:07:48.944] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [12:07:48.944] l__state = [12:07:48.944] mtstate = 0x55596a8416e0 [12:07:48.944] mergeActions = 0x55596a841a00 [12:07:48.944] actionStates = 0x55596a8e79b0 [12:07:48.944] newslot = 0x0 [12:07:48.944] rslot = 0x0 [12:07:48.944] estate = 0x55596a841340 [12:07:48.944] econtext = 0x55596a8e6a00 [12:07:48.944] isNull = false [12:07:48.944] epqstate = 0x55596a8417c8 [12:07:48.944] l = [12:07:48.944] __func__ = "ExecMergeMatched" [12:07:48.944] lmerge_matched = [12:07:48.944] #7 0x0000555967e5aee1 in ExecMerge (context=context@entry=0x7ffe4454a2d0, resultRelInfo=resultRelInfo@entry=0x55596a8418f0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffe4454a2b0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [12:07:48.944] rslot = 0x0 [12:07:48.944] matched = true [12:07:48.944] #8 0x0000555967e5c6a6 in ExecModifyTable (pstate=0x55596a8416e0) at ../src/backend/executor/nodeModifyTable.c:4133 [12:07:48.944] node = 0x55596a8416e0 [12:07:48.944] context = {mtstate = 0x55596a8416e0, epqstate = 0x55596a8417c8, estate = 0x55596a841340, planSlot = 0x55596a8e4de8, tmfd = {ctid = {ip_blkid = {bi_hi = 4672, bi_lo = 27268}, ip_posid = 21849}, xmax = 1749627530, cmax = 21849, traversed = 64}, cpUpdateReturningSlot = 0x55596849328a } [12:07:48.944] estate = 0x55596a841340 [12:07:48.944] operation = CMD_MERGE [12:07:48.944] resultRelInfo = 0x55596a8418f0 [12:07:48.944] subplanstate = 0x55596a842020 [12:07:48.944] slot = [12:07:48.944] oldSlot = [12:07:48.944] tuple_ctid = {ip_blkid = {bi_hi = 27279, bi_lo = 21849}, ip_posid = 0} [12:07:48.944] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55596a8a9588} [12:07:48.944] oldtuple = 0x7ffe4454a2b0 [12:07:48.944] tupleid = 0x0 [12:07:48.944] __func__ = "ExecModifyTable" [12:07:48.944] #9 0x0000555967def972 in ExecProcNodeFirst (node=0x55596a8416e0) at ../src/backend/executor/execProcnode.c:469 [12:07:48.944] No locals. [12:07:48.944] #10 0x0000555967ddae70 in ExecProcNode (node=node@entry=0x55596a8416e0) at ../src/include/executor/executor.h:278 [12:07:48.944] No locals. [12:07:48.944] #11 0x0000555967ddb025 in ExecutePlan (estate=estate@entry=0x55596a841340, planstate=0x55596a8416e0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55596a8c4690, execute_once=true) at ../src/backend/executor/execMain.c:1641 [12:07:48.944] slot = [12:07:48.944] current_tuple_count = 0 [12:07:48.944] #12 0x0000555967ddcd9d in standard_ExecutorRun (queryDesc=0x55596a88c458, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [12:07:48.944] estate = 0x55596a841340 [12:07:48.944] operation = CMD_MERGE [12:07:48.944] dest = 0x55596a8c4690 [12:07:48.944] sendTuples = [12:07:48.944] oldcontext = 0x55596a8c4380 [12:07:48.944] __func__ = "standard_ExecutorRun" [12:07:48.944] #13 0x0000555967ddcfd0 in ExecutorRun (queryDesc=queryDesc@entry=0x55596a88c458, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [12:07:48.944] No locals. [12:07:48.944] #14 0x00005559681c3e16 in ProcessQuery (plan=plan@entry=0x55596a8f3e18, sourceText=0x55596a739b40 "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=0x55596a8c4690, qc=qc@entry=0x7ffe4454a500) at ../src/backend/tcop/pquery.c:160 [12:07:48.944] queryDesc = 0x55596a88c458 [12:07:48.944] #15 0x00005559681c5a4b in PortalRunMulti (portal=portal@entry=0x55596a7bc0e0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55596a8c4690, altdest=0x5559689cc0c0 , qc=qc@entry=0x7ffe4454a500) at ../src/backend/tcop/pquery.c:1278 [12:07:48.944] pstmt = 0x55596a8f3e18 [12:07:48.944] stmtlist_item__state = [12:07:48.944] active_snapshot_set = true [12:07:48.944] stmtlist_item = 0x55596a8f3f40 [12:07:48.944] #16 0x00005559681c5f9d in FillPortalStore (portal=portal@entry=0x55596a7bc0e0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [12:07:48.944] treceiver = 0x55596a8c4690 [12:07:48.944] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [12:07:48.944] __func__ = "FillPortalStore" [12:07:48.944] #17 0x00005559681c656e in PortalRun (portal=portal@entry=0x55596a7bc0e0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55596a8f3f78, altdest=altdest@entry=0x55596a8f3f78, qc=0x7ffe4454a6e0) at ../src/backend/tcop/pquery.c:763 [12:07:48.944] _save_exception_stack = 0x7ffe4454a790 [12:07:48.944] _save_context_stack = 0x0 [12:07:48.944] _local_sigjmp_buf = {{__jmpbuf = {0, -2106858769259967069, 93842526945504, 93842528648800, 93842526945504, 93842528648728, -5220601417856201309, -2106864140424589917}, __mask_was_saved = 0, __saved_mask = {__val = {93842490077834, 93842526411328, 112, 4, 93842490082251, 1146398319, 4, 93842528648728, 112, 163, 93842526945504, 93842528648800, 93842528648776, 93842528648728, 93842490169454, 1}}}} [12:07:48.944] _do_rethrow = [12:07:48.944] result = [12:07:48.944] nprocessed = [12:07:48.944] saveTopTransactionResourceOwner = 0x55596a778d98 [12:07:48.944] saveTopTransactionContext = 0x55596a7cdcf0 [12:07:48.944] saveActivePortal = 0x0 [12:07:48.944] saveResourceOwner = 0x55596a778d98 [12:07:48.944] savePortalContext = 0x0 [12:07:48.944] saveMemoryContext = 0x55596a7cdcf0 [12:07:48.944] __func__ = "PortalRun" [12:07:48.944] #18 0x00005559681bf91b in exec_simple_query (query_string=query_string@entry=0x55596a739b40 "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 [12:07:48.944] cmdtaglen = 5 [12:07:48.944] snapshot_set = [12:07:48.944] per_parsetree_context = 0x0 [12:07:48.944] plantree_list = 0x55596a8f3f28 [12:07:48.944] parsetree = 0x55596a95be18 [12:07:48.944] commandTag = [12:07:48.944] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [12:07:48.944] querytree_list = [12:07:48.944] portal = 0x55596a7bc0e0 [12:07:48.944] receiver = 0x55596a8f3f78 [12:07:48.944] format = 0 [12:07:48.944] cmdtagname = [12:07:48.944] parsetree_item__state = [12:07:48.944] dest = DestRemote [12:07:48.944] oldcontext = 0x55596a7cdcf0 [12:07:48.944] parsetree_list = 0x55596a95be48 [12:07:48.944] parsetree_item = 0x55596a95be60 [12:07:48.944] save_log_statement_stats = false [12:07:48.944] was_logged = false [12:07:48.944] use_implicit_block = false [12:07:48.944] msec_str = "@\251TD\376\177\000\000\220`GhYU\000\000p\247TD\376\177\000\000\026\001\000\000\000\000\000" [12:07:48.944] __func__ = "exec_simple_query" [12:07:48.944] #19 0x00005559681c23f4 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [12:07:48.944] query_string = 0x55596a739b40 "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"... [12:07:48.944] firstchar = [12:07:48.944] input_message = {data = 0x55596a739b40 "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} [12:07:48.944] local_sigjmp_buf = {{__jmpbuf = {93842502610296, -2106866511386260061, 4, 140730044819776, 140730044819920, 140730044819924, -5220601417935893085, -2106864137016717917}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 93842526142016, 15616, 93842502604384, 93842526666064, 140730044819920, 93842490081799, 0, 9, 2, 93842502610304, 93842526142016, 93842502604384, 140730044819776, 140730044819920, 140730044819924}}}} [12:07:48.944] send_ready_for_query = false [12:07:48.944] idle_in_transaction_timeout_enabled = false [12:07:48.944] idle_session_timeout_enabled = false [12:07:48.944] __func__ = "PostgresMain" [12:07:48.944] #20 0x00005559681b8516 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [12:07:48.944] bsdata = [12:07:48.944] #21 0x0000555968070e46 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffe4454a8ec "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe4454a940) at ../src/backend/postmaster/launch_backend.c:274 [12:07:48.944] pid = [12:07:48.944] #22 0x00005559680768f2 in BackendStartup (client_sock=client_sock@entry=0x7ffe4454a940) at ../src/backend/postmaster/postmaster.c:3415 [12:07:48.944] bn = 0x55596a7625b8 [12:07:48.944] pid = [12:07:48.944] startup_data = {canAcceptConnections = CAC_OK} [12:07:48.944] __func__ = "BackendStartup" [12:07:48.944] #23 0x0000555968076e54 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [12:07:48.944] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = ")\255\203\177\000\000>\004\000\000\000\000\000\000\260\227\243\253\203\177\000\000\240\217\223\254\203\177\000\000\370\251TD\376\177\000\000\364\251TD\376\177", '\000' , "\362;$gYU\000\000\b' gYU\000\000\300\252TD\376\177\000\000\270\252TD\376\177\000\000\225[\362\001\242\203\017\244\240D#\254\203\177\000\000+\000\000\000\000\000\000", __ss_align = 0}, salen = 2}} [12:07:48.944] i = 0 [12:07:48.944] now = [12:07:48.944] last_lockfile_recheck_time = 1726056241 [12:07:48.944] last_touch_time = 1726056241 [12:07:48.944] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = 1382427086, events = 0, fd = 1146399488, user_data = 0x0}, {pos = 15, events = 0, fd = 1730427890, user_data = 0x7f83ad2c0668}, {pos = -1406974416, events = 32643, fd = -1389624608, user_data = 0x7c96e577}, {pos = 1146399552, events = 32766, fd = -1389794744, user_data = 0xf}, {pos = -1406974416, events = 32643, fd = 1, user_data = 0x0}, {pos = 1, events = 0, fd = -1389624608, user_data = 0x7ffe4454aab8}, {pos = 1146399424, events = 32766, fd = -1389623704, user_data = 0x0}, {pos = 1785968960, events = 21849, fd = -1414599451, user_data = 0x7ffe4454afd3}, {pos = 1, events = 0, fd = 1146399424, user_data = 0xffffffff}, {pos = -1415389152, events = 32643, fd = -1399615584, user_data = 0x55596a7667d8}, {pos = 1786144440, events = 21849, fd = 1786153169, user_data = 0x7f83ad29cebe}, {pos = 1, events = 0, fd = -1389624608, user_data = 0x1b6}, {pos = 1755233712, events = 21849, fd = 0, user_data = 0x1}, {pos = 1785961472, events = 21849, fd = -1389769026, user_data = 0x1}, {pos = 0, events = 0, fd = -1415389152, user_data = 0x7f83abaf2dc0 }, {pos = 16, events = 0, fd = 1146400528, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x7f83ad29f1ba}, {pos = 0, events = 0, fd = -1414861532, user_data = 0x0}, {pos = 1762101024, events = 21849, fd = 2, user_data = 0x7}, {pos = 1785708256, events = 21849, fd = 1952410737, user_data = 0x16a}, {pos = 1755233104, events = 21849, fd = 8, user_data = 0x2ffff00001fa0}, {pos = 1785961472, events = 21849, fd = -1389769026, user_data = 0x1}, {pos = -1414828051, events = 32643, fd = -1415355192, user_data = 0x55596a7654a0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = -1413538720, events = 32643, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x55596a6fbee0}, {pos = -1414825462, events = 32643, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = -1, user_data = 0xffffffffffffffff}, {pos = 762540901, events = 1884582478, fd = 168457799, user_data = 0x30363237310a6174}, {pos = 875705909, events = 808716849, fd = 795768178, user_data = 0x726765722f737365}, {pos = 1836330762, events = 1768107888, fd = 1937076850, user_data = 0x0}, {pos = 0, events = 21760, 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 = -1413555744, events = 32643, fd = -1414917778, user_data = 0x100000400}, {pos = 7, events = 0, fd = 2, user_data = 0xa40f83a2b742eb00}, {pos = -1413552672, events = 32643, fd = -328, user_data = 0x0}, {pos = 1786144120, events = 21849, fd = 1024, user_data = 0x55596a766578}, {pos = 2, events = 0, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 3, user_data = 0x0}, {pos = 21171, events = 0, fd = -328, user_data = 0x0}, {pos = 1785961472, events = 21849, fd = -1414582317, user_data = 0x7ffe4454afc8}, {pos = 1749710846, events = 21849, fd = 1762159920, user_data = 0x5559684962bb }, {pos = 1786143920, events = 21849, fd = 1785961024, user_data = 0x55596a7664b0}, {pos = -1414834114, events = 32643, fd = 0, user_data = 0x5559684a7f25 }, {pos = 1786143920, events = 1, fd = 1749713006, user_data = 0x55596a739a40}, {pos = -1220351232, events = 2752480162, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -1414911311, user_data = 0x7f83abaa14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1220351232, user_data = 0x55596a711170}, {pos = -1220351232, events = 2752480162, fd = 11, user_data = 0xa40f83a2b742eb00}, {pos = 0, events = 0, fd = -1415204295, user_data = 0x1}, {pos = 1745292099, events = 21849, fd = 4194304, user_data = 0x55596849614f }, {pos = 1785794928, events = 21849, fd = 1785961024, user_data = 0x55596a711170}, {pos = 1, events = 0, fd = 0, user_data = 0x5559684a7f25 }, {pos = 1785794928, events = 21849, fd = 1749713006, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x555967ea7be6 }, {pos = 0, events = 0, fd = 1743441702, user_data = 0xb}, {pos = 1745313248, events = 21849, fd = 1758571088, user_data = 0x55596a73a418}} [12:07:48.945] nevents = 1 [12:07:48.945] __func__ = "ServerLoop" [12:07:48.945] #24 0x00005559680785ca in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x55596a6f7da0) at ../src/backend/postmaster/postmaster.c:1346 [12:07:48.945] opt = [12:07:48.945] status = [12:07:48.945] userDoption = [12:07:48.945] listen_addr_saved = false [12:07:48.945] output_config_variable = [12:07:48.945] __func__ = "PostmasterMain" [12:07:48.945] #25 0x0000555967eb7fc2 in main (argc=8, argv=0x55596a6f7da0) at ../src/backend/main/main.c:197 [12:07:48.945] do_check_root = [12:07:48.982] -e [12:07:48.982] [12:07:48.982] [12:07:49.045] dumping /tmp/cores/postgres-6-24254.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [12:07:49.301] [New LWP 24254] [12:07:49.301] [12:07:49.301] This GDB supports auto-downloading debuginfo from the following URLs: [12:07:49.301] [12:07:49.301] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [12:07:49.301] Debuginfod has been disabled. [12:07:49.301] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [12:07:49.405] [Thread debugging using libthread_db enabled] [12:07:49.405] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [12:07:49.405] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [12:07:49.405] Program terminated with signal SIGABRT, Aborted. [12:07:49.405] #0 0x00007fc1476a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [12:07:50.250] [12:07:50.250] Thread 1 (Thread 0x7fc1475d2f00 (LWP 24254)): [12:07:50.250] #0 0x00007fc1476a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [12:07:50.250] No symbol table info available. [12:07:50.250] #1 0x00007fc14765afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [12:07:50.250] No symbol table info available. [12:07:50.250] #2 0x00007fc147645472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [12:07:50.250] No symbol table info available. [12:07:50.250] #3 0x0000562d5c455368 in ExceptionalCondition (conditionName=conditionName@entry=0x562d5c6a2ac5 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x562d5c6c6f10 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [12:07:50.250] No locals. [12:07:50.250] #4 0x0000562d5be02426 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffdc8ea8750, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffdc8ea85ef) at ../src/backend/executor/execTuples.c:1737 [12:07:50.250] No locals. [12:07:50.250] #5 0x0000562d5bd863b7 in ExecIRDeleteTriggers (estate=estate@entry=0x562d5e594510, relinfo=relinfo@entry=0x562d5e594ac0, slot=slot@entry=0x7ffdc8ea8750) at ../src/backend/commands/trigger.c:2841 [12:07:50.250] trigger = 0x562d5e594d20 [12:07:50.250] oldtuple = [12:07:50.250] trigdesc = 0x562d5e594cd0 [12:07:50.250] newtuple = 0x0 [12:07:50.250] should_free = false [12:07:50.250] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fc13bfe55d8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [12:07:50.250] i = 0 [12:07:50.250] #6 0x0000562d5be5f323 in ExecMergeMatched (context=0x7ffdc8ea8770, resultRelInfo=resultRelInfo@entry=0x562d5e594ac0, tupleid=0x0, oldtuple=0x7ffdc8ea8750, canSetTag=true, matched=matched@entry=0x7ffdc8ea86ff) at ../src/backend/executor/nodeModifyTable.c:3043 [12:07:50.250] relaction = 0x562d5e6389f0 [12:07:50.250] commandType = CMD_DELETE [12:07:50.250] result = TM_Ok [12:07:50.250] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [12:07:50.250] l__state = [12:07:50.250] mtstate = 0x562d5e5948b0 [12:07:50.250] mergeActions = 0x562d5e594bd0 [12:07:50.250] actionStates = 0x562d5e638fb0 [12:07:50.250] newslot = 0x0 [12:07:50.250] rslot = 0x0 [12:07:50.250] estate = 0x562d5e594510 [12:07:50.250] econtext = 0x562d5e638000 [12:07:50.250] isNull = false [12:07:50.250] epqstate = 0x562d5e594998 [12:07:50.250] l = [12:07:50.250] __func__ = "ExecMergeMatched" [12:07:50.250] lmerge_matched = [12:07:50.250] #7 0x0000562d5be5fee1 in ExecMerge (context=context@entry=0x7ffdc8ea8770, resultRelInfo=resultRelInfo@entry=0x562d5e594ac0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffdc8ea8750, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [12:07:50.250] rslot = 0x0 [12:07:50.250] matched = true [12:07:50.250] #8 0x0000562d5be616a6 in ExecModifyTable (pstate=0x562d5e5948b0) at ../src/backend/executor/nodeModifyTable.c:4133 [12:07:50.250] node = 0x562d5e5948b0 [12:07:50.250] context = {mtstate = 0x562d5e5948b0, epqstate = 0x562d5e594998, estate = 0x562d5e594510, planSlot = 0x562d5e6363e8, tmfd = {ctid = {ip_blkid = {bi_hi = 17424, bi_lo = 24153}, ip_posid = 22061}, xmax = 1548321418, cmax = 22061, traversed = 16}, cpUpdateReturningSlot = 0x562d5c49828a } [12:07:50.250] estate = 0x562d5e594510 [12:07:50.250] operation = CMD_MERGE [12:07:50.250] resultRelInfo = 0x562d5e594ac0 [12:07:50.250] subplanstate = 0x562d5e5951f0 [12:07:50.250] slot = [12:07:50.250] oldSlot = [12:07:50.250] tuple_ctid = {ip_blkid = {bi_hi = 24164, bi_lo = 22061}, ip_posid = 0} [12:07:50.250] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x562d5e5f7158} [12:07:50.250] oldtuple = 0x7ffdc8ea8750 [12:07:50.250] tupleid = 0x0 [12:07:50.250] __func__ = "ExecModifyTable" [12:07:50.250] #9 0x0000562d5bdf4972 in ExecProcNodeFirst (node=0x562d5e5948b0) at ../src/backend/executor/execProcnode.c:469 [12:07:50.250] No locals. [12:07:50.250] #10 0x0000562d5bddfe70 in ExecProcNode (node=node@entry=0x562d5e5948b0) at ../src/include/executor/executor.h:278 [12:07:50.250] No locals. [12:07:50.250] #11 0x0000562d5bde0025 in ExecutePlan (estate=estate@entry=0x562d5e594510, planstate=0x562d5e5948b0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x562d5e620a00, execute_once=true) at ../src/backend/executor/execMain.c:1641 [12:07:50.250] slot = [12:07:50.250] current_tuple_count = 0 [12:07:50.250] #12 0x0000562d5bde1d9d in standard_ExecutorRun (queryDesc=0x562d5e618438, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [12:07:50.250] estate = 0x562d5e594510 [12:07:50.250] operation = CMD_MERGE [12:07:50.250] dest = 0x562d5e620a00 [12:07:50.250] sendTuples = [12:07:50.250] oldcontext = 0x562d5e6206f0 [12:07:50.250] __func__ = "standard_ExecutorRun" [12:07:50.250] #13 0x0000562d5bde1fd0 in ExecutorRun (queryDesc=queryDesc@entry=0x562d5e618438, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [12:07:50.250] No locals. [12:07:50.250] #14 0x0000562d5c1c8e16 in ProcessQuery (plan=plan@entry=0x562d5e645418, sourceText=0x562d5e48fad0 "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=0x562d5e620a00, qc=qc@entry=0x7ffdc8ea89a0) at ../src/backend/tcop/pquery.c:160 [12:07:50.250] queryDesc = 0x562d5e618438 [12:07:50.250] #15 0x0000562d5c1caa4b in PortalRunMulti (portal=portal@entry=0x562d5e512720, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x562d5e620a00, altdest=0x562d5c9d10c0 , qc=qc@entry=0x7ffdc8ea89a0) at ../src/backend/tcop/pquery.c:1278 [12:07:50.250] pstmt = 0x562d5e645418 [12:07:50.250] stmtlist_item__state = [12:07:50.250] active_snapshot_set = true [12:07:50.250] stmtlist_item = 0x562d5e645540 [12:07:50.250] #16 0x0000562d5c1caf9d in FillPortalStore (portal=portal@entry=0x562d5e512720, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [12:07:50.250] treceiver = 0x562d5e620a00 [12:07:50.250] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [12:07:50.250] __func__ = "FillPortalStore" [12:07:50.250] #17 0x0000562d5c1cb56e in PortalRun (portal=portal@entry=0x562d5e512720, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x562d5e645578, altdest=altdest@entry=0x562d5e645578, qc=0x7ffdc8ea8b80) at ../src/backend/tcop/pquery.c:763 [12:07:50.250] _save_exception_stack = 0x7ffdc8ea8c30 [12:07:50.250] _save_context_stack = 0x0 [12:07:50.250] _local_sigjmp_buf = {{__jmpbuf = {0, 4549881323408289929, 94752855893792, 94752856626704, 94752855893792, 94752856626632, 7819728795551625353, 4549875893602054281}, __mask_was_saved = 0, __saved_mask = {__val = {94752821838474, 94752855357904, 112, 4, 94752821842891, 3370814223, 4, 94752856626632, 112, 163, 94752855893792, 94752856626704, 94752856626680, 94752856626632, 94752821930094, 1}}}} [12:07:50.250] _do_rethrow = [12:07:50.250] result = [12:07:50.250] nprocessed = [12:07:50.250] saveTopTransactionResourceOwner = 0x562d5e4cf8d8 [12:07:50.250] saveTopTransactionContext = 0x562d5e523700 [12:07:50.250] saveActivePortal = 0x0 [12:07:50.250] saveResourceOwner = 0x562d5e4cf8d8 [12:07:50.250] savePortalContext = 0x0 [12:07:50.250] saveMemoryContext = 0x562d5e523700 [12:07:50.250] __func__ = "PortalRun" [12:07:50.250] #18 0x0000562d5c1c491b in exec_simple_query (query_string=query_string@entry=0x562d5e48fad0 "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 [12:07:50.250] cmdtaglen = 5 [12:07:50.250] snapshot_set = [12:07:50.250] per_parsetree_context = 0x0 [12:07:50.250] plantree_list = 0x562d5e645528 [12:07:50.250] parsetree = 0x562d5e5c55c8 [12:07:50.250] commandTag = [12:07:50.250] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [12:07:50.250] querytree_list = [12:07:50.250] portal = 0x562d5e512720 [12:07:50.250] receiver = 0x562d5e645578 [12:07:50.250] format = 0 [12:07:50.250] cmdtagname = [12:07:50.250] parsetree_item__state = [12:07:50.250] dest = DestRemote [12:07:50.250] oldcontext = 0x562d5e523700 [12:07:50.250] parsetree_list = 0x562d5e5c55f8 [12:07:50.250] parsetree_item = 0x562d5e5c5610 [12:07:50.250] save_log_statement_stats = false [12:07:50.250] was_logged = true [12:07:50.250] use_implicit_block = false [12:07:50.250] msec_str = "\340\215\352\310\375\177\000\000\220\260G\\-V\000\000\020\214\352\310\375\177\000\000\026\001\000\000\000\000\000" [12:07:50.250] __func__ = "exec_simple_query" [12:07:50.250] #19 0x0000562d5c1c73f4 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [12:07:50.250] query_string = 0x562d5e48fad0 "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"... [12:07:50.250] firstchar = [12:07:50.250] input_message = {data = 0x562d5e48fad0 "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} [12:07:50.250] local_sigjmp_buf = {{__jmpbuf = {94752834370936, 4549878264018989193, 4, 140727974268384, 140727974268528, 140727974268532, 7819728795622928521, 4549875896091373705}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94752855088720, 14336, 94752834365024, 94752855615632, 140727974268528, 94752821842439, 0, 9, 2, 94752834370944, 94752855088720, 94752834365024, 140727974268384, 140727974268528, 140727974268532}}}} [12:07:50.250] send_ready_for_query = false [12:07:50.250] idle_in_transaction_timeout_enabled = false [12:07:50.250] idle_session_timeout_enabled = false [12:07:50.250] __func__ = "PostgresMain" [12:07:50.250] #20 0x0000562d5c1bd516 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [12:07:50.250] bsdata = [12:07:50.250] #21 0x0000562d5c075e46 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffdc8ea8d8c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffdc8ea8de0) at ../src/backend/postmaster/launch_backend.c:274 [12:07:50.250] pid = [12:07:50.250] #22 0x0000562d5c07b8f2 in BackendStartup (client_sock=client_sock@entry=0x7ffdc8ea8de0) at ../src/backend/postmaster/postmaster.c:3415 [12:07:50.250] bn = 0x562d5e4c4988 [12:07:50.250] pid = [12:07:50.250] startup_data = {canAcceptConnections = CAC_OK} [12:07:50.250] __func__ = "BackendStartup" [12:07:50.250] #23 0x0000562d5c07be54 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [12:07:50.250] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\352\310\375\177\000\000t\216\352\310\375\177", '\000' , "\362\213$[-V\000\000\bw [-V\000\000@\217\352\310\375\177\000\0008\217\352\310\375\177\000\000\225[\362\001\000\000\000\000\240T\343G\301\177\000\000+", '\000' , "\a\213$[-V\000\000h\266\002I\301\177\000\0000V\343G\301\177\000", __ss_align = 140468130329312}, salen = 2}} [12:07:50.250] i = 0 [12:07:50.250] now = [12:07:50.250] last_lockfile_recheck_time = 1726056243 [12:07:50.250] last_touch_time = 1726056243 [12:07:50.250] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 1529121778, events = 22061, fd = 1224914536, user_data = 0x7fc147e35630}, {pos = 1224913632, events = 32705, fd = 2090263927, user_data = 0x7ffdc8ea8fc0}, {pos = 1224743496, events = 32705, fd = 15, user_data = 0x7fc147e35630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = 1224913632, events = 32705, fd = -924152008, user_data = 0x7ffdc8ea8f40}, {pos = 1224914536, events = 32705, fd = 0, user_data = 0x562d5e48fae8}, {pos = 1548642862, events = 22061, fd = 32768, user_data = 0x1}, {pos = 1581848720, events = 22061, fd = -1, user_data = 0x7fc14762e020}, {pos = 1219993504, events = 32705, fd = 1582031880, user_data = 0x562d5e4be2e8}, {pos = 1582031041, events = 22061, fd = 1224769214, user_data = 0x1}, {pos = 1224913632, events = 32705, fd = 438, user_data = 0x562d5c9f0db0 }, {pos = 0, events = 0, fd = 1, user_data = 0x562d5e48fae8}, {pos = 1224769214, events = 32705, fd = 1, user_data = 0x0}, {pos = 1197662240, events = 32705, fd = 1198468544, user_data = 0x10}, {pos = -924150864, events = 32765, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1224778170, user_data = 0x0}, {pos = 1198189860, events = 32705, fd = 0, user_data = 0x562d5d07d720 }, {pos = 2, events = 0, fd = 7, user_data = 0x562d5e451ef0}, {pos = 1544914561, events = 22061, fd = 1582049451, user_data = 0x562d5c15c2ba }, {pos = 1702060386, events = 1936158767, fd = 8096, user_data = 0x562d5e48fae8}, {pos = 1224769214, events = 32705, fd = 1, user_data = 0x0}, {pos = 1197696200, events = 32705, fd = 1198114944, user_data = 0x41e}, {pos = 1198222983, events = 32705, fd = 2, user_data = 0x7d0}, {pos = 255, events = 0, fd = 99, user_data = 0x0}, {pos = 1199512672, events = 32705, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1, user_data = 0xffffffffffffffff}, {pos = 794915937, events = 808476532, fd = 1735417650, user_data = 0x5f67702f6e757274}, {pos = 1919381621, events = 795173985, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xa}, {pos = 1548321418, events = 22061, fd = 1582004960, user_data = 0x7fc1476b56eb}, {pos = 1199495648, events = 32705, fd = 1198133614, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xdc893a4d17ab3200}, {pos = 1199498720, events = 32705, 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 = 1582031272, user_data = 0x562d5c498b4d }, {pos = 1582031072, events = 22061, fd = 3, user_data = 0x0}, {pos = 21702, events = 0, fd = -328, user_data = 0x0}, {pos = 1581841128, events = 22061, fd = 1198469075, user_data = 0x7ffdc8ea9468}, {pos = 1548404734, events = 22061, fd = 1560853808, user_data = 0x562d5c49b2bb }, {pos = 1582031072, events = 22061, fd = 1581840848, user_data = 0x562d5e4be0e0}, {pos = 1198216939, events = 32705, fd = 0, user_data = 0x562d5c4acf25 }, {pos = 1582031072, events = 1, fd = 1548406894, user_data = 0x562d5e48f9d0}, {pos = 397095424, events = 3699980877, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 1198140081, user_data = 0x7fc1476a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 397095424, user_data = 0x562d5e467100}, {pos = 397095424, events = 3699980877, fd = 11, user_data = 0xdc893a4d17ab3200}, {pos = 0, events = 0, fd = 1197847097, user_data = 0x1}, {pos = 1543985987, events = 22061, fd = 4194304, user_data = 0x562d5c49b14f }, {pos = 1581674752, events = 22061, fd = 1581840848, user_data = 0x562d5e467100}, {pos = 1, events = 0, fd = 0, user_data = 0x562d5c4acf25 }, {pos = 1581674752, events = 22061, fd = 1548406894, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x562d5beacbe6 }, {pos = 0, events = 0, fd = 1542135590, user_data = 0xb}, {pos = 1544007136, events = 22061, fd = 1557264976, user_data = 0x562d5e490378}} [12:07:50.250] nevents = 1 [12:07:50.250] __func__ = "ServerLoop" [12:07:50.250] #24 0x0000562d5c07d5ca in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x562d5e44dd60) at ../src/backend/postmaster/postmaster.c:1346 [12:07:50.250] opt = [12:07:50.250] status = [12:07:50.250] userDoption = [12:07:50.250] listen_addr_saved = false [12:07:50.250] output_config_variable = [12:07:50.250] __func__ = "PostmasterMain" [12:07:50.250] #25 0x0000562d5bebcfc2 in main (argc=4, argv=0x562d5e44dd60) at ../src/backend/main/main.c:197 [12:07:50.250] do_check_root = [12:07:50.289] -e [12:07:50.289] [12:07:50.289] [12:07:50.352] dumping /tmp/cores/postgres-6-30550.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [12:07:50.598] [New LWP 30550] [12:07:50.598] [12:07:50.598] This GDB supports auto-downloading debuginfo from the following URLs: [12:07:50.598] [12:07:50.598] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [12:07:50.598] Debuginfod has been disabled. [12:07:50.598] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [12:07:50.713] [Thread debugging using libthread_db enabled] [12:07:50.713] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [12:07:50.713] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [12:07:50.713] Program terminated with signal SIGABRT, Aborted. [12:07:50.713] #0 0x00007f29090a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [12:07:51.578] [12:07:51.578] Thread 1 (Thread 0x7f2908fd7f00 (LWP 30550)): [12:07:51.578] #0 0x00007f29090a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [12:07:51.578] No symbol table info available. [12:07:51.578] #1 0x00007f290905afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [12:07:51.578] No symbol table info available. [12:07:51.578] #2 0x00007f2909045472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [12:07:51.578] No symbol table info available. [12:07:51.578] #3 0x000055e647f2c368 in ExceptionalCondition (conditionName=conditionName@entry=0x55e648179ac5 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55e64819df10 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [12:07:51.578] No locals. [12:07:51.578] #4 0x000055e6478d9426 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffe5defde80, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffe5defdd1f) at ../src/backend/executor/execTuples.c:1737 [12:07:51.578] No locals. [12:07:51.578] #5 0x000055e64785d3b7 in ExecIRDeleteTriggers (estate=estate@entry=0x55e649506fa0, relinfo=relinfo@entry=0x55e649507550, slot=slot@entry=0x7ffe5defde80) at ../src/backend/commands/trigger.c:2841 [12:07:51.578] trigger = 0x55e6495077b0 [12:07:51.578] oldtuple = [12:07:51.578] trigdesc = 0x55e649507760 [12:07:51.578] newtuple = 0x0 [12:07:51.578] should_free = false [12:07:51.578] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f2904c318a0, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [12:07:51.578] i = 0 [12:07:51.578] #6 0x000055e647936323 in ExecMergeMatched (context=0x7ffe5defdea0, resultRelInfo=resultRelInfo@entry=0x55e649507550, tupleid=0x0, oldtuple=0x7ffe5defde80, canSetTag=true, matched=matched@entry=0x7ffe5defde2f) at ../src/backend/executor/nodeModifyTable.c:3043 [12:07:51.578] relaction = 0x55e64966c130 [12:07:51.578] commandType = CMD_DELETE [12:07:51.578] result = TM_Ok [12:07:51.578] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [12:07:51.578] l__state = [12:07:51.578] mtstate = 0x55e649507340 [12:07:51.578] mergeActions = 0x55e649507660 [12:07:51.578] actionStates = 0x55e64966c6f0 [12:07:51.578] newslot = 0x0 [12:07:51.578] rslot = 0x0 [12:07:51.578] estate = 0x55e649506fa0 [12:07:51.578] econtext = 0x55e64966b740 [12:07:51.578] isNull = false [12:07:51.578] epqstate = 0x55e649507428 [12:07:51.578] l = [12:07:51.578] __func__ = "ExecMergeMatched" [12:07:51.578] lmerge_matched = [12:07:51.578] #7 0x000055e647936ee1 in ExecMerge (context=context@entry=0x7ffe5defdea0, resultRelInfo=resultRelInfo@entry=0x55e649507550, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffe5defde80, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [12:07:51.578] rslot = 0x0 [12:07:51.578] matched = true [12:07:51.578] #8 0x000055e6479386a6 in ExecModifyTable (pstate=0x55e649507340) at ../src/backend/executor/nodeModifyTable.c:4133 [12:07:51.578] node = 0x55e649507340 [12:07:51.578] context = {mtstate = 0x55e649507340, epqstate = 0x55e649507428, estate = 0x55e649506fa0, planSlot = 0x55e649669b28, tmfd = {ctid = {ip_blkid = {bi_hi = 49056, bi_lo = 18790}, ip_posid = 21990}, xmax = 1231343912, cmax = 21990, traversed = 5}, cpUpdateReturningSlot = 0x55e64964d128} [12:07:51.578] estate = 0x55e649506fa0 [12:07:51.578] operation = CMD_MERGE [12:07:51.578] resultRelInfo = 0x55e649507550 [12:07:51.578] subplanstate = 0x55e649507c80 [12:07:51.578] slot = [12:07:51.578] oldSlot = [12:07:51.578] tuple_ctid = {ip_blkid = {bi_hi = 18790, bi_lo = 21990}, ip_posid = 0} [12:07:51.578] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55e6496186b8} [12:07:51.578] oldtuple = 0x7ffe5defde80 [12:07:51.578] tupleid = 0x0 [12:07:51.578] __func__ = "ExecModifyTable" [12:07:51.578] #9 0x000055e6478cb972 in ExecProcNodeFirst (node=0x55e649507340) at ../src/backend/executor/execProcnode.c:469 [12:07:51.578] No locals. [12:07:51.578] #10 0x000055e6478b6e70 in ExecProcNode (node=node@entry=0x55e649507340) at ../src/include/executor/executor.h:278 [12:07:51.578] No locals. [12:07:51.578] #11 0x000055e6478b7025 in ExecutePlan (estate=estate@entry=0x55e649506fa0, planstate=0x55e649507340, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55e64963a820, execute_once=true) at ../src/backend/executor/execMain.c:1641 [12:07:51.578] slot = [12:07:51.578] current_tuple_count = 0 [12:07:51.578] #12 0x000055e6478b8d9d in standard_ExecutorRun (queryDesc=queryDesc@entry=0x55e649657a08, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [12:07:51.578] estate = 0x55e649506fa0 [12:07:51.578] operation = CMD_MERGE [12:07:51.578] dest = 0x55e64963a820 [12:07:51.578] sendTuples = [12:07:51.578] oldcontext = 0x55e64963a510 [12:07:51.578] __func__ = "standard_ExecutorRun" [12:07:51.578] #13 0x00007f29067d5813 in pgss_ExecutorRun (queryDesc=0x55e649657a08, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1031 [12:07:51.578] _save_exception_stack = 0x7ffe5defe280 [12:07:51.578] _save_context_stack = 0x0 [12:07:51.578] _local_sigjmp_buf = {{__jmpbuf = {94447562226184, -3808321373056361787, 94447560506096, 94447562106912, 0, 0, -3808321373003932987, -3852643912519214395}, __mask_was_saved = 0, __saved_mask = {__val = {2147483647, 94447562106912, 0, 0, 94447538296942, 0, 1, 0, 94447531346089, 94447562226184, 94447550737792, 94447562106128, 139814179268556, 94447562226184, 0, 94447560506096}}}} [12:07:51.578] _do_rethrow = false [12:07:51.578] #14 0x000055e6478b8fc3 in ExecutorRun (queryDesc=queryDesc@entry=0x55e649657a08, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:297 [12:07:51.578] No locals. [12:07:51.578] #15 0x000055e647c9fe16 in ProcessQuery (plan=plan@entry=0x55e649650320, sourceText=0x55e6494b3af0 "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=0x55e64963a820, qc=qc@entry=0x7ffe5defe1e0) at ../src/backend/tcop/pquery.c:160 [12:07:51.578] queryDesc = 0x55e649657a08 [12:07:51.578] #16 0x000055e647ca1a4b in PortalRunMulti (portal=portal@entry=0x55e649535030, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55e64963a820, altdest=0x55e6484a80c0 , qc=qc@entry=0x7ffe5defe1e0) at ../src/backend/tcop/pquery.c:1278 [12:07:51.578] pstmt = 0x55e649650320 [12:07:51.578] stmtlist_item__state = [12:07:51.578] active_snapshot_set = true [12:07:51.578] stmtlist_item = 0x55e649650448 [12:07:51.578] #17 0x000055e647ca1f9d in FillPortalStore (portal=portal@entry=0x55e649535030, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [12:07:51.578] treceiver = 0x55e64963a820 [12:07:51.578] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [12:07:51.578] __func__ = "FillPortalStore" [12:07:51.578] #18 0x000055e647ca256e in PortalRun (portal=portal@entry=0x55e649535030, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55e649650480, altdest=altdest@entry=0x55e649650480, qc=0x7ffe5defe3c0) at ../src/backend/tcop/pquery.c:763 [12:07:51.578] _save_exception_stack = 0x7ffe5defe470 [12:07:51.578] _save_context_stack = 0x0 [12:07:51.578] _local_sigjmp_buf = {{__jmpbuf = {0, -6983333739003471163, 94447561035824, 94447561815456, 94447561035824, 94447561815384, -3808321372936824123, -6983346167460488507}, __mask_was_saved = 0, __saved_mask = {__val = {94447538205322, 94447560505840, 112, 4, 94447538209739, 1576002383, 4, 94447561815384, 112, 163, 94447561035824, 94447561815456, 94447561815432, 94447561815384, 94447538296942, 1}}}} [12:07:51.578] _do_rethrow = [12:07:51.578] result = [12:07:51.578] nprocessed = [12:07:51.578] saveTopTransactionResourceOwner = 0x55e6494f44f0 [12:07:51.578] saveTopTransactionContext = 0x55e649547460 [12:07:51.578] saveActivePortal = 0x0 [12:07:51.578] saveResourceOwner = 0x55e6494f44f0 [12:07:51.578] savePortalContext = 0x0 [12:07:51.578] saveMemoryContext = 0x55e649547460 [12:07:51.578] __func__ = "PortalRun" [12:07:51.578] #19 0x000055e647c9b91b in exec_simple_query (query_string=query_string@entry=0x55e6494b3af0 "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 [12:07:51.578] cmdtaglen = 5 [12:07:51.578] snapshot_set = [12:07:51.578] per_parsetree_context = 0x0 [12:07:51.578] plantree_list = 0x55e649650430 [12:07:51.578] parsetree = 0x55e6495f3558 [12:07:51.578] commandTag = [12:07:51.578] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [12:07:51.578] querytree_list = [12:07:51.578] portal = 0x55e649535030 [12:07:51.578] receiver = 0x55e649650480 [12:07:51.578] format = 0 [12:07:51.578] cmdtagname = [12:07:51.578] parsetree_item__state = [12:07:51.578] dest = DestRemote [12:07:51.578] oldcontext = 0x55e649547460 [12:07:51.578] parsetree_list = 0x55e6495f3588 [12:07:51.578] parsetree_item = 0x55e6495f35a0 [12:07:51.578] save_log_statement_stats = false [12:07:51.578] was_logged = true [12:07:51.578] use_implicit_block = false [12:07:51.578] msec_str = " \346\357]\376\177\000\000\220 \365G\346U\000\000P\344\357]\376\177\000\000\026\001\000\000\000\000\000" [12:07:51.578] __func__ = "exec_simple_query" [12:07:51.578] #20 0x000055e647c9e3f4 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [12:07:51.578] query_string = 0x55e6494b3af0 "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"... [12:07:51.578] firstchar = [12:07:51.578] input_message = {data = 0x55e6494b3af0 "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} [12:07:51.578] local_sigjmp_buf = {{__jmpbuf = {94447550737784, -6983335550707918139, 4, 140730474423840, 140730474423984, 140730474423988, -3808321373133956411, -6983346141369820475}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 6016, 10, 94447560755680, 0, 168, 94447538209841, 0, 10, 2, 94447550737792, 94447560236688, 94447550731872, 140730474423840, 140730474423984, 140730474423988}}}} [12:07:51.578] send_ready_for_query = false [12:07:51.578] idle_in_transaction_timeout_enabled = false [12:07:51.578] idle_session_timeout_enabled = false [12:07:51.578] __func__ = "PostgresMain" [12:07:51.578] #21 0x000055e647c94516 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [12:07:51.578] bsdata = [12:07:51.578] #22 0x000055e647b4ce46 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffe5defe5cc "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe5defe620) at ../src/backend/postmaster/launch_backend.c:274 [12:07:51.578] pid = [12:07:51.578] #23 0x000055e647b528f2 in BackendStartup (client_sock=client_sock@entry=0x7ffe5defe620) at ../src/backend/postmaster/postmaster.c:3415 [12:07:51.578] bn = 0x55e6494e07e8 [12:07:51.578] pid = [12:07:51.578] startup_data = {canAcceptConnections = CAC_OK} [12:07:51.578] __func__ = "BackendStartup" [12:07:51.578] #24 0x000055e647b52e54 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [12:07:51.578] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\357]\376\177\000\000\264\346\357]\376\177", '\000' , "\362\373\321F\346U\000\000\b\347\315F\346U\000\000\200\347\357]\376\177\000\000x\347\357]\376\177\000\000\225[\362\001\000\000\000\000\020\333MI\346U\000\000,", '\000' , "\a\373\321F\346U\000\000hf\236\n)\177\000\0000v\203\t)\177\000", __ss_align = 139814248538848}, salen = 2}} [12:07:51.578] i = 0 [12:07:51.578] now = [12:07:51.578] last_lockfile_recheck_time = 1726056273 [12:07:51.578] last_touch_time = 1726056273 [12:07:51.578] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 1188166642, events = 21990, fd = 178153064, user_data = 0x7f2909837630}, {pos = 178152160, events = 32553, fd = 2090263927, user_data = 0x7ffe5defe800}, {pos = 177982024, events = 32553, fd = 15, user_data = 0x7f2909837630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = 178152160, events = 32553, fd = 1576003448, user_data = 0x7ffe5defe780}, {pos = 178153064, events = 32553, fd = 0, user_data = 0x55e6494b5930}, {pos = 1207687726, events = 21990, fd = 32768, user_data = 0x1}, {pos = 1229669904, events = 21990, fd = -1, user_data = 0x7f290902e020}, {pos = 173232032, events = 32553, fd = 1229845416, user_data = 0x55e6494df288}, {pos = 1229863217, events = 21990, fd = 178007742, user_data = 0x1}, {pos = 178152160, events = 32553, fd = 438, user_data = 0x55e6484c7db0 }, {pos = 0, events = 0, fd = 1, user_data = 0x55e6494b5930}, {pos = 178007742, events = 32553, fd = 1, user_data = 0x0}, {pos = 151183392, events = 32553, fd = 151989696, user_data = 0x10}, {pos = 1576004592, events = 32766, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 178016698, user_data = 0x0}, {pos = 151711012, events = 32553, fd = 0, user_data = 0x55e648b54720 }, {pos = 2, events = 0, fd = 7, user_data = 0x55e649475f30}, {pos = 1203959425, events = 21990, fd = 1229883899, user_data = 0x55e647c332ba }, {pos = 1702060386, events = 1936158767, fd = 8096, user_data = 0x55e6494b5930}, {pos = 178007742, events = 32553, fd = 1, user_data = 0x0}, {pos = 151217352, events = 32553, fd = 151636096, user_data = 0x41e}, {pos = 151744493, events = 32553, fd = 2, user_data = 0x55e6494e89a0}, {pos = 255, events = 0, fd = 0, user_data = 0x0}, {pos = 153033824, events = 32553, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xa33}, {pos = 0, events = 0, fd = -65536, user_data = 0xffffffffffffffff}, {pos = 811562031, events = 1935619890, fd = 1634038388, user_data = 0x797265766f636572}, {pos = 926036015, events = 1920234335, fd = 166229312, user_data = 0x7f2909e87a80}, {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 = 1207366282, events = 21990, fd = 1229859120, user_data = 0x7f29090b583e}, {pos = 153016800, events = 32553, fd = 151654766, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0x738a14cbbb179100}, {pos = 153019872, events = 32553, 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 = 1229844808, user_data = 0x55e647f6fb4d }, {pos = 1229844608, events = 21990, fd = 3, user_data = 0x0}, {pos = 28452, events = 0, fd = -328, user_data = 0x0}, {pos = 1229674800, events = 21990, fd = 151990227, user_data = 0x7ffe5defeca8}, {pos = 1207449598, events = 21990, fd = 1219898672, user_data = 0x55e647f722bb }, {pos = 1229844608, events = 21990, fd = 1229666800, user_data = 0x55e6494df080}, {pos = 151738430, events = 32553, fd = 0, user_data = 0x55e647f83f25 }, {pos = 1229844608, events = 1, fd = 1207451758, user_data = 0x55e6494b39f0}, {pos = -1156083456, events = 1938429131, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 151661233, user_data = 0x7f29090a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1156083456, user_data = 0x55e64948b120}, {pos = -1156083456, events = 1938429131, fd = 11, user_data = 0x738a14cbbb179100}, {pos = 0, events = 0, fd = 151368249, user_data = 0x1}, {pos = 1203030851, events = 21990, fd = 4194304, user_data = 0x55e647f7214f }, {pos = 1229500704, events = 21990, fd = 1229666800, user_data = 0x55e64948b120}, {pos = 1, events = 0, fd = 0, user_data = 0x55e647f83f25 }, {pos = 1229500704, events = 21990, fd = 1207451758, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x55e647983be6 }, {pos = 0, events = 0, fd = 1201180454, user_data = 0xb}, {pos = 1203052000, events = 21990, fd = 1216309840, user_data = 0x55e6494b43a8}} [12:07:51.578] nevents = 1 [12:07:51.578] __func__ = "ServerLoop" [12:07:51.578] #25 0x000055e647b545ca in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55e649471d90) at ../src/backend/postmaster/postmaster.c:1346 [12:07:51.578] opt = [12:07:51.578] status = [12:07:51.578] userDoption = [12:07:51.578] listen_addr_saved = false [12:07:51.578] output_config_variable = [12:07:51.578] __func__ = "PostmasterMain" [12:07:51.578] #26 0x000055e647993fc2 in main (argc=4, argv=0x55e649471d90) at ../src/backend/main/main.c:197 [12:07:51.578] do_check_root =