[23:59:47.825] src/tools/ci/cores_backtrace.sh linux /tmp/cores [23:59:48.062] dumping /tmp/cores/postgres-6-26701.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [23:59:48.336] [New LWP 26701] [23:59:48.336] [23:59:48.336] This GDB supports auto-downloading debuginfo from the following URLs: [23:59:48.336] [23:59:48.336] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [23:59:48.336] Debuginfod has been disabled. [23:59:48.336] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [23:59:48.471] [Thread debugging using libthread_db enabled] [23:59:48.471] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [23:59:48.471] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [23:59:48.471] Program terminated with signal SIGABRT, Aborted. [23:59:48.471] #0 0x00007fc0e14a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [23:59:49.519] [23:59:49.519] Thread 1 (Thread 0x7fc0df421f00 (LWP 26701)): [23:59:49.519] #0 0x00007fc0e14a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [23:59:49.519] No symbol table info available. [23:59:49.519] #1 0x00007fc0e145afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [23:59:49.519] No symbol table info available. [23:59:49.519] #2 0x00007fc0e1445472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [23:59:49.519] No symbol table info available. [23:59:49.519] #3 0x000055b479324cb0 in ExceptionalCondition (conditionName=conditionName@entry=0x55b479572d05 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55b4795974c0 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [23:59:49.519] No locals. [23:59:49.519] #4 0x000055b478ccf75c in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffe21472810, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffe214726af) at ../src/backend/executor/execTuples.c:1737 [23:59:49.519] No locals. [23:59:49.519] #5 0x000055b478c532dd in ExecIRDeleteTriggers (estate=estate@entry=0x55b47b35fd30, relinfo=relinfo@entry=0x55b47b3602e0, slot=slot@entry=0x7ffe21472810) at ../src/backend/commands/trigger.c:2842 [23:59:49.519] trigger = 0x55b47b360540 [23:59:49.519] oldtuple = [23:59:49.519] trigdesc = 0x55b47b3604f0 [23:59:49.519] newtuple = 0x0 [23:59:49.519] should_free = false [23:59:49.519] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fc0d5d52678, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [23:59:49.519] i = 0 [23:59:49.519] #6 0x000055b478d2c659 in ExecMergeMatched (context=0x7ffe21472830, resultRelInfo=resultRelInfo@entry=0x55b47b3602e0, tupleid=0x0, oldtuple=0x7ffe21472810, canSetTag=true, matched=matched@entry=0x7ffe214727bf) at ../src/backend/executor/nodeModifyTable.c:3043 [23:59:49.519] relaction = 0x55b47b3acef0 [23:59:49.519] commandType = CMD_DELETE [23:59:49.519] result = TM_Ok [23:59:49.519] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [23:59:49.519] l__state = [23:59:49.519] mtstate = 0x55b47b3600d0 [23:59:49.519] mergeActions = 0x55b47b3603f0 [23:59:49.519] actionStates = 0x55b47b3ad4b0 [23:59:49.519] newslot = 0x0 [23:59:49.519] rslot = 0x0 [23:59:49.519] estate = 0x55b47b35fd30 [23:59:49.519] econtext = 0x55b47b3ac500 [23:59:49.519] isNull = false [23:59:49.519] epqstate = 0x55b47b3601b8 [23:59:49.519] l = [23:59:49.519] __func__ = "ExecMergeMatched" [23:59:49.519] lmerge_matched = [23:59:49.519] #7 0x000055b478d2d217 in ExecMerge (context=context@entry=0x7ffe21472830, resultRelInfo=resultRelInfo@entry=0x55b47b3602e0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffe21472810, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [23:59:49.519] rslot = 0x0 [23:59:49.519] matched = true [23:59:49.519] #8 0x000055b478d2e9dc in ExecModifyTable (pstate=0x55b47b3600d0) at ../src/backend/executor/nodeModifyTable.c:4133 [23:59:49.519] node = 0x55b47b3600d0 [23:59:49.519] context = {mtstate = 0x55b47b3600d0, epqstate = 0x55b47b3601b8, estate = 0x55b47b35fd30, planSlot = 0x55b47b3aa8e8, tmfd = {ctid = {ip_blkid = {bi_hi = 2, bi_lo = 0}, ip_posid = 0}, xmax = 2067874856, cmax = 21940, traversed = 10}, cpUpdateReturningSlot = 0x55b479367c58 } [23:59:49.519] estate = 0x55b47b35fd30 [23:59:49.519] operation = CMD_MERGE [23:59:49.519] resultRelInfo = 0x55b47b3602e0 [23:59:49.519] subplanstate = 0x55b47b360a10 [23:59:49.519] slot = [23:59:49.519] oldSlot = [23:59:49.519] tuple_ctid = {ip_blkid = {bi_hi = 31031, bi_lo = 21940}, ip_posid = 0} [23:59:49.519] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55b47b3bf448} [23:59:49.519] oldtuple = 0x7ffe21472810 [23:59:49.519] tupleid = 0x0 [23:59:49.519] __func__ = "ExecModifyTable" [23:59:49.519] #9 0x000055b478cc1ca8 in ExecProcNodeFirst (node=0x55b47b3600d0) at ../src/backend/executor/execProcnode.c:469 [23:59:49.519] No locals. [23:59:49.519] #10 0x000055b478cad0b3 in ExecProcNode (node=node@entry=0x55b47b3600d0) at ../src/include/executor/executor.h:278 [23:59:49.519] No locals. [23:59:49.519] #11 0x000055b478cad268 in ExecutePlan (estate=estate@entry=0x55b47b35fd30, planstate=0x55b47b3600d0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55b47b3216f0, execute_once=true) at ../src/backend/executor/execMain.c:1653 [23:59:49.519] slot = [23:59:49.519] current_tuple_count = 0 [23:59:49.519] #12 0x000055b478caf023 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x55b47b3e5fb8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:364 [23:59:49.519] estate = 0x55b47b35fd30 [23:59:49.519] operation = CMD_MERGE [23:59:49.519] dest = 0x55b47b3216f0 [23:59:49.519] sendTuples = [23:59:49.519] oldcontext = 0x55b47b3213e0 [23:59:49.519] __func__ = "standard_ExecutorRun" [23:59:49.519] #13 0x000055b478caf2aa in ExecutorRun (queryDesc=queryDesc@entry=0x55b47b3e5fb8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:305 [23:59:49.519] No locals. [23:59:49.519] #14 0x000055b479097c08 in ProcessQuery (plan=plan@entry=0x55b47b416e10, sourceText=0x55b47b256ad0 "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=0x55b47b3216f0, qc=qc@entry=0x7ffe21472a80) at ../src/backend/tcop/pquery.c:160 [23:59:49.519] queryDesc = 0x55b47b3e5fb8 [23:59:49.519] #15 0x000055b47909983d in PortalRunMulti (portal=portal@entry=0x55b47b2d9720, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55b47b3216f0, altdest=0x55b4798a1ee0 , qc=qc@entry=0x7ffe21472a80) at ../src/backend/tcop/pquery.c:1278 [23:59:49.519] pstmt = 0x55b47b416e10 [23:59:49.519] stmtlist_item__state = [23:59:49.519] active_snapshot_set = true [23:59:49.519] stmtlist_item = 0x55b47b416f38 [23:59:49.519] #16 0x000055b479099d8f in FillPortalStore (portal=portal@entry=0x55b47b2d9720, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [23:59:49.519] treceiver = 0x55b47b3216f0 [23:59:49.519] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [23:59:49.519] __func__ = "FillPortalStore" [23:59:49.519] #17 0x000055b47909a360 in PortalRun (portal=portal@entry=0x55b47b2d9720, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55b47b416f70, altdest=altdest@entry=0x55b47b416f70, qc=0x7ffe21472c60) at ../src/backend/tcop/pquery.c:763 [23:59:49.519] _save_exception_stack = 0x7ffe21472d10 [23:59:49.519] _save_context_stack = 0x0 [23:59:49.519] _local_sigjmp_buf = {{__jmpbuf = {0, 552259343950054447, 94233649059616, 94233650786336, 94233649059616, 94233650786264, 5998426358932866095, 552254331213612079}, __mask_was_saved = 0, __saved_mask = {__val = {94233616088152, 94233648523728, 112, 4, 94233616092569, 558312431, 4, 94233650786264, 112, 163, 94233649059616, 94233650786336, 94233650786312, 94233650786264, 94233616179772, 1}}}} [23:59:49.519] _do_rethrow = [23:59:49.519] result = [23:59:49.519] nprocessed = [23:59:49.519] saveTopTransactionResourceOwner = 0x55b47b2968d8 [23:59:49.519] saveTopTransactionContext = 0x55b47b2ea700 [23:59:49.519] saveActivePortal = 0x0 [23:59:49.519] saveResourceOwner = 0x55b47b2968d8 [23:59:49.519] savePortalContext = 0x0 [23:59:49.519] saveMemoryContext = 0x55b47b2ea700 [23:59:49.519] __func__ = "PortalRun" [23:59:49.519] #18 0x000055b47909345d in exec_simple_query (query_string=query_string@entry=0x55b47b256ad0 "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 [23:59:49.519] cmdtaglen = 5 [23:59:49.519] snapshot_set = [23:59:49.519] per_parsetree_context = 0x0 [23:59:49.519] plantree_list = 0x55b47b416f20 [23:59:49.519] parsetree = 0x55b47b47efd8 [23:59:49.519] commandTag = [23:59:49.519] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [23:59:49.519] querytree_list = [23:59:49.519] portal = 0x55b47b2d9720 [23:59:49.519] receiver = 0x55b47b416f70 [23:59:49.519] format = 0 [23:59:49.519] cmdtagname = [23:59:49.519] parsetree_item__state = [23:59:49.519] dest = DestRemote [23:59:49.519] oldcontext = 0x55b47b2ea700 [23:59:49.519] parsetree_list = 0x55b47b47f008 [23:59:49.519] parsetree_item = 0x55b47b47f020 [23:59:49.519] save_log_statement_stats = false [23:59:49.519] was_logged = true [23:59:49.519] use_implicit_block = false [23:59:49.519] msec_str = "\300.G!\376\177\000\000^\2524y\264U\000\000\360,G!\376\177\000\000\026\001\000\000\000\000\000" [23:59:49.519] __func__ = "exec_simple_query" [23:59:49.519] #19 0x000055b4790961e1 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4793 [23:59:49.519] query_string = 0x55b47b256ad0 "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"... [23:59:49.519] firstchar = [23:59:49.519] input_message = {data = 0x55b47b256ad0 "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} [23:59:49.519] local_sigjmp_buf = {{__jmpbuf = {94233628642200, 552255675135722543, 4, 140729456733888, 140729456734032, 140729456734036, 5998426358727345199, 552254329130484783}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94233648254544, 14336, 94233628636288, 94233648781456, 140729456734032, 94233616092117, 0, 9, 2, 94233628642208, 94233648254544, 94233628636288, 140729456733888, 140729456734032, 140729456734036}}}} [23:59:49.519] send_ready_for_query = false [23:59:49.519] idle_in_transaction_timeout_enabled = false [23:59:49.519] idle_session_timeout_enabled = false [23:59:49.519] __func__ = "PostgresMain" [23:59:49.519] #20 0x000055b47908c058 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [23:59:49.519] bsdata = [23:59:49.519] #21 0x000055b478f43a57 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffe21472e6c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe21472ec0) at ../src/backend/postmaster/launch_backend.c:274 [23:59:49.519] pid = [23:59:49.519] #22 0x000055b478f4950b in BackendStartup (client_sock=client_sock@entry=0x7ffe21472ec0) at ../src/backend/postmaster/postmaster.c:3420 [23:59:49.519] bn = 0x55b47b28bb68 [23:59:49.519] pid = [23:59:49.519] startup_data = {canAcceptConnections = CAC_OK} [23:59:49.519] __func__ = "BackendStartup" [23:59:49.519] #23 0x000055b478f49a6d in ServerLoop () at ../src/backend/postmaster/postmaster.c:1653 [23:59:49.519] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\323\342\300\177\000\000>\004\000\000\000\000\000\000\260\227C\341\300\177\000\000\240o\225\342\300\177\000\000x/G!\376\177\000\000t/G!\376\177", '\000' , "\226\356\020x\264U\000\000h\327\fx\264U\000\000@0G!\376\177\000\00080G!\376\177\000\000\225[\362\001\311\367K\260\240\324\303\341\300\177\000\000+\000\000\000\000\000\000", __ss_align = 0}, salen = 2}} [23:59:49.519] i = 0 [23:59:49.519] now = [23:59:49.519] last_lockfile_recheck_time = 1727049361 [23:59:49.519] last_touch_time = 1727049361 [23:59:49.519] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 1382427086, events = 0, fd = 558313600, user_data = 0x0}, {pos = 15, events = 0, fd = 2014375574, user_data = 0x7fc0e2d5f668}, {pos = -507259344, events = 32704, fd = -489295136, user_data = 0x7c96e577}, {pos = 558313664, events = 32766, fd = -489465272, user_data = 0xf}, {pos = -507259344, events = 32704, fd = 1, user_data = 0x0}, {pos = 1, events = 0, fd = -489295136, user_data = 0x7ffe21473038}, {pos = 558313536, events = 32766, fd = -489294232, user_data = 0x0}, {pos = 2066057360, events = 21940, fd = -514921243, user_data = 0x7ffe21473553}, {pos = 1, events = 0, fd = 558313536, user_data = 0xffffffff}, {pos = -515710944, events = 32704, fd = -493523040, user_data = 0x55b47b285408}, {pos = 2066240232, events = 21940, fd = 2066239681, user_data = 0x7fc0e2d3bebe}, {pos = 1, events = 0, fd = -489295136, user_data = 0x1b6}, {pos = 2039225776, events = 21940, fd = 0, user_data = 0x1}, {pos = 2066049768, events = 21940, fd = -489439554, user_data = 0x1}, {pos = 0, events = 0, fd = -515710944, user_data = 0x7fc0e14f2dc0 }, {pos = 16, events = 0, fd = 558314640, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x7fc0e2d3e1ba}, {pos = 0, events = 0, fd = -515183324, user_data = 0x0}, {pos = 2046104864, events = 21940, fd = 2, user_data = 0x7}, {pos = 2065796848, events = 21940, fd = 1952410737, user_data = 0x169}, {pos = 2039225160, events = 21940, fd = 4, user_data = 0x2ffff00001fa0}, {pos = 2066049768, events = 21940, fd = -489439554, user_data = 0x1}, {pos = -515150201, events = 32704, fd = -515676984, user_data = 0x7d0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = -513860512, events = 32704, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x55b47b218ef0}, {pos = -515147254, events = 32704, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 824188960, events = 825307958, 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 = 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 = -513877536, events = 32704, fd = -515239570, user_data = 0x100000400}, {pos = 7, events = 0, fd = 2, user_data = 0xb04bf7c9a6f17100}, {pos = -513874464, events = 32704, fd = -328, user_data = 0x0}, {pos = 2066239912, events = 21940, fd = 1024, user_data = 0x55b47b2851a8}, {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 = 24362, events = 0, fd = -328, user_data = 0x0}, {pos = 2066049768, events = 21940, fd = -514904109, user_data = 0x7ffe21473548}, {pos = 2033697228, events = 21940, fd = 2046167888, user_data = 0x55b47936ac89 }, {pos = 2066239712, events = 21940, fd = 2066049488, user_data = 0x55b47b2850e0}, {pos = -515156245, events = 32704, fd = 0, user_data = 0x55b47937c8f3 }, {pos = 2066239712, events = 1, fd = 2033699388, user_data = 0x55b47b2569d0}, {pos = -1494126336, events = 2957768649, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -515233103, user_data = 0x7fc0e14a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1494126336, user_data = 0x55b47b22e100}, {pos = -1494126336, events = 2957768649, fd = 11, user_data = 0xb04bf7c9a6f17100}, {pos = 0, events = 0, fd = -515526087, user_data = 0x1}, {pos = 2029270868, events = 21940, fd = 4194304, user_data = 0x55b47936ab1d }, {pos = 2065883392, events = 21940, fd = 2066049488, user_data = 0x55b47b22e100}, {pos = 1, events = 0, fd = 0, user_data = 0x55b47937c8f3 }, {pos = 2065883392, events = 21940, fd = 2033699388, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x55b478d79f0b }, {pos = 0, events = 0, fd = 2027418187, user_data = 0xb}, {pos = 2029292025, events = 21940, fd = 2042569072, user_data = 0x55b47b257378}} [23:59:49.519] nevents = 1 [23:59:49.519] __func__ = "ServerLoop" [23:59:49.519] #24 0x000055b478f4b1f0 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55b47b214d60) at ../src/backend/postmaster/postmaster.c:1351 [23:59:49.519] opt = [23:59:49.519] status = [23:59:49.519] userDoption = [23:59:49.519] listen_addr_saved = false [23:59:49.519] output_config_variable = [23:59:49.519] __func__ = "PostmasterMain" [23:59:49.519] #25 0x000055b478d8a2e7 in main (argc=4, argv=0x55b47b214d60) at ../src/backend/main/main.c:197 [23:59:49.519] do_check_root = [23:59:49.558] -e [23:59:49.558] [23:59:49.558] [23:59:49.622] dumping /tmp/cores/postgres-6-25961.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [23:59:49.884] [New LWP 25961] [23:59:49.884] [23:59:49.884] This GDB supports auto-downloading debuginfo from the following URLs: [23:59:49.884] [23:59:49.884] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [23:59:49.884] Debuginfod has been disabled. [23:59:49.884] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [23:59:49.996] [Thread debugging using libthread_db enabled] [23:59:49.996] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [23:59:49.996] Core was generated by `postgres: postgres regression [local] MERGE '. [23:59:49.996] Program terminated with signal SIGABRT, Aborted. [23:59:49.996] #0 0x00007f12cb2a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [23:59:51.022] [23:59:51.022] Thread 1 (Thread 0x7f12cb1d2f00 (LWP 25961)): [23:59:51.022] #0 0x00007f12cb2a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [23:59:51.022] No symbol table info available. [23:59:51.022] #1 0x00007f12cb25afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [23:59:51.022] No symbol table info available. [23:59:51.022] #2 0x00007f12cb245472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [23:59:51.022] No symbol table info available. [23:59:51.022] #3 0x0000560d8aab1cb0 in ExceptionalCondition (conditionName=conditionName@entry=0x560d8acffd05 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x560d8ad244c0 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [23:59:51.022] No locals. [23:59:51.022] #4 0x0000560d8a45c75c in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffc70fc48f0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffc70fc478f) at ../src/backend/executor/execTuples.c:1737 [23:59:51.022] No locals. [23:59:51.022] #5 0x0000560d8a3e02dd in ExecIRDeleteTriggers (estate=estate@entry=0x560d8c5be790, relinfo=relinfo@entry=0x560d8c5bed40, slot=slot@entry=0x7ffc70fc48f0) at ../src/backend/commands/trigger.c:2842 [23:59:51.022] trigger = 0x560d8c5befa0 [23:59:51.022] oldtuple = [23:59:51.022] trigdesc = 0x560d8c5bef50 [23:59:51.022] newtuple = 0x0 [23:59:51.022] should_free = false [23:59:51.022] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f12bf8df618, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [23:59:51.022] i = 0 [23:59:51.022] #6 0x0000560d8a4b9659 in ExecMergeMatched (context=0x7ffc70fc4910, resultRelInfo=resultRelInfo@entry=0x560d8c5bed40, tupleid=0x0, oldtuple=0x7ffc70fc48f0, canSetTag=true, matched=matched@entry=0x7ffc70fc489f) at ../src/backend/executor/nodeModifyTable.c:3043 [23:59:51.022] relaction = 0x560d8c643aa0 [23:59:51.022] commandType = CMD_DELETE [23:59:51.022] result = TM_Ok [23:59:51.022] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [23:59:51.022] l__state = [23:59:51.022] mtstate = 0x560d8c5beb30 [23:59:51.022] mergeActions = 0x560d8c5bee50 [23:59:51.022] actionStates = 0x560d8c644060 [23:59:51.022] newslot = 0x0 [23:59:51.022] rslot = 0x0 [23:59:51.022] estate = 0x560d8c5be790 [23:59:51.022] econtext = 0x560d8c6430b0 [23:59:51.022] isNull = false [23:59:51.022] epqstate = 0x560d8c5bec18 [23:59:51.022] l = [23:59:51.022] __func__ = "ExecMergeMatched" [23:59:51.022] lmerge_matched = [23:59:51.022] #7 0x0000560d8a4ba217 in ExecMerge (context=context@entry=0x7ffc70fc4910, resultRelInfo=resultRelInfo@entry=0x560d8c5bed40, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffc70fc48f0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [23:59:51.022] rslot = 0x0 [23:59:51.022] matched = true [23:59:51.022] #8 0x0000560d8a4bb9dc in ExecModifyTable (pstate=0x560d8c5beb30) at ../src/backend/executor/nodeModifyTable.c:4133 [23:59:51.022] node = 0x560d8c5beb30 [23:59:51.022] context = {mtstate = 0x560d8c5beb30, epqstate = 0x560d8c5bec18, estate = 0x560d8c5be790, planSlot = 0x560d8c641498, tmfd = {ctid = {ip_blkid = {bi_hi = 2, bi_lo = 0}, ip_posid = 0}, xmax = 2355552104, cmax = 22029, traversed = 10}, cpUpdateReturningSlot = 0x560d8aaf4c58 } [23:59:51.022] estate = 0x560d8c5be790 [23:59:51.022] operation = CMD_MERGE [23:59:51.022] resultRelInfo = 0x560d8c5bed40 [23:59:51.022] subplanstate = 0x560d8c5bf470 [23:59:51.022] slot = [23:59:51.022] oldSlot = [23:59:51.022] tuple_ctid = {ip_blkid = {bi_hi = 35504, bi_lo = 22029}, ip_posid = 0} [23:59:51.022] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x560d8c613368} [23:59:51.022] oldtuple = 0x7ffc70fc48f0 [23:59:51.022] tupleid = 0x0 [23:59:51.022] __func__ = "ExecModifyTable" [23:59:51.022] #9 0x0000560d8a44eca8 in ExecProcNodeFirst (node=0x560d8c5beb30) at ../src/backend/executor/execProcnode.c:469 [23:59:51.022] No locals. [23:59:51.022] #10 0x0000560d8a43a0b3 in ExecProcNode (node=node@entry=0x560d8c5beb30) at ../src/include/executor/executor.h:278 [23:59:51.022] No locals. [23:59:51.022] #11 0x0000560d8a43a268 in ExecutePlan (estate=estate@entry=0x560d8c5be790, planstate=0x560d8c5beb30, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x560d8c6358d0, execute_once=true) at ../src/backend/executor/execMain.c:1653 [23:59:51.022] slot = [23:59:51.022] current_tuple_count = 0 [23:59:51.022] #12 0x0000560d8a43c023 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x560d8c63a6f8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:364 [23:59:51.022] estate = 0x560d8c5be790 [23:59:51.022] operation = CMD_MERGE [23:59:51.022] dest = 0x560d8c6358d0 [23:59:51.022] sendTuples = [23:59:51.022] oldcontext = 0x560d8c6355c0 [23:59:51.022] __func__ = "standard_ExecutorRun" [23:59:51.022] #13 0x0000560d8a43c2aa in ExecutorRun (queryDesc=queryDesc@entry=0x560d8c63a6f8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:305 [23:59:51.022] No locals. [23:59:51.022] #14 0x0000560d8a824c08 in ProcessQuery (plan=plan@entry=0x560d8c670950, sourceText=0x560d8c4aab50 "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=0x560d8c6358d0, qc=qc@entry=0x7ffc70fc4b60) at ../src/backend/tcop/pquery.c:160 [23:59:51.022] queryDesc = 0x560d8c63a6f8 [23:59:51.022] #15 0x0000560d8a82683d in PortalRunMulti (portal=portal@entry=0x560d8c52d0f0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x560d8c6358d0, altdest=0x560d8b02eee0 , qc=qc@entry=0x7ffc70fc4b60) at ../src/backend/tcop/pquery.c:1278 [23:59:51.022] pstmt = 0x560d8c670950 [23:59:51.022] stmtlist_item__state = [23:59:51.022] active_snapshot_set = true [23:59:51.022] stmtlist_item = 0x560d8c670a78 [23:59:51.022] #16 0x0000560d8a826d8f in FillPortalStore (portal=portal@entry=0x560d8c52d0f0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [23:59:51.022] treceiver = 0x560d8c6358d0 [23:59:51.022] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [23:59:51.022] __func__ = "FillPortalStore" [23:59:51.022] #17 0x0000560d8a827360 in PortalRun (portal=portal@entry=0x560d8c52d0f0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x560d8c670ab0, altdest=altdest@entry=0x560d8c670ab0, qc=0x7ffc70fc4d40) at ../src/backend/tcop/pquery.c:763 [23:59:51.022] _save_exception_stack = 0x7ffc70fc4df0 [23:59:51.022] _save_context_stack = 0x0 [23:59:51.022] _local_sigjmp_buf = {{__jmpbuf = {0, -7961404412924185376, 94616188801264, 94616190494464, 94616188801264, 94616190494392, -4440388804214442784, -7961408575722670880}, __mask_was_saved = 0, __saved_mask = {__val = {94616161307736, 94616188267088, 112, 4, 94616161312153, 1895582927, 4, 94616190494392, 112, 163, 94616188801264, 94616190494464, 94616190494440, 94616190494392, 94616161399356, 1}}}} [23:59:51.022] _do_rethrow = [23:59:51.022] result = [23:59:51.022] nprocessed = [23:59:51.022] saveTopTransactionResourceOwner = 0x560d8c4e9da8 [23:59:51.022] saveTopTransactionContext = 0x560d8c53ed00 [23:59:51.022] saveActivePortal = 0x0 [23:59:51.022] saveResourceOwner = 0x560d8c4e9da8 [23:59:51.022] savePortalContext = 0x0 [23:59:51.022] saveMemoryContext = 0x560d8c53ed00 [23:59:51.022] __func__ = "PortalRun" [23:59:51.022] #18 0x0000560d8a82045d in exec_simple_query (query_string=query_string@entry=0x560d8c4aab50 "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 [23:59:51.022] cmdtaglen = 5 [23:59:51.022] snapshot_set = [23:59:51.022] per_parsetree_context = 0x0 [23:59:51.022] plantree_list = 0x560d8c670a60 [23:59:51.022] parsetree = 0x560d8c6ca6b8 [23:59:51.022] commandTag = [23:59:51.022] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [23:59:51.022] querytree_list = [23:59:51.022] portal = 0x560d8c52d0f0 [23:59:51.022] receiver = 0x560d8c670ab0 [23:59:51.022] format = 0 [23:59:51.022] cmdtagname = [23:59:51.022] parsetree_item__state = [23:59:51.022] dest = DestRemote [23:59:51.022] oldcontext = 0x560d8c53ed00 [23:59:51.022] parsetree_list = 0x560d8c6ca6e8 [23:59:51.022] parsetree_item = 0x560d8c6ca700 [23:59:51.022] save_log_statement_stats = false [23:59:51.022] was_logged = false [23:59:51.022] use_implicit_block = false [23:59:51.022] msec_str = "\240O\374p\374\177\000\000^z\255\212\rV\000\000\320M\374p\374\177\000\000\026\001\000\000\000\000\000" [23:59:51.022] __func__ = "exec_simple_query" [23:59:51.022] #19 0x0000560d8a8231e1 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4793 [23:59:51.022] query_string = 0x560d8c4aab50 "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"... [23:59:51.022] firstchar = [23:59:51.022] input_message = {data = 0x560d8c4aab50 "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} [23:59:51.022] local_sigjmp_buf = {{__jmpbuf = {94616173861784, -7961406683386923808, 4, 140722204069792, 140722204069936, 140722204069940, -4440388804143139616, -7961408578066369312}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94616187997808, 15616, 94616173855872, 94616188521824, 140722204069936, 94616161311701, 0, 9, 2, 94616173861792, 94616187997808, 94616173855872, 140722204069792, 140722204069936, 140722204069940}}}} [23:59:51.022] send_ready_for_query = false [23:59:51.022] idle_in_transaction_timeout_enabled = false [23:59:51.022] idle_session_timeout_enabled = false [23:59:51.022] __func__ = "PostgresMain" [23:59:51.022] #20 0x0000560d8a819058 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [23:59:51.022] bsdata = [23:59:51.022] #21 0x0000560d8a6d0a57 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffc70fc4f4c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffc70fc4fa0) at ../src/backend/postmaster/launch_backend.c:274 [23:59:51.022] pid = [23:59:51.022] #22 0x0000560d8a6d650b in BackendStartup (client_sock=client_sock@entry=0x7ffc70fc4fa0) at ../src/backend/postmaster/postmaster.c:3420 [23:59:51.022] bn = 0x560d8c4d32a8 [23:59:51.022] pid = [23:59:51.022] startup_data = {canAcceptConnections = CAC_OK} [23:59:51.022] __func__ = "BackendStartup" [23:59:51.022] #23 0x0000560d8a6d6a6d in ServerLoop () at ../src/backend/postmaster/postmaster.c:1653 [23:59:51.022] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "\374p\374\177\000\0004P\374p\374\177", '\000' , "\226\276\211\211\rV\000\000h\247\205\211\rV\000\000\000Q\374p\374\177\000\000\370P\374p\374\177\000\000\225[\362\001\000\000\000\000\240\324\036\313\022\177\000\000+", '\000' , "\253\275\211\211\rV\000\000hֿ\314\022\177\000\0000\326\036\313\022\177\000", __ss_align = 139718721262304}, salen = 2}} [23:59:51.022] i = 0 [23:59:51.022] now = [23:59:51.022] last_lockfile_recheck_time = 1727049359 [23:59:51.022] last_touch_time = 1727049359 [23:59:51.022] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = -1987461482, events = 22029, fd = -859842968, user_data = 0x7f12cb1ed630}, {pos = -859843872, events = 32530, fd = 2090263927, user_data = 0x7ffc70fc5180}, {pos = -860014008, events = 32530, fd = 15, user_data = 0x7f12cb1ed630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = -859843872, events = 32530, fd = 1895583992, user_data = 0x7ffc70fc5100}, {pos = -859842968, events = 32530, fd = 0, user_data = 0x560d8c4aac10}, {pos = -1967901531, events = 22029, fd = 32768, user_data = 0x1}, {pos = -1941255856, events = 22029, fd = -1, user_data = 0x7f12cb22e020}, {pos = -864788576, events = 32530, fd = -1941080088, user_data = 0x560d8c4d76c8}, {pos = -1941071647, events = 22029, fd = -859988290, user_data = 0x1}, {pos = -859843872, events = 32530, fd = 438, user_data = 0x560d8b04edb0 }, {pos = 0, events = 0, fd = 1, user_data = 0x560d8c4aac10}, {pos = -859988290, events = 32530, fd = 1, user_data = 0x0}, {pos = -886906848, events = 32530, fd = -886100544, user_data = 0x10}, {pos = 1895585136, events = 32764, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -859979334, user_data = 0x0}, {pos = -886379228, events = 32530, fd = 0, user_data = 0x560d8b6de520 }, {pos = 2, events = 0, fd = 7, user_data = 0x560d8c46cf10}, {pos = -1971637121, events = 22029, fd = -1941054085, user_data = 0x560d8a7b70b8 }, {pos = 1702060386, events = 1936158767, fd = 8096, user_data = 0x560d8c4aac10}, {pos = -859988290, events = 32530, fd = 1, user_data = 0x0}, {pos = -886872888, events = 32530, fd = -886454144, user_data = 0x423}, {pos = -886345747, events = 32530, fd = 2, user_data = 0x560d8c4d64b0}, {pos = 255, events = 0, fd = 99, user_data = 0x0}, {pos = -885056416, events = 32530, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = -1, user_data = 0x6e5976552d737365}, {pos = 168448097, events = 824188960, fd = 822763892, user_data = 0x30340a3935333934}, {pos = 795768178, events = 1919378802, fd = 796095333, user_data = 0x69632f706d742f0a}, {pos = 1937076850, events = 761881389, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xa}, {pos = -1968223144, events = 22029, fd = -1941077808, user_data = 0x7f12cb2b56eb}, {pos = -885073440, events = 32530, fd = -886435474, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xe2bea17fb92cc00}, {pos = -885070368, events = 32530, 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 = -1941080696, user_data = 0x560d8aaf551b }, {pos = -1941080896, events = 22029, fd = 3, user_data = 0x0}, {pos = 23781, events = 0, fd = -328, user_data = 0x0}, {pos = -1941263344, events = 22029, fd = -886100013, user_data = 0x7ffc70fc5628}, {pos = -1968139828, events = 22029, fd = -1955669168, user_data = 0x560d8aaf7c89 }, {pos = -1941080896, events = 22029, fd = -1941263792, user_data = 0x560d8c4d74c0}, {pos = -886351810, events = 32530, fd = 0, user_data = 0x560d8ab098f3 }, {pos = -1941080896, events = 1, fd = -1968137668, user_data = 0x560d8c4aaa50}, {pos = -74265600, events = 237758999, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -886429007, user_data = 0x7f12cb2a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -74265600, user_data = 0x560d8c482180}, {pos = -74265600, events = 237758999, fd = 11, user_data = 0xe2bea17fb92cc00}, {pos = 0, events = 0, fd = -886721991, user_data = 0x1}, {pos = -1972566188, events = 22029, fd = 4194304, user_data = 0x560d8aaf7b1d }, {pos = -1941429888, events = 22029, fd = -1941263792, user_data = 0x560d8c482180}, {pos = 1, events = 0, fd = 0, user_data = 0x560d8ab098f3 }, {pos = -1941429888, events = 22029, fd = -1968137668, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x560d8a506f0b }, {pos = 0, events = 0, fd = -1974418869, user_data = 0xb}, {pos = -1972545031, events = 22029, fd = -1959267984, user_data = 0x560d8c4ab428}} [23:59:51.022] nevents = 1 [23:59:51.022] __func__ = "ServerLoop" [23:59:51.022] #24 0x0000560d8a6d81f0 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x560d8c468dd0) at ../src/backend/postmaster/postmaster.c:1351 [23:59:51.022] opt = [23:59:51.022] status = [23:59:51.022] userDoption = [23:59:51.022] listen_addr_saved = false [23:59:51.022] output_config_variable = [23:59:51.022] __func__ = "PostmasterMain" [23:59:51.022] #25 0x0000560d8a5172e7 in main (argc=8, argv=0x560d8c468dd0) at ../src/backend/main/main.c:197 [23:59:51.022] do_check_root = [23:59:51.062] -e [23:59:51.062] [23:59:51.062] [23:59:51.128] dumping /tmp/cores/postgres-6-33073.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [23:59:51.401] [New LWP 33073] [23:59:51.401] [23:59:51.401] This GDB supports auto-downloading debuginfo from the following URLs: [23:59:51.401] [23:59:51.401] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [23:59:51.401] Debuginfod has been disabled. [23:59:51.401] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [23:59:51.518] [Thread debugging using libthread_db enabled] [23:59:51.518] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [23:59:51.518] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [23:59:51.518] Program terminated with signal SIGABRT, Aborted. [23:59:51.518] #0 0x00007f84f40a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [23:59:52.552] [23:59:52.552] Thread 1 (Thread 0x7f84f2038f00 (LWP 33073)): [23:59:52.552] #0 0x00007f84f40a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [23:59:52.552] No symbol table info available. [23:59:52.552] #1 0x00007f84f405afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [23:59:52.552] No symbol table info available. [23:59:52.552] #2 0x00007f84f4045472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [23:59:52.552] No symbol table info available. [23:59:52.552] #3 0x0000564454d18cb0 in ExceptionalCondition (conditionName=conditionName@entry=0x564454f66d05 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x564454f8b4c0 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [23:59:52.552] No locals. [23:59:52.552] #4 0x00005644546c375c in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffc04e89650, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffc04e894ef) at ../src/backend/executor/execTuples.c:1737 [23:59:52.552] No locals. [23:59:52.552] #5 0x00005644546472dd in ExecIRDeleteTriggers (estate=estate@entry=0x564456d1e6e0, relinfo=relinfo@entry=0x564456d1ec90, slot=slot@entry=0x7ffc04e89650) at ../src/backend/commands/trigger.c:2842 [23:59:52.552] trigger = 0x564456d1eef0 [23:59:52.552] oldtuple = [23:59:52.552] trigdesc = 0x564456d1eea0 [23:59:52.552] newtuple = 0x0 [23:59:52.552] should_free = false [23:59:52.552] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f84efaf2ca0, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [23:59:52.552] i = 0 [23:59:52.552] #6 0x0000564454720659 in ExecMergeMatched (context=0x7ffc04e89670, resultRelInfo=resultRelInfo@entry=0x564456d1ec90, tupleid=0x0, oldtuple=0x7ffc04e89650, canSetTag=true, matched=matched@entry=0x7ffc04e895ff) at ../src/backend/executor/nodeModifyTable.c:3043 [23:59:52.552] relaction = 0x564456db98f0 [23:59:52.552] commandType = CMD_DELETE [23:59:52.552] result = TM_Ok [23:59:52.552] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [23:59:52.552] l__state = [23:59:52.552] mtstate = 0x564456d1ea80 [23:59:52.552] mergeActions = 0x564456d1eda0 [23:59:52.552] actionStates = 0x564456db9eb0 [23:59:52.552] newslot = 0x0 [23:59:52.552] rslot = 0x0 [23:59:52.552] estate = 0x564456d1e6e0 [23:59:52.552] econtext = 0x564456db8f00 [23:59:52.552] isNull = false [23:59:52.552] epqstate = 0x564456d1eb68 [23:59:52.552] l = [23:59:52.552] __func__ = "ExecMergeMatched" [23:59:52.552] lmerge_matched = [23:59:52.552] #7 0x0000564454721217 in ExecMerge (context=context@entry=0x7ffc04e89670, resultRelInfo=resultRelInfo@entry=0x564456d1ec90, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffc04e89650, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [23:59:52.552] rslot = 0x0 [23:59:52.552] matched = true [23:59:52.552] #8 0x00005644547229dc in ExecModifyTable (pstate=0x564456d1ea80) at ../src/backend/executor/nodeModifyTable.c:4133 [23:59:52.552] node = 0x564456d1ea80 [23:59:52.552] context = {mtstate = 0x564456d1ea80, epqstate = 0x564456d1eb68, estate = 0x564456d1e6e0, planSlot = 0x564456db72e8, tmfd = {ctid = {ip_blkid = {bi_hi = 1, bi_lo = 0}, ip_posid = 0}, xmax = 4021243648, cmax = 32644, traversed = 136}, cpUpdateReturningSlot = 0x564456d1eb68} [23:59:52.552] estate = 0x564456d1e6e0 [23:59:52.552] operation = CMD_MERGE [23:59:52.552] resultRelInfo = 0x564456d1ec90 [23:59:52.552] subplanstate = 0x564456d1f3c0 [23:59:52.552] slot = [23:59:52.552] oldSlot = [23:59:52.552] tuple_ctid = {ip_blkid = {bi_hi = 21618, bi_lo = 22084}, ip_posid = 0} [23:59:52.552] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x564456d79dd8} [23:59:52.552] oldtuple = 0x7ffc04e89650 [23:59:52.552] tupleid = 0x0 [23:59:52.552] __func__ = "ExecModifyTable" [23:59:52.552] #9 0x00005644546b5ca8 in ExecProcNodeFirst (node=0x564456d1ea80) at ../src/backend/executor/execProcnode.c:469 [23:59:52.552] No locals. [23:59:52.552] #10 0x00005644546a10b3 in ExecProcNode (node=node@entry=0x564456d1ea80) at ../src/include/executor/executor.h:278 [23:59:52.552] No locals. [23:59:52.552] #11 0x00005644546a1268 in ExecutePlan (estate=estate@entry=0x564456d1e6e0, planstate=0x564456d1ea80, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x564456d956f0, execute_once=true) at ../src/backend/executor/execMain.c:1653 [23:59:52.552] slot = [23:59:52.552] current_tuple_count = 0 [23:59:52.552] #12 0x00005644546a3023 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x564456d9d848, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:364 [23:59:52.552] estate = 0x564456d1e6e0 [23:59:52.552] operation = CMD_MERGE [23:59:52.552] dest = 0x564456d956f0 [23:59:52.552] sendTuples = [23:59:52.552] oldcontext = 0x564456d953e0 [23:59:52.552] __func__ = "standard_ExecutorRun" [23:59:52.552] #13 0x00007f84f2024813 in pgss_ExecutorRun (queryDesc=0x564456d9d848, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1024 [23:59:52.552] _save_exception_stack = 0x7ffc04e89a70 [23:59:52.552] _save_context_stack = 0x0 [23:59:52.552] _local_sigjmp_buf = {{__jmpbuf = {94851514882120, 7290771726289174720, 0, 1, 0, 0, -7289621831740325696, -7338648280514592576}, __mask_was_saved = 0, __saved_mask = {__val = {6, 94851514942344, 400, 0, 2147483647, 94851514849008, 0, 0, 94851481150012, 0, 1, 0, 94851474189279, 94851514882120, 94851493612448, 94851514848224}}}} [23:59:52.552] _do_rethrow = false [23:59:52.552] #14 0x00005644546a326c in ExecutorRun (queryDesc=queryDesc@entry=0x564456d9d848, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:303 [23:59:52.552] No locals. [23:59:52.552] #15 0x0000564454a8bc08 in ProcessQuery (plan=plan@entry=0x564456daf290, sourceText=0x564456c0daf0 "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=0x564456d956f0, qc=qc@entry=0x7ffc04e899d0) at ../src/backend/tcop/pquery.c:160 [23:59:52.552] queryDesc = 0x564456d9d848 [23:59:52.552] #16 0x0000564454a8d83d in PortalRunMulti (portal=portal@entry=0x564456c8f030, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x564456d956f0, altdest=0x564455295ee0 , qc=qc@entry=0x7ffc04e899d0) at ../src/backend/tcop/pquery.c:1278 [23:59:52.552] pstmt = 0x564456daf290 [23:59:52.552] stmtlist_item__state = [23:59:52.552] active_snapshot_set = true [23:59:52.552] stmtlist_item = 0x564456daf3b8 [23:59:52.552] #17 0x0000564454a8dd8f in FillPortalStore (portal=portal@entry=0x564456c8f030, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [23:59:52.552] treceiver = 0x564456d956f0 [23:59:52.552] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [23:59:52.552] __func__ = "FillPortalStore" [23:59:52.552] #18 0x0000564454a8e360 in PortalRun (portal=portal@entry=0x564456c8f030, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x564456daf3f0, altdest=altdest@entry=0x564456daf3f0, qc=0x7ffc04e89bb0) at ../src/backend/tcop/pquery.c:763 [23:59:52.552] _save_exception_stack = 0x7ffc04e89c60 [23:59:52.552] _save_context_stack = 0x0 [23:59:52.552] _local_sigjmp_buf = {{__jmpbuf = {0, -3916253760886701888, 94851513774128, 94851515616784, 94851513774128, 94851515616712, -7289621831543193408, -3916250340605853504}, __mask_was_saved = 0, __saved_mask = {__val = {94851481058392, 94851513244144, 112, 4, 94851481062809, 82352959, 4, 94851515616712, 112, 163, 94851513774128, 94851515616784, 94851515616760, 94851515616712, 94851481150012, 1}}}} [23:59:52.552] _do_rethrow = [23:59:52.552] result = [23:59:52.552] nprocessed = [23:59:52.552] saveTopTransactionResourceOwner = 0x564456c4e508 [23:59:52.552] saveTopTransactionContext = 0x564456ca1460 [23:59:52.552] saveActivePortal = 0x0 [23:59:52.552] saveResourceOwner = 0x564456c4e508 [23:59:52.552] savePortalContext = 0x0 [23:59:52.552] saveMemoryContext = 0x564456ca1460 [23:59:52.552] __func__ = "PortalRun" [23:59:52.552] #19 0x0000564454a8745d in exec_simple_query (query_string=query_string@entry=0x564456c0daf0 "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 [23:59:52.552] cmdtaglen = 5 [23:59:52.552] snapshot_set = [23:59:52.552] per_parsetree_context = 0x0 [23:59:52.552] plantree_list = 0x564456daf3a0 [23:59:52.552] parsetree = 0x564456e50dc8 [23:59:52.552] commandTag = [23:59:52.552] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [23:59:52.552] querytree_list = [23:59:52.552] portal = 0x564456c8f030 [23:59:52.552] receiver = 0x564456daf3f0 [23:59:52.552] format = 0 [23:59:52.552] cmdtagname = [23:59:52.552] parsetree_item__state = [23:59:52.552] dest = DestRemote [23:59:52.552] oldcontext = 0x564456ca1460 [23:59:52.552] parsetree_list = 0x564456e50df8 [23:59:52.552] parsetree_item = 0x564456e50e10 [23:59:52.552] save_log_statement_stats = false [23:59:52.552] was_logged = true [23:59:52.552] use_implicit_block = false [23:59:52.552] msec_str = "\020\236\350\004\374\177\000\000^\352\323TDV\000\000@\234\350\004\374\177\000\000\026\001\000\000\000\000\000" [23:59:52.552] __func__ = "exec_simple_query" [23:59:52.552] #20 0x0000564454a8a1e1 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4793 [23:59:52.552] query_string = 0x564456c0daf0 "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"... [23:59:52.552] firstchar = [23:59:52.552] input_message = {data = 0x564456c0daf0 "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} [23:59:52.552] local_sigjmp_buf = {{__jmpbuf = {94851493612440, -3916252149458173760, 4, 140720390839824, 140720390839968, 140720390839972, -7289621831480278848, -3916250338663235392}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 6016, 10, 94851513493984, 0, 168, 94851481062911, 0, 10, 2, 94851493612448, 94851512974992, 94851493606528, 140720390839824, 140720390839968, 140720390839972}}}} [23:59:52.552] send_ready_for_query = false [23:59:52.552] idle_in_transaction_timeout_enabled = false [23:59:52.552] idle_session_timeout_enabled = false [23:59:52.552] __func__ = "PostgresMain" [23:59:52.552] #21 0x0000564454a80058 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [23:59:52.552] bsdata = [23:59:52.552] #22 0x0000564454937a57 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffc04e89dbc "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffc04e89e10) at ../src/backend/postmaster/launch_backend.c:274 [23:59:52.552] pid = [23:59:52.552] #23 0x000056445493d50b in BackendStartup (client_sock=client_sock@entry=0x7ffc04e89e10) at ../src/backend/postmaster/postmaster.c:3420 [23:59:52.552] bn = 0x564456c3a5b8 [23:59:52.552] pid = [23:59:52.552] startup_data = {canAcceptConnections = CAC_OK} [23:59:52.552] __func__ = "BackendStartup" [23:59:52.552] #24 0x000056445493da6d in ServerLoop () at ../src/backend/postmaster/postmaster.c:1653 [23:59:52.552] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\003\364\204\177\000\000\240_Y\365\204\177\000\000\270\236\350\004\374\177\000\000\264\236\350\004\374\177", '\000' , "\226.\260SDV\000\000h\027\254SDV\000\000\200\237\350\004\374\177\000\000x\237\350\004\374\177\000\000\225[\362\001\000\000\000\000\020{\303VDV\000\000,", '\000' , "DV\000\000\253-\260SDV\000", __ss_align = 140209032914536}, salen = 2}} [23:59:52.552] i = 0 [23:59:52.552] now = [23:59:52.552] last_lockfile_recheck_time = 1727049390 [23:59:52.552] last_touch_time = 1727049390 [23:59:52.552] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 15, user_data = 0x564453b02e96}, {pos = -174463384, events = 32644, fd = -179124688, user_data = 0x7f84f599e2e0}, {pos = 2090263927, events = 0, fd = 82354176, user_data = 0x7f84f5974a48}, {pos = 15, events = 0, fd = -179124688, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7f84f599e2e0}, {pos = 82354040, events = 32764, fd = 82354048, user_data = 0x7f84f599e668}, {pos = 0, events = 0, fd = 32768, user_data = 0x7}, {pos = 1455482384, events = 22084, fd = 1, user_data = 0x7ffc04e8a4a3}, {pos = -1, events = 0, fd = -201138144, user_data = 0x7f84f5595fa0}, {pos = 1455657896, events = 22084, fd = 1455657608, user_data = 0x564456c3d931}, {pos = -174608706, events = 32644, fd = 1, user_data = 0x7f84f599e2e0}, {pos = 438, events = 0, fd = 1428905392, user_data = 0x0}, {pos = 1, events = 0, fd = 1455487280, user_data = 0x7f84f597aebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f84f402e020}, {pos = -200331840, events = 32644, fd = 16, user_data = 0x7ffc04e8a3e0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -174599750, events = 32644, fd = 0, user_data = 0x7f84f40aed24 }, {pos = 0, events = 0, fd = 1435784480, user_data = 0x2}, {pos = 7, events = 0, fd = 1455226672, user_data = 0x564454a1e0b8 }, {pos = 1702060386, events = 1936158767, fd = 1952410737, user_data = 0x4}, {pos = 8096, events = 196607, fd = 1455487280, user_data = 0x7f84f597aebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f84f40364c8}, {pos = -200577043, events = 32644, fd = 1435839136, user_data = 0x564456c429a0}, {pos = 255, events = 0, fd = 0, user_data = 0x100007f00000002}, {pos = -199287712, events = 32644, 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 = -179120832, events = 32644, fd = -179119488, 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 = 1455671600, user_data = 0x7f84f40b583e}, {pos = -199304736, events = 32644, fd = -200666770, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xeae323afd5d80c00}, {pos = -199301664, events = 32644, fd = -328, user_data = 0x0}, {pos = 1455657288, events = 22084, fd = 2, user_data = 0x8000000000000006}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1455657088, events = 22084, fd = 3, user_data = 0x0}, {pos = 30953, events = 0, fd = -328, user_data = 0x0}, {pos = 1455487280, events = 22084, fd = -200331309, user_data = 0x7ffc04e8a498}, {pos = 1423376844, events = 22084, fd = 1435847504, user_data = 0x564454d5ec89 }, {pos = 1455657088, events = 22084, fd = 1455479280, user_data = 0x564456c39080}, {pos = -200583106, events = 32644, fd = 0, user_data = 0x564454d708f3 }, {pos = 1455657088, events = 1, fd = 1423379004, user_data = 0x564456c0d9f0}, {pos = -707261440, events = 3940754351, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -200660303, user_data = 0x7f84f40a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -707261440, user_data = 0x564456be5120}, {pos = -707261440, events = 3940754351, fd = 11, user_data = 0xeae323afd5d80c00}, {pos = 0, events = 0, fd = -200953287, user_data = 0x1}, {pos = 1418950484, events = 22084, fd = 4194304, user_data = 0x564454d5eb1d }, {pos = 1455313184, events = 22084, fd = 1455479280, user_data = 0x564456be5120}, {pos = 1, events = 0, fd = 0, user_data = 0x564454d708f3 }, {pos = 1455313184, events = 22084, fd = 1423379004, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x56445476df0b }, {pos = 0, events = 0, fd = 1417097803, user_data = 0xb}, {pos = 1418971641, events = 22084, fd = 1432248688, user_data = 0x564456c0e3a8}} [23:59:52.552] nevents = 1 [23:59:52.552] __func__ = "ServerLoop" [23:59:52.552] #25 0x000056445493f1f0 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x564456bcbd90) at ../src/backend/postmaster/postmaster.c:1351 [23:59:52.552] opt = [23:59:52.552] status = [23:59:52.552] userDoption = [23:59:52.552] listen_addr_saved = false [23:59:52.552] output_config_variable = [23:59:52.552] __func__ = "PostmasterMain" [23:59:52.552] #26 0x000056445477e2e7 in main (argc=4, argv=0x564456bcbd90) at ../src/backend/main/main.c:197 [23:59:52.552] do_check_root =