[14:44:13.608] src/tools/ci/cores_backtrace.sh linux /tmp/cores [14:44:13.828] dumping /tmp/cores/postgres-6-19935.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [14:44:14.076] [New LWP 19935] [14:44:14.076] [14:44:14.076] This GDB supports auto-downloading debuginfo from the following URLs: [14:44:14.076] [14:44:14.076] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [14:44:14.076] Debuginfod has been disabled. [14:44:14.076] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [14:44:14.206] [Thread debugging using libthread_db enabled] [14:44:14.206] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [14:44:14.206] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [14:44:14.206] Program terminated with signal SIGABRT, Aborted. [14:44:14.206] #0 0x00007fcd886a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [14:44:15.185] [14:44:15.185] Thread 1 (Thread 0x7fcd885d2f00 (LWP 19935)): [14:44:15.185] #0 0x00007fcd886a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [14:44:15.185] No symbol table info available. [14:44:15.185] #1 0x00007fcd8865afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [14:44:15.185] No symbol table info available. [14:44:15.185] #2 0x00007fcd88645472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [14:44:15.185] No symbol table info available. [14:44:15.185] #3 0x00005627ca2bd4c0 in ExceptionalCondition (conditionName=conditionName@entry=0x5627ca50aac5 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x5627ca52ef18 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [14:44:15.185] No locals. [14:44:15.185] #4 0x00005627c9c6c1bf in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffd576c1fb0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffd576c1e4f) at ../src/backend/executor/execTuples.c:1737 [14:44:15.185] No locals. [14:44:15.185] #5 0x00005627c9bf02b9 in ExecIRDeleteTriggers (estate=estate@entry=0x5627cc11a510, relinfo=relinfo@entry=0x5627cc11aac0, slot=slot@entry=0x7ffd576c1fb0) at ../src/backend/commands/trigger.c:2841 [14:44:15.185] trigger = 0x5627cc11ad20 [14:44:15.185] oldtuple = [14:44:15.185] trigdesc = 0x5627cc11acd0 [14:44:15.185] newtuple = 0x0 [14:44:15.185] should_free = false [14:44:15.185] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fcd7d0005e8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [14:44:15.185] i = 0 [14:44:15.185] #6 0x00005627c9cc90bc in ExecMergeMatched (context=0x7ffd576c1fd0, resultRelInfo=resultRelInfo@entry=0x5627cc11aac0, tupleid=0x0, oldtuple=0x7ffd576c1fb0, canSetTag=true, matched=matched@entry=0x7ffd576c1f5f) at ../src/backend/executor/nodeModifyTable.c:3043 [14:44:15.185] relaction = 0x5627cc14f570 [14:44:15.185] commandType = CMD_DELETE [14:44:15.185] result = TM_Ok [14:44:15.185] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [14:44:15.185] l__state = [14:44:15.185] mtstate = 0x5627cc11a8b0 [14:44:15.185] mergeActions = 0x5627cc11abd0 [14:44:15.185] actionStates = 0x5627cc14fb30 [14:44:15.185] newslot = 0x0 [14:44:15.185] rslot = 0x0 [14:44:15.185] estate = 0x5627cc11a510 [14:44:15.185] econtext = 0x5627cc14eb80 [14:44:15.185] isNull = false [14:44:15.185] epqstate = 0x5627cc11a998 [14:44:15.185] l = [14:44:15.185] __func__ = "ExecMergeMatched" [14:44:15.185] lmerge_matched = [14:44:15.185] #7 0x00005627c9cc9c7a in ExecMerge (context=context@entry=0x7ffd576c1fd0, resultRelInfo=resultRelInfo@entry=0x5627cc11aac0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffd576c1fb0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [14:44:15.185] rslot = 0x0 [14:44:15.185] matched = true [14:44:15.185] #8 0x00005627c9ccb43f in ExecModifyTable (pstate=0x5627cc11a8b0) at ../src/backend/executor/nodeModifyTable.c:4133 [14:44:15.185] node = 0x5627cc11a8b0 [14:44:15.185] context = {mtstate = 0x5627cc11a8b0, epqstate = 0x5627cc11a998, estate = 0x5627cc11a510, planSlot = 0x5627cc14cf68, tmfd = {ctid = {ip_blkid = {bi_hi = 42000, bi_lo = 52241}, ip_posid = 22055}, xmax = 3392144354, cmax = 22055, traversed = 16}, cpUpdateReturningSlot = 0x5627ca3003e2 } [14:44:15.185] estate = 0x5627cc11a510 [14:44:15.185] operation = CMD_MERGE [14:44:15.185] resultRelInfo = 0x5627cc11aac0 [14:44:15.185] subplanstate = 0x5627cc11b1f0 [14:44:15.185] slot = [14:44:15.185] oldSlot = [14:44:15.185] tuple_ctid = {ip_blkid = {bi_hi = 52253, bi_lo = 22055}, ip_posid = 0} [14:44:15.185] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x5627cc17d158} [14:44:15.185] oldtuple = 0x7ffd576c1fb0 [14:44:15.185] tupleid = 0x0 [14:44:15.185] __func__ = "ExecModifyTable" [14:44:15.185] #9 0x00005627c9c5e70b in ExecProcNodeFirst (node=0x5627cc11a8b0) at ../src/backend/executor/execProcnode.c:469 [14:44:15.185] No locals. [14:44:15.185] #10 0x00005627c9c49c09 in ExecProcNode (node=node@entry=0x5627cc11a8b0) at ../src/include/executor/executor.h:278 [14:44:15.185] No locals. [14:44:15.185] #11 0x00005627c9c49dbe in ExecutePlan (estate=estate@entry=0x5627cc11a510, planstate=0x5627cc11a8b0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x5627cc19f2c0, execute_once=true) at ../src/backend/executor/execMain.c:1641 [14:44:15.185] slot = [14:44:15.185] current_tuple_count = 0 [14:44:15.185] #12 0x00005627c9c4bb36 in standard_ExecutorRun (queryDesc=0x5627cc1a7828, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [14:44:15.185] estate = 0x5627cc11a510 [14:44:15.185] operation = CMD_MERGE [14:44:15.185] dest = 0x5627cc19f2c0 [14:44:15.185] sendTuples = [14:44:15.185] oldcontext = 0x5627cc19efb0 [14:44:15.185] __func__ = "standard_ExecutorRun" [14:44:15.185] #13 0x00005627c9c4bd69 in ExecutorRun (queryDesc=queryDesc@entry=0x5627cc1a7828, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [14:44:15.185] No locals. [14:44:15.185] #14 0x00005627ca0312ba in ProcessQuery (plan=plan@entry=0x5627cc1da2b8, sourceText=0x5627cc015ad0 "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=0x5627cc19f2c0, qc=qc@entry=0x7ffd576c2200) at ../src/backend/tcop/pquery.c:160 [14:44:15.185] queryDesc = 0x5627cc1a7828 [14:44:15.185] #15 0x00005627ca032eef in PortalRunMulti (portal=portal@entry=0x5627cc098720, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x5627cc19f2c0, altdest=0x5627ca838180 , qc=qc@entry=0x7ffd576c2200) at ../src/backend/tcop/pquery.c:1278 [14:44:15.185] pstmt = 0x5627cc1da2b8 [14:44:15.185] stmtlist_item__state = [14:44:15.185] active_snapshot_set = true [14:44:15.185] stmtlist_item = 0x5627cc1da3e0 [14:44:15.185] #16 0x00005627ca033441 in FillPortalStore (portal=portal@entry=0x5627cc098720, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [14:44:15.185] treceiver = 0x5627cc19f2c0 [14:44:15.185] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [14:44:15.185] __func__ = "FillPortalStore" [14:44:15.185] #17 0x00005627ca033a12 in PortalRun (portal=portal@entry=0x5627cc098720, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x5627cc1da418, altdest=altdest@entry=0x5627cc1da418, qc=0x7ffd576c23e0) at ../src/backend/tcop/pquery.c:763 [14:44:15.185] _save_exception_stack = 0x7ffd576c2490 [14:44:15.185] _save_context_stack = 0x0 [14:44:15.185] _local_sigjmp_buf = {{__jmpbuf = {0, 7808385410228507540, 94728926889760, 94728928583872, 94728926889760, 94728928583800, 4605427374808585108, 7808389726076359572}, __mask_was_saved = 0, __saved_mask = {__val = {94728895857634, 94728926353872, 112, 4, 94728895862051, 1466704751, 4, 94728928583800, 112, 163, 94728926889760, 94728928583872, 94728928583848, 94728928583800, 94728895949254, 1}}}} [14:44:15.185] _do_rethrow = [14:44:15.185] result = [14:44:15.185] nprocessed = [14:44:15.185] saveTopTransactionResourceOwner = 0x5627cc0558d8 [14:44:15.185] saveTopTransactionContext = 0x5627cc0a9700 [14:44:15.185] saveActivePortal = 0x0 [14:44:15.185] saveResourceOwner = 0x5627cc0558d8 [14:44:15.185] savePortalContext = 0x0 [14:44:15.185] saveMemoryContext = 0x5627cc0a9700 [14:44:15.185] __func__ = "PortalRun" [14:44:15.185] #18 0x00005627ca02cdbf in exec_simple_query (query_string=query_string@entry=0x5627cc015ad0 "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 [14:44:15.185] cmdtaglen = 5 [14:44:15.185] snapshot_set = [14:44:15.185] per_parsetree_context = 0x0 [14:44:15.185] plantree_list = 0x5627cc1da3c8 [14:44:15.185] parsetree = 0x5627cc236078 [14:44:15.185] commandTag = [14:44:15.185] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [14:44:15.185] querytree_list = [14:44:15.185] portal = 0x5627cc098720 [14:44:15.185] receiver = 0x5627cc1da418 [14:44:15.185] format = 0 [14:44:15.185] cmdtagname = [14:44:15.185] parsetree_item__state = [14:44:15.185] dest = DestRemote [14:44:15.185] oldcontext = 0x5627cc0a9700 [14:44:15.185] parsetree_list = 0x5627cc2360a8 [14:44:15.185] parsetree_item = 0x5627cc2360c0 [14:44:15.185] save_log_statement_stats = false [14:44:15.185] was_logged = true [14:44:15.185] use_implicit_block = false [14:44:15.185] msec_str = "@&lW\375\177\000\000\3501.\312'V\000\000p$lW\375\177\000\000\026\001\000\000\000\000\000" [14:44:15.185] __func__ = "exec_simple_query" [14:44:15.185] #19 0x00005627ca02f898 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [14:44:15.185] query_string = 0x5627cc015ad0 "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"... [14:44:15.185] firstchar = [14:44:15.185] input_message = {data = 0x5627cc015ad0 "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} [14:44:15.185] local_sigjmp_buf = {{__jmpbuf = {94728908380344, 7808389415716475796, 4, 140726070158912, 140726070159056, 140726070159060, 4605427374745670548, 7808389728435655572}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94728926084688, 14336, 94728908374432, 94728926611600, 140726070159056, 94728895861599, 0, 9, 2, 94728908380352, 94728926084688, 94728908374432, 140726070158912, 140726070159056, 140726070159060}}}} [14:44:15.185] send_ready_for_query = false [14:44:15.185] idle_in_transaction_timeout_enabled = false [14:44:15.185] idle_session_timeout_enabled = false [14:44:15.185] __func__ = "PostgresMain" [14:44:15.185] #20 0x00005627ca0259ba in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [14:44:15.185] bsdata = [14:44:15.185] #21 0x00005627c9ede33a in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffd576c25ec "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffd576c2640) at ../src/backend/postmaster/launch_backend.c:274 [14:44:15.185] pid = [14:44:15.185] #22 0x00005627c9ee3de6 in BackendStartup (client_sock=client_sock@entry=0x7ffd576c2640) at ../src/backend/postmaster/postmaster.c:3415 [14:44:15.185] bn = 0x5627cc04aa28 [14:44:15.185] pid = [14:44:15.185] startup_data = {canAcceptConnections = CAC_OK} [14:44:15.185] __func__ = "BackendStartup" [14:44:15.185] #23 0x00005627c9ee4348 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [14:44:15.185] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\374\211\315\177\000\000>\004\000\000\000\000\000\000\260\227c\210\315\177\000\000\240_\264\211\315\177\000\000\370&lW\375\177\000\000\364&lW\375\177", '\000' , "b;\v\311'V\000\000\360&\a\311'V\000\000\300'lW\375\177\000\000\270'lW\375\177\000\000\225[\362\001\223ɫ*\240\324^\210\315\177\000\000+\000\000\000\000\000\000", __ss_align = 0}, salen = 2}} [14:44:15.185] i = 0 [14:44:15.185] now = [14:44:15.185] last_lockfile_recheck_time = 1725720032 [14:44:15.185] last_touch_time = 1725720032 [14:44:15.185] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 1382427086, events = 0, fd = 1466705920, user_data = 0x0}, {pos = 15, events = 0, fd = -922010782, user_data = 0x7fcd89ff7668}, {pos = -2007050704, events = 32717, fd = -1979747616, user_data = 0x7c96e577}, {pos = 1466705984, events = 32765, fd = -1979917752, user_data = 0xf}, {pos = -2007050704, events = 32717, fd = 1, user_data = 0x0}, {pos = 1, events = 0, fd = -1979747616, user_data = 0x7ffd576c27b8}, {pos = 1466705856, events = 32765, fd = -1979746712, user_data = 0x0}, {pos = -872318832, events = 22055, fd = -2005996315, user_data = 0x7ffd576c2cd3}, {pos = 1, events = 0, fd = 1466705856, user_data = 0xffffffff}, {pos = -2006786016, events = 32717, fd = -1984667744, user_data = 0x5627cc044408}, {pos = -872135960, events = 22055, fd = -872136511, user_data = 0x7fcd89fd3ebe}, {pos = 1, events = 0, fd = -1979747616, user_data = 0x1b6}, {pos = -897221200, events = 22055, fd = 0, user_data = 0x1}, {pos = -872326424, events = 22055, fd = -1979892034, user_data = 0x1}, {pos = 0, events = 0, fd = -2006786016, user_data = 0x7fcd886f2dc0 }, {pos = 16, events = 0, fd = 1466706960, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x7fcd89fd61ba}, {pos = 0, events = 0, fd = -2006258396, user_data = 0x0}, {pos = -890359200, events = 22055, fd = 2, user_data = 0x7}, {pos = -872579344, events = 22055, fd = 1952410737, user_data = 0x16a}, {pos = -897221808, events = 22055, fd = 4, user_data = 0x2ffff00001fa0}, {pos = -872326424, events = 22055, fd = -1979892034, user_data = 0x1}, {pos = -2006225273, events = 32717, fd = -2006752056, user_data = 0x7d0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = -2004935584, events = 32717, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x5627cbfd7ef0}, {pos = -2006222326, events = 32717, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 840966176, events = 842018864, fd = 538976266, user_data = 0x0}, {pos = 0, events = 0, fd = 794915937, user_data = 0x6770755f67705f32}, {pos = 1853190772, events = 1600614447, fd = 1919381621, user_data = 0x0}, {pos = 0, events = 22016, 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 = -2004952608, events = 32717, fd = -2006314642, user_data = 0x100000400}, {pos = 7, events = 0, fd = 2, user_data = 0x2aabc99365132f00}, {pos = -2004949536, events = 32717, fd = -328, user_data = 0x0}, {pos = -872136280, events = 22055, fd = 1024, user_data = 0x5627cc0441a8}, {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 = 17546, events = 0, fd = -328, user_data = 0x0}, {pos = -872326424, events = 22055, fd = -2005979181, user_data = 0x7ffd576c2cc8}, {pos = -902739626, events = 22055, fd = -890300304, user_data = 0x5627ca303413 }, {pos = -872136480, events = 22055, fd = -872326704, user_data = 0x5627cc0440e0}, {pos = -2006231317, events = 32717, fd = 0, user_data = 0x5627ca31507d }, {pos = -872136480, events = 1, fd = -902737466, user_data = 0x5627cc0159d0}, {pos = 1695756032, events = 715901331, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -2006308175, user_data = 0x7fcd886a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1695756032, user_data = 0x5627cbfed100}, {pos = 1695756032, events = 715901331, fd = 11, user_data = 0x2aabc99365132f00}, {pos = 0, events = 0, fd = -2006601159, user_data = 0x1}, {pos = -907157449, events = 22055, fd = 4194304, user_data = 0x5627ca3032a7 }, {pos = -872492800, events = 22055, fd = -872326704, user_data = 0x5627cbfed100}, {pos = 1, events = 0, fd = 0, user_data = 0x5627ca31507d }, {pos = -872492800, events = 22055, fd = -902737466, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x5627c9d1697f }, {pos = 0, events = 0, fd = -909001537, user_data = 0xb}, {pos = -907136300, events = 22055, fd = -893887536, user_data = 0x5627cc016378}} [14:44:15.185] nevents = 1 [14:44:15.185] __func__ = "ServerLoop" [14:44:15.185] #24 0x00005627c9ee5abe in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x5627cbfd3d60) at ../src/backend/postmaster/postmaster.c:1346 [14:44:15.185] opt = [14:44:15.185] status = [14:44:15.185] userDoption = [14:44:15.185] listen_addr_saved = false [14:44:15.185] output_config_variable = [14:44:15.185] __func__ = "PostmasterMain" [14:44:15.185] #25 0x00005627c9d26d5b in main (argc=4, argv=0x5627cbfd3d60) at ../src/backend/main/main.c:197 [14:44:15.185] do_check_root = [14:44:15.221] -e [14:44:15.221] [14:44:15.221] [14:44:15.286] dumping /tmp/cores/postgres-6-19137.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [14:44:15.536] [New LWP 19137] [14:44:15.536] [14:44:15.536] This GDB supports auto-downloading debuginfo from the following URLs: [14:44:15.536] [14:44:15.536] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [14:44:15.536] Debuginfod has been disabled. [14:44:15.536] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [14:44:15.652] [Thread debugging using libthread_db enabled] [14:44:15.652] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [14:44:15.652] Core was generated by `postgres: postgres regression [local] MERGE '. [14:44:15.652] Program terminated with signal SIGABRT, Aborted. [14:44:15.652] #0 0x00007f4fd56a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [14:44:16.606] [14:44:16.606] Thread 1 (Thread 0x7f4fd6487f00 (LWP 19137)): [14:44:16.606] #0 0x00007f4fd56a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [14:44:16.606] No symbol table info available. [14:44:16.606] #1 0x00007f4fd565afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [14:44:16.606] No symbol table info available. [14:44:16.606] #2 0x00007f4fd5645472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [14:44:16.606] No symbol table info available. [14:44:16.606] #3 0x000056042b9e44c0 in ExceptionalCondition (conditionName=conditionName@entry=0x56042bc31ac5 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x56042bc55f18 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [14:44:16.606] No locals. [14:44:16.606] #4 0x000056042b3931bf in ExecFetchSlotHeapTuple (slot=slot@entry=0x7fffc0db32e0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7fffc0db317f) at ../src/backend/executor/execTuples.c:1737 [14:44:16.606] No locals. [14:44:16.606] #5 0x000056042b3172b9 in ExecIRDeleteTriggers (estate=estate@entry=0x56042d7dec40, relinfo=relinfo@entry=0x56042d7df1f0, slot=slot@entry=0x7fffc0db32e0) at ../src/backend/commands/trigger.c:2841 [14:44:16.606] trigger = 0x56042d7df450 [14:44:16.606] oldtuple = [14:44:16.606] trigdesc = 0x56042d7df400 [14:44:16.606] newtuple = 0x0 [14:44:16.606] should_free = false [14:44:16.606] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f4fc9c86118, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [14:44:16.606] i = 0 [14:44:16.606] #6 0x000056042b3f00bc in ExecMergeMatched (context=0x7fffc0db3300, resultRelInfo=resultRelInfo@entry=0x56042d7df1f0, tupleid=0x0, oldtuple=0x7fffc0db32e0, canSetTag=true, matched=matched@entry=0x7fffc0db328f) at ../src/backend/executor/nodeModifyTable.c:3043 [14:44:16.606] relaction = 0x56042d931e30 [14:44:16.606] commandType = CMD_DELETE [14:44:16.606] result = TM_Ok [14:44:16.606] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [14:44:16.606] l__state = [14:44:16.606] mtstate = 0x56042d7defe0 [14:44:16.606] mergeActions = 0x56042d7df300 [14:44:16.606] actionStates = 0x56042d9323f0 [14:44:16.606] newslot = 0x0 [14:44:16.606] rslot = 0x0 [14:44:16.606] estate = 0x56042d7dec40 [14:44:16.606] econtext = 0x56042d931440 [14:44:16.606] isNull = false [14:44:16.606] epqstate = 0x56042d7df0c8 [14:44:16.606] l = [14:44:16.606] __func__ = "ExecMergeMatched" [14:44:16.606] lmerge_matched = [14:44:16.606] #7 0x000056042b3f0c7a in ExecMerge (context=context@entry=0x7fffc0db3300, resultRelInfo=resultRelInfo@entry=0x56042d7df1f0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7fffc0db32e0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [14:44:16.606] rslot = 0x0 [14:44:16.606] matched = true [14:44:16.606] #8 0x000056042b3f243f in ExecModifyTable (pstate=0x56042d7defe0) at ../src/backend/executor/nodeModifyTable.c:4133 [14:44:16.606] node = 0x56042d7defe0 [14:44:16.606] context = {mtstate = 0x56042d7defe0, epqstate = 0x56042d7df0c8, estate = 0x56042d7dec40, planSlot = 0x56042d92f828, tmfd = {ctid = {ip_blkid = {bi_hi = 60224, bi_lo = 11645}, ip_posid = 22020}, xmax = 732066786, cmax = 22020, traversed = 64}, cpUpdateReturningSlot = 0x56042ba273e2 } [14:44:16.606] estate = 0x56042d7dec40 [14:44:16.606] operation = CMD_MERGE [14:44:16.606] resultRelInfo = 0x56042d7df1f0 [14:44:16.606] subplanstate = 0x56042d7df920 [14:44:16.606] slot = [14:44:16.606] oldSlot = [14:44:16.606] tuple_ctid = {ip_blkid = {bi_hi = 11667, bi_lo = 22020}, ip_posid = 0} [14:44:16.606] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x56042d8f2f68} [14:44:16.606] oldtuple = 0x7fffc0db32e0 [14:44:16.606] tupleid = 0x0 [14:44:16.606] __func__ = "ExecModifyTable" [14:44:16.606] #9 0x000056042b38570b in ExecProcNodeFirst (node=0x56042d7defe0) at ../src/backend/executor/execProcnode.c:469 [14:44:16.606] No locals. [14:44:16.606] #10 0x000056042b370c09 in ExecProcNode (node=node@entry=0x56042d7defe0) at ../src/include/executor/executor.h:278 [14:44:16.606] No locals. [14:44:16.606] #11 0x000056042b370dbe in ExecutePlan (estate=estate@entry=0x56042d7dec40, planstate=0x56042d7defe0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x56042d855900, execute_once=true) at ../src/backend/executor/execMain.c:1641 [14:44:16.606] slot = [14:44:16.606] current_tuple_count = 0 [14:44:16.606] #12 0x000056042b372b36 in standard_ExecutorRun (queryDesc=0x56042d9192c8, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [14:44:16.606] estate = 0x56042d7dec40 [14:44:16.606] operation = CMD_MERGE [14:44:16.606] dest = 0x56042d855900 [14:44:16.606] sendTuples = [14:44:16.606] oldcontext = 0x56042d8555f0 [14:44:16.606] __func__ = "standard_ExecutorRun" [14:44:16.606] #13 0x000056042b372d69 in ExecutorRun (queryDesc=queryDesc@entry=0x56042d9192c8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [14:44:16.606] No locals. [14:44:16.606] #14 0x000056042b7582ba in ProcessQuery (plan=plan@entry=0x56042d93e858, sourceText=0x56042d78ab40 "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=0x56042d855900, qc=qc@entry=0x7fffc0db3530) at ../src/backend/tcop/pquery.c:160 [14:44:16.606] queryDesc = 0x56042d9192c8 [14:44:16.606] #15 0x000056042b759eef in PortalRunMulti (portal=portal@entry=0x56042d80d0e0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x56042d855900, altdest=0x56042bf5f180 , qc=qc@entry=0x7fffc0db3530) at ../src/backend/tcop/pquery.c:1278 [14:44:16.606] pstmt = 0x56042d93e858 [14:44:16.606] stmtlist_item__state = [14:44:16.606] active_snapshot_set = true [14:44:16.606] stmtlist_item = 0x56042d93e980 [14:44:16.606] #16 0x000056042b75a441 in FillPortalStore (portal=portal@entry=0x56042d80d0e0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [14:44:16.606] treceiver = 0x56042d855900 [14:44:16.606] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [14:44:16.606] __func__ = "FillPortalStore" [14:44:16.606] #17 0x000056042b75aa12 in PortalRun (portal=portal@entry=0x56042d80d0e0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x56042d93e9b8, altdest=altdest@entry=0x56042d93e9b8, qc=0x7fffc0db3710) at ../src/backend/tcop/pquery.c:763 [14:44:16.606] _save_exception_stack = 0x7fffc0db37c0 [14:44:16.606] _save_context_stack = 0x0 [14:44:16.606] _local_sigjmp_buf = {{__jmpbuf = {0, -1303309228482451898, 94575943274720, 94575944401952, 94575943274720, 94575944401880, -4747236316765182394, -1303305120477043130}, __mask_was_saved = 0, __saved_mask = {__val = {94575911924706, 94575942740544, 112, 4, 94575911929123, 3235591839, 4, 94575944401880, 112, 163, 94575943274720, 94575944401952, 94575944401928, 94575944401880, 94575912016326, 1}}}} [14:44:16.606] _do_rethrow = [14:44:16.606] result = [14:44:16.606] nprocessed = [14:44:16.606] saveTopTransactionResourceOwner = 0x56042d7c9d98 [14:44:16.606] saveTopTransactionContext = 0x56042d81ecf0 [14:44:16.606] saveActivePortal = 0x0 [14:44:16.606] saveResourceOwner = 0x56042d7c9d98 [14:44:16.606] savePortalContext = 0x0 [14:44:16.606] saveMemoryContext = 0x56042d81ecf0 [14:44:16.606] __func__ = "PortalRun" [14:44:16.606] #18 0x000056042b753dbf in exec_simple_query (query_string=query_string@entry=0x56042d78ab40 "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 [14:44:16.606] cmdtaglen = 5 [14:44:16.606] snapshot_set = [14:44:16.606] per_parsetree_context = 0x0 [14:44:16.606] plantree_list = 0x56042d93e968 [14:44:16.606] parsetree = 0x56042d9203d8 [14:44:16.606] commandTag = [14:44:16.606] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [14:44:16.606] querytree_list = [14:44:16.606] portal = 0x56042d80d0e0 [14:44:16.606] receiver = 0x56042d93e9b8 [14:44:16.606] format = 0 [14:44:16.606] cmdtagname = [14:44:16.606] parsetree_item__state = [14:44:16.606] dest = DestRemote [14:44:16.606] oldcontext = 0x56042d81ecf0 [14:44:16.606] parsetree_list = 0x56042d920408 [14:44:16.606] parsetree_item = 0x56042d920420 [14:44:16.606] save_log_statement_stats = false [14:44:16.606] was_logged = false [14:44:16.606] use_implicit_block = false [14:44:16.606] msec_str = "p9\333\300\377\177\000\000衠+\004V\000\000\2407\333\300\377\177\000\000\026\001\000\000\000\000\000" [14:44:16.606] __func__ = "exec_simple_query" [14:44:16.606] #19 0x000056042b756898 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [14:44:16.606] query_string = 0x56042d78ab40 "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"... [14:44:16.606] firstchar = [14:44:16.606] input_message = {data = 0x56042d78ab40 "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} [14:44:16.606] local_sigjmp_buf = {{__jmpbuf = {94575924447416, -1303311821614045626, 4, 140736428980592, 140736428980736, 140736428980740, -4747236316677102010, -1303305127093557690}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94575942471232, 15616, 94575924441504, 94575942995280, 140736428980736, 94575911928671, 0, 9, 2, 94575924447424, 94575942471232, 94575924441504, 140736428980592, 140736428980736, 140736428980740}}}} [14:44:16.606] send_ready_for_query = false [14:44:16.606] idle_in_transaction_timeout_enabled = false [14:44:16.606] idle_session_timeout_enabled = false [14:44:16.606] __func__ = "PostgresMain" [14:44:16.606] #20 0x000056042b74c9ba in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [14:44:16.606] bsdata = [14:44:16.606] #21 0x000056042b60533a in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7fffc0db391c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7fffc0db3970) at ../src/backend/postmaster/launch_backend.c:274 [14:44:16.606] pid = [14:44:16.606] #22 0x000056042b60ade6 in BackendStartup (client_sock=client_sock@entry=0x7fffc0db3970) at ../src/backend/postmaster/postmaster.c:3415 [14:44:16.606] bn = 0x56042d7b31f8 [14:44:16.606] pid = [14:44:16.606] startup_data = {canAcceptConnections = CAC_OK} [14:44:16.606] __func__ = "BackendStartup" [14:44:16.606] #23 0x000056042b60b348 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [14:44:16.606] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "b\325O\177\000\0004:\333\300\377\177\000\000ʀ\372\326O\177\000\000>\004\000\000\000\000\000\000\260\227c\325O\177\000\000\240\237\274\326O\177\000\0008:\333\300\377\177\000\0004:\333\300\377\177\000\000\000\000\000\000\000\000\000\000\3209\333\300\377\177\000\000b\253}*\004V\000\000\360\226y*\004V\000\000\000;\333\300\377\177\000\000\370:\333\300\377\177\000\000\225[\362\001\000\000\000", __ss_align = 139980874245280}, salen = 2}} [14:44:16.606] i = 0 [14:44:16.606] now = [14:44:16.606] last_lockfile_recheck_time = 1725720030 [14:44:16.606] last_touch_time = 1725720030 [14:44:16.606] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = 0, events = 0, fd = 1, user_data = 0x7f4fd6fd22e0}, {pos = -1059374472, events = 0, fd = 0, user_data = 0x7f4fd6fd2668}, {pos = 712878946, events = 22020, fd = -688052632, user_data = 0x7f4fd648e630}, {pos = -688053536, events = 32591, fd = 2090263927, user_data = 0x7fffc0db3b80}, {pos = -688223672, events = 32591, fd = 15, user_data = 0x7f4fd648e630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = -688053536, events = 32591, fd = -1059374344, user_data = 0x7fffc0db3b00}, {pos = -688052632, events = 32591, fd = 0, user_data = 0x56042d7b77d8}, {pos = 763066040, events = 22020, fd = 763074769, user_data = 0x7f4f00000001}, {pos = 1, events = 0, fd = -1, user_data = 0x7f4fd562e020}, {pos = -692281440, events = 32591, fd = 763066328, user_data = 0x7fffc0db3ef0}, {pos = 763066696, events = 22020, fd = 763036480, user_data = 0x56042d7b77d8}, {pos = -688053536, events = 32591, fd = 438, user_data = 0x56042bf7edb0 }, {pos = 0, events = 0, fd = 1, user_data = 0x56042d78ac00}, {pos = -688197954, events = 32591, fd = 1, user_data = 0x0}, {pos = -714940384, events = 32591, fd = -714134080, user_data = 0x7fffc0db3f60}, {pos = -1059373248, events = 32767, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -688188998, user_data = 0x0}, {pos = -714412764, events = 32591, fd = 0, user_data = 0x56042c60a260 }, {pos = 2, events = 0, fd = 7, user_data = 0x56042d74cee0}, {pos = 0, events = 0, fd = -714906424, user_data = 0x7f4fd569c880 }, {pos = -699892296, events = 32591, fd = 8096, user_data = 0x100007f00000002}, {pos = -714379283, events = 32591, fd = 2, user_data = 0x56042d7b64a0}, {pos = 255, events = 0, fd = 99, user_data = 0x2}, {pos = -713089952, events = 32591, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x56042d74cee0}, {pos = -714376694, events = 32591, fd = 1549556828, user_data = 0x56042d74cee0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 4294901760, fd = -1, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = -1, user_data = 0x775a4f582d737365}, {pos = 168441713, events = 874520608, fd = 822763892, user_data = 0x30340a3033303032}, {pos = 795768178, events = 1919378802, fd = 796095333, user_data = 0x69632f706d742f0a}, {pos = 1937076850, events = 761881389, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xcf4cf088434f8a00}, {pos = -713103904, events = 32591, fd = -328, user_data = 0x0}, {pos = 763065720, events = 22020, fd = 1024, user_data = 0x56042d7b7578}, {pos = -1059373064, events = 32767, fd = -714375521, user_data = 0x2}, {pos = 6, events = 2147483648, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 3, user_data = 0x0}, {pos = 16949, events = 0, fd = -328, user_data = 0x0}, {pos = 762883072, events = 22020, fd = -714133549, user_data = 0x7fffc0db3ff8}, {pos = 732150102, events = 22020, fd = 744589424, user_data = 0x56042ba2a413 }, {pos = 763065520, events = 22020, fd = 762882624, user_data = 0x56042d7b74b0}, {pos = -714385346, events = 32591, fd = 0, user_data = 0x56042ba3c07d }, {pos = 763065520, events = 1, fd = 732152262, user_data = 0x56042d78aa40}, {pos = 1129286144, events = 3477926024, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -714462543, user_data = 0x7f4fd56a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1129286144, user_data = 0x56042d762170}, {pos = 1129286144, events = 3477926024, fd = 11, user_data = 0xcf4cf088434f8a00}, {pos = 0, events = 0, fd = -714755527, user_data = 0x1}, {pos = 727732279, events = 22020, fd = 4194304, user_data = 0x56042ba2a2a7 }, {pos = 762716528, events = 22020, fd = 762882624, user_data = 0x56042d762170}, {pos = 1, events = 0, fd = 0, user_data = 0x56042ba3c07d }, {pos = 762716528, events = 22020, fd = 732152262, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x56042b43d97f }, {pos = 0, events = 0, fd = 725888191, user_data = 0xb}, {pos = 727753428, events = 22020, fd = 741002192, user_data = 0x56042d78b418}} [14:44:16.606] nevents = 1 [14:44:16.606] __func__ = "ServerLoop" [14:44:16.606] #24 0x000056042b60cabe in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x56042d748da0) at ../src/backend/postmaster/postmaster.c:1346 [14:44:16.606] opt = [14:44:16.606] status = [14:44:16.606] userDoption = [14:44:16.606] listen_addr_saved = false [14:44:16.606] output_config_variable = [14:44:16.606] __func__ = "PostmasterMain" [14:44:16.606] #25 0x000056042b44dd5b in main (argc=8, argv=0x56042d748da0) at ../src/backend/main/main.c:197 [14:44:16.606] do_check_root = [14:44:16.644] -e [14:44:16.644] [14:44:16.644] [14:44:16.708] dumping /tmp/cores/postgres-6-26246.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [14:44:16.976] [New LWP 26246] [14:44:16.976] [14:44:16.976] This GDB supports auto-downloading debuginfo from the following URLs: [14:44:16.976] [14:44:16.976] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [14:44:16.976] Debuginfod has been disabled. [14:44:16.976] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [14:44:17.085] [Thread debugging using libthread_db enabled] [14:44:17.085] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [14:44:17.085] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [14:44:17.085] Program terminated with signal SIGABRT, Aborted. [14:44:17.085] #0 0x00007fd0c84a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [14:44:18.071] [14:44:18.071] Thread 1 (Thread 0x7fd0c83d8f00 (LWP 26246)): [14:44:18.071] #0 0x00007fd0c84a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [14:44:18.071] No symbol table info available. [14:44:18.071] #1 0x00007fd0c845afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [14:44:18.071] No symbol table info available. [14:44:18.071] #2 0x00007fd0c8445472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [14:44:18.071] No symbol table info available. [14:44:18.071] #3 0x000055cc8b7314c0 in ExceptionalCondition (conditionName=conditionName@entry=0x55cc8b97eac5 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55cc8b9a2f18 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [14:44:18.071] No locals. [14:44:18.071] #4 0x000055cc8b0e01bf in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffd4d879fb0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffd4d879e4f) at ../src/backend/executor/execTuples.c:1737 [14:44:18.071] No locals. [14:44:18.071] #5 0x000055cc8b0642b9 in ExecIRDeleteTriggers (estate=estate@entry=0x55cc8d354b90, relinfo=relinfo@entry=0x55cc8d355140, slot=slot@entry=0x7ffd4d879fb0) at ../src/backend/commands/trigger.c:2841 [14:44:18.071] trigger = 0x55cc8d3553a0 [14:44:18.071] oldtuple = [14:44:18.071] trigdesc = 0x55cc8d355350 [14:44:18.071] newtuple = 0x0 [14:44:18.071] should_free = false [14:44:18.071] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fd0c3ee34d0, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [14:44:18.071] i = 0 [14:44:18.071] #6 0x000055cc8b13d0bc in ExecMergeMatched (context=0x7ffd4d879fd0, resultRelInfo=resultRelInfo@entry=0x55cc8d355140, tupleid=0x0, oldtuple=0x7ffd4d879fb0, canSetTag=true, matched=matched@entry=0x7ffd4d879f5f) at ../src/backend/executor/nodeModifyTable.c:3043 [14:44:18.071] relaction = 0x55cc8d446830 [14:44:18.071] commandType = CMD_DELETE [14:44:18.071] result = TM_Ok [14:44:18.071] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [14:44:18.071] l__state = [14:44:18.071] mtstate = 0x55cc8d354f30 [14:44:18.071] mergeActions = 0x55cc8d355250 [14:44:18.071] actionStates = 0x55cc8d446df0 [14:44:18.071] newslot = 0x0 [14:44:18.071] rslot = 0x0 [14:44:18.071] estate = 0x55cc8d354b90 [14:44:18.071] econtext = 0x55cc8d445e40 [14:44:18.071] isNull = false [14:44:18.071] epqstate = 0x55cc8d355018 [14:44:18.071] l = [14:44:18.071] __func__ = "ExecMergeMatched" [14:44:18.071] lmerge_matched = [14:44:18.071] #7 0x000055cc8b13dc7a in ExecMerge (context=context@entry=0x7ffd4d879fd0, resultRelInfo=resultRelInfo@entry=0x55cc8d355140, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffd4d879fb0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [14:44:18.071] rslot = 0x0 [14:44:18.071] matched = true [14:44:18.071] #8 0x000055cc8b13f43f in ExecModifyTable (pstate=0x55cc8d354f30) at ../src/backend/executor/nodeModifyTable.c:4133 [14:44:18.071] node = 0x55cc8d354f30 [14:44:18.071] context = {mtstate = 0x55cc8d354f30, epqstate = 0x55cc8d355018, estate = 0x55cc8d354b90, planSlot = 0x55cc8d444228, tmfd = {ctid = {ip_blkid = {bi_hi = 26272, bi_lo = 36164}, ip_posid = 21964}, xmax = 2370486376, cmax = 21964, traversed = 5}, cpUpdateReturningSlot = 0x55cc8d4ac068} [14:44:18.071] estate = 0x55cc8d354b90 [14:44:18.071] operation = CMD_MERGE [14:44:18.071] resultRelInfo = 0x55cc8d355140 [14:44:18.071] subplanstate = 0x55cc8d355870 [14:44:18.071] slot = [14:44:18.071] oldSlot = [14:44:18.071] tuple_ctid = {ip_blkid = {bi_hi = 36164, bi_lo = 21964}, ip_posid = 0} [14:44:18.071] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55cc8d466ab8} [14:44:18.071] oldtuple = 0x7ffd4d879fb0 [14:44:18.071] tupleid = 0x0 [14:44:18.071] __func__ = "ExecModifyTable" [14:44:18.071] #9 0x000055cc8b0d270b in ExecProcNodeFirst (node=0x55cc8d354f30) at ../src/backend/executor/execProcnode.c:469 [14:44:18.071] No locals. [14:44:18.071] #10 0x000055cc8b0bdc09 in ExecProcNode (node=node@entry=0x55cc8d354f30) at ../src/include/executor/executor.h:278 [14:44:18.071] No locals. [14:44:18.071] #11 0x000055cc8b0bddbe in ExecutePlan (estate=estate@entry=0x55cc8d354b90, planstate=0x55cc8d354f30, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55cc8d488c20, execute_once=true) at ../src/backend/executor/execMain.c:1641 [14:44:18.071] slot = [14:44:18.071] current_tuple_count = 0 [14:44:18.071] #12 0x000055cc8b0bfb36 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x55cc8d48da48, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [14:44:18.071] estate = 0x55cc8d354b90 [14:44:18.071] operation = CMD_MERGE [14:44:18.071] dest = 0x55cc8d488c20 [14:44:18.071] sendTuples = [14:44:18.071] oldcontext = 0x55cc8d488910 [14:44:18.071] __func__ = "standard_ExecutorRun" [14:44:18.071] #13 0x00007fd0c5b60813 in pgss_ExecutorRun (queryDesc=0x55cc8d48da48, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1031 [14:44:18.071] _save_exception_stack = 0x7ffd4d87a3b0 [14:44:18.071] _save_context_stack = 0x0 [14:44:18.071] _local_sigjmp_buf = {{__jmpbuf = {94337032051272, -7893237572342722011, 94337030429424, 94337032031264, 0, 0, -7893237572420316635, -7913239762107575771}, __mask_was_saved = 0, __saved_mask = {__val = {2147483647, 94337032031264, 0, 0, 94337001630150, 0, 1, 0, 94336994686530, 94337032051272, 94337014061248, 94337032030480, 140534646970316, 94337032051272, 0, 94337030429424}}}} [14:44:18.071] _do_rethrow = false [14:44:18.071] #14 0x000055cc8b0bfd5c in ExecutorRun (queryDesc=queryDesc@entry=0x55cc8d48da48, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:297 [14:44:18.071] No locals. [14:44:18.071] #15 0x000055cc8b4a52ba in ProcessQuery (plan=plan@entry=0x55cc8d4af260, sourceText=0x55cc8d301af0 "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=0x55cc8d488c20, qc=qc@entry=0x7ffd4d87a310) at ../src/backend/tcop/pquery.c:160 [14:44:18.071] queryDesc = 0x55cc8d48da48 [14:44:18.071] #16 0x000055cc8b4a6eef in PortalRunMulti (portal=portal@entry=0x55cc8d383030, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55cc8d488c20, altdest=0x55cc8bcac180 , qc=qc@entry=0x7ffd4d87a310) at ../src/backend/tcop/pquery.c:1278 [14:44:18.071] pstmt = 0x55cc8d4af260 [14:44:18.071] stmtlist_item__state = [14:44:18.071] active_snapshot_set = true [14:44:18.071] stmtlist_item = 0x55cc8d4af388 [14:44:18.071] #17 0x000055cc8b4a7441 in FillPortalStore (portal=portal@entry=0x55cc8d383030, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [14:44:18.071] treceiver = 0x55cc8d488c20 [14:44:18.071] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [14:44:18.071] __func__ = "FillPortalStore" [14:44:18.071] #18 0x000055cc8b4a7a12 in PortalRun (portal=portal@entry=0x55cc8d383030, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55cc8d4af3c0, altdest=altdest@entry=0x55cc8d4af3c0, qc=0x7ffd4d87a4f0) at ../src/backend/tcop/pquery.c:763 [14:44:18.071] _save_exception_stack = 0x7ffd4d87a5a0 [14:44:18.071] _save_context_stack = 0x0 [14:44:18.071] _local_sigjmp_buf = {{__jmpbuf = {0, -4173122006652366299, 94337030959152, 94337032684640, 94337030959152, 94337032684568, -7893237572353207771, -4173117612747992539}, __mask_was_saved = 0, __saved_mask = {__val = {94337001538530, 94337030429168, 112, 4, 94337001542947, 1300735103, 4, 94337032684568, 112, 163, 94337030959152, 94337032684640, 94337032684616, 94337032684568, 94337001630150, 1}}}} [14:44:18.071] _do_rethrow = [14:44:18.071] result = [14:44:18.071] nprocessed = [14:44:18.071] saveTopTransactionResourceOwner = 0x55cc8d3424f0 [14:44:18.071] saveTopTransactionContext = 0x55cc8d395460 [14:44:18.071] saveActivePortal = 0x0 [14:44:18.071] saveResourceOwner = 0x55cc8d3424f0 [14:44:18.071] savePortalContext = 0x0 [14:44:18.071] saveMemoryContext = 0x55cc8d395460 [14:44:18.071] __func__ = "PortalRun" [14:44:18.071] #19 0x000055cc8b4a0dbf in exec_simple_query (query_string=query_string@entry=0x55cc8d301af0 "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 [14:44:18.071] cmdtaglen = 5 [14:44:18.071] snapshot_set = [14:44:18.071] per_parsetree_context = 0x0 [14:44:18.071] plantree_list = 0x55cc8d4af370 [14:44:18.071] parsetree = 0x55cc8d528418 [14:44:18.071] commandTag = [14:44:18.071] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [14:44:18.071] querytree_list = [14:44:18.071] portal = 0x55cc8d383030 [14:44:18.071] receiver = 0x55cc8d4af3c0 [14:44:18.071] format = 0 [14:44:18.071] cmdtagname = [14:44:18.071] parsetree_item__state = [14:44:18.071] dest = DestRemote [14:44:18.071] oldcontext = 0x55cc8d395460 [14:44:18.071] parsetree_list = 0x55cc8d528448 [14:44:18.071] parsetree_item = 0x55cc8d528460 [14:44:18.071] save_log_statement_stats = false [14:44:18.071] was_logged = true [14:44:18.071] use_implicit_block = false [14:44:18.071] msec_str = "P\247\207M\375\177\000\000\350qu\213\314U\000\000\200\245\207M\375\177\000\000\026\001\000\000\000\000\000" [14:44:18.071] __func__ = "exec_simple_query" [14:44:18.071] #20 0x000055cc8b4a3898 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [14:44:18.071] query_string = 0x55cc8d301af0 "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"... [14:44:18.071] firstchar = [14:44:18.071] input_message = {data = 0x55cc8d301af0 "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} [14:44:18.071] local_sigjmp_buf = {{__jmpbuf = {94337014061240, -4173124517899611611, 4, 140725904189264, 140725904189408, 140725904189412, -7893237572281904603, -4173117610778766811}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 6016, 10, 94337030679008, 0, 168, 94337001543049, 0, 10, 2, 94337014061248, 94337030160016, 94337014055328, 140725904189264, 140725904189408, 140725904189412}}}} [14:44:18.071] send_ready_for_query = false [14:44:18.071] idle_in_transaction_timeout_enabled = false [14:44:18.071] idle_session_timeout_enabled = false [14:44:18.071] __func__ = "PostgresMain" [14:44:18.071] #21 0x000055cc8b4999ba in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [14:44:18.071] bsdata = [14:44:18.071] #22 0x000055cc8b35233a in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffd4d87a6fc "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffd4d87a750) at ../src/backend/postmaster/launch_backend.c:274 [14:44:18.071] pid = [14:44:18.071] #23 0x000055cc8b357de6 in BackendStartup (client_sock=client_sock@entry=0x7ffd4d87a750) at ../src/backend/postmaster/postmaster.c:3415 [14:44:18.071] bn = 0x55cc8d32e798 [14:44:18.071] pid = [14:44:18.071] startup_data = {canAcceptConnections = CAC_OK} [14:44:18.071] __func__ = "BackendStartup" [14:44:18.071] #24 0x000055cc8b358348 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [14:44:18.071] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "C\310\320\177\000\000\240\357\230\311\320\177\000\000\370\247\207M\375\177\000\000\364\247\207M\375\177", '\000' , "b{R\212\314U\000\000\360fN\212\314U\000\000\300\250\207M\375\177\000\000\270\250\207M\375\177\000\000\225[\362\001\000\000\000\000\020\2732\215\314U\000\000,", '\000' , "\314U\000\000wzR\212\314U\000", __ss_align = 140534716397160}, salen = 2}} [14:44:18.071] i = 0 [14:44:18.071] now = [14:44:18.071] last_lockfile_recheck_time = 1725720061 [14:44:18.071] last_touch_time = 1725720061 [14:44:18.071] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 15, user_data = 0x55cc8a527b62}, {pos = -908495256, events = 32720, fd = -920086992, user_data = 0x7fd0c9d972e0}, {pos = 2090263927, events = 0, fd = 1300736320, user_data = 0x7fd0c9d6da48}, {pos = 15, events = 0, fd = -920086992, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7fd0c9d972e0}, {pos = 1300736184, events = 32765, fd = 1300736192, user_data = 0x7fd0c9d97668}, {pos = 0, events = 0, fd = 32768, user_data = 0x7}, {pos = -1926224368, events = 21964, fd = 1, user_data = 0x7ffd4d87ade3}, {pos = -1, events = 0, fd = -935141344, user_data = 0x7fd0c998efa0}, {pos = -1926048856, events = 21964, fd = -1926049144, user_data = 0x55cc8d331931}, {pos = -908640578, events = 32720, fd = 1, user_data = 0x7fd0c9d972e0}, {pos = 438, events = 0, fd = -1949516368, user_data = 0x0}, {pos = 1, events = 0, fd = -1926219472, user_data = 0x7fd0c9d73ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7fd0c842e020}, {pos = -934335040, events = 32720, fd = 16, user_data = 0x7ffd4d87ad20}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -908631622, events = 32720, fd = 0, user_data = 0x7fd0c84aed24 }, {pos = 0, events = 0, fd = -1942654368, user_data = 0x2}, {pos = 7, events = 0, fd = -1926480080, user_data = 0x55cc8b43875e }, {pos = 1702060386, events = 1936158767, fd = 1952410737, user_data = 0x4}, {pos = 8096, events = 196607, fd = -1926219472, user_data = 0x7fd0c9d73ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7fd0c84364c8}, {pos = -934580243, events = 32720, fd = -1942603840, user_data = 0x55cc8d3369a0}, {pos = 255, events = 0, fd = 0, user_data = 0x100007f00000002}, {pos = -933290912, events = 32720, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -1, events = 4294967295, fd = -1, user_data = 0x735f3732305f742f}, {pos = 1634038388, events = 1701994349, fd = 1868785010, user_data = 0x7274735f3732302f}, {pos = -920083136, events = 32720, fd = -920081792, 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 = -1926035152, user_data = 0x7fd0c84b583e}, {pos = -933307936, events = 32720, fd = -934669970, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xabeb0c601075ef00}, {pos = -933304864, events = 32720, fd = -328, user_data = 0x0}, {pos = -1926049464, events = 21964, fd = 2, user_data = 0x8000000000000006}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -1926049664, events = 21964, fd = 3, user_data = 0x0}, {pos = 24157, events = 0, fd = -328, user_data = 0x0}, {pos = -1926219472, events = 21964, fd = -934334509, user_data = 0x7ffd4d87add8}, {pos = -1955034794, events = 21964, fd = -1942595472, user_data = 0x55cc8b777413 }, {pos = -1926049664, events = 21964, fd = -1926227472, user_data = 0x55cc8d32d080}, {pos = -934586306, events = 32720, fd = 0, user_data = 0x55cc8b78907d }, {pos = -1926049664, events = 1, fd = -1955032634, user_data = 0x55cc8d3019f0}, {pos = 276164352, events = 2884308064, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -934663503, user_data = 0x7fd0c84a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 276164352, user_data = 0x55cc8d2d9120}, {pos = 276164352, events = 2884308064, fd = 11, user_data = 0xabeb0c601075ef00}, {pos = 0, events = 0, fd = -934956487, user_data = 0x1}, {pos = -1959452617, events = 21964, fd = 4194304, user_data = 0x55cc8b7772a7 }, {pos = -1926393568, events = 21964, fd = -1926227472, user_data = 0x55cc8d2d9120}, {pos = 1, events = 0, fd = 0, user_data = 0x55cc8b78907d }, {pos = -1926393568, events = 21964, fd = -1955032634, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x55cc8b18a97f }, {pos = 0, events = 0, fd = -1961296705, user_data = 0xb}, {pos = -1959431468, events = 21964, fd = -1946182704, user_data = 0x55cc8d3023a8}} [14:44:18.072] nevents = 1 [14:44:18.072] __func__ = "ServerLoop" [14:44:18.072] #25 0x000055cc8b359abe in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55cc8d2bfd90) at ../src/backend/postmaster/postmaster.c:1346 [14:44:18.072] opt = [14:44:18.072] status = [14:44:18.072] userDoption = [14:44:18.072] listen_addr_saved = false [14:44:18.072] output_config_variable = [14:44:18.072] __func__ = "PostmasterMain" [14:44:18.072] #26 0x000055cc8b19ad5b in main (argc=4, argv=0x55cc8d2bfd90) at ../src/backend/main/main.c:197 [14:44:18.072] do_check_root =