[09:40:56.895] src/tools/ci/cores_backtrace.sh linux /tmp/cores [09:40:57.114] dumping /tmp/cores/postgres-6-25412.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [09:40:57.370] [New LWP 25412] [09:40:57.370] [09:40:57.370] This GDB supports auto-downloading debuginfo from the following URLs: [09:40:57.370] [09:40:57.370] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [09:40:57.370] Debuginfod has been disabled. [09:40:57.370] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [09:40:57.503] [Thread debugging using libthread_db enabled] [09:40:57.503] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [09:40:57.503] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [09:40:57.503] Program terminated with signal SIGABRT, Aborted. [09:40:57.503] #0 0x00007f74406a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [09:40:58.492] [09:40:58.492] Thread 1 (Thread 0x7f743e61df00 (LWP 25412)): [09:40:58.492] #0 0x00007f74406a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [09:40:58.492] No symbol table info available. [09:40:58.492] #1 0x00007f744065afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [09:40:58.492] No symbol table info available. [09:40:58.492] #2 0x00007f7440645472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [09:40:58.492] No symbol table info available. [09:40:58.492] #3 0x000055d164370d03 in ExceptionalCondition (conditionName=conditionName@entry=0x55d1645bea85 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55d1645e2ed0 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [09:40:58.492] No locals. [09:40:58.492] #4 0x000055d163d1d7df in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffce91431b0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffce914304f) at ../src/backend/executor/execTuples.c:1737 [09:40:58.492] No locals. [09:40:58.492] #5 0x000055d163ca1770 in ExecIRDeleteTriggers (estate=estate@entry=0x55d165a1e7a0, relinfo=relinfo@entry=0x55d165a1ed50, slot=slot@entry=0x7ffce91431b0) at ../src/backend/commands/trigger.c:2841 [09:40:58.492] trigger = 0x55d165a1efb0 [09:40:58.492] oldtuple = [09:40:58.492] trigdesc = 0x55d165a1ef60 [09:40:58.492] newtuple = 0x0 [09:40:58.492] should_free = false [09:40:58.492] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f743c093228, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [09:40:58.492] i = 0 [09:40:58.492] #6 0x000055d163d7a6dc in ExecMergeMatched (context=0x7ffce91431d0, resultRelInfo=resultRelInfo@entry=0x55d165a1ed50, tupleid=0x0, oldtuple=0x7ffce91431b0, canSetTag=true, matched=matched@entry=0x7ffce914315f) at ../src/backend/executor/nodeModifyTable.c:3043 [09:40:58.492] relaction = 0x55d165b76010 [09:40:58.492] commandType = CMD_DELETE [09:40:58.492] result = TM_Ok [09:40:58.492] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [09:40:58.492] l__state = [09:40:58.492] mtstate = 0x55d165a1eb40 [09:40:58.492] mergeActions = 0x55d165a1ee60 [09:40:58.492] actionStates = 0x55d165b765d0 [09:40:58.492] newslot = 0x0 [09:40:58.492] rslot = 0x0 [09:40:58.492] estate = 0x55d165a1e7a0 [09:40:58.492] econtext = 0x55d165b75620 [09:40:58.492] isNull = false [09:40:58.492] epqstate = 0x55d165a1ec28 [09:40:58.492] l = [09:40:58.492] __func__ = "ExecMergeMatched" [09:40:58.492] lmerge_matched = [09:40:58.492] #7 0x000055d163d7b29a in ExecMerge (context=context@entry=0x7ffce91431d0, resultRelInfo=resultRelInfo@entry=0x55d165a1ed50, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffce91431b0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [09:40:58.492] rslot = 0x0 [09:40:58.492] matched = true [09:40:58.492] #8 0x000055d163d7ca5f in ExecModifyTable (pstate=0x55d165a1eb40) at ../src/backend/executor/nodeModifyTable.c:4133 [09:40:58.492] node = 0x55d165a1eb40 [09:40:58.492] context = {mtstate = 0x55d165a1eb40, epqstate = 0x55d165a1ec28, estate = 0x55d165a1e7a0, planSlot = 0x55d165b73a08, tmfd = {ctid = {ip_blkid = {bi_hi = 24192, bi_lo = 26039}, ip_posid = 21969}, xmax = 1706551272, cmax = 21969, traversed = 5}, cpUpdateReturningSlot = 0x55d165b7e7e8} [09:40:58.492] estate = 0x55d165a1e7a0 [09:40:58.492] operation = CMD_MERGE [09:40:58.492] resultRelInfo = 0x55d165a1ed50 [09:40:58.492] subplanstate = 0x55d165a1f480 [09:40:58.492] slot = [09:40:58.492] oldSlot = [09:40:58.492] tuple_ctid = {ip_blkid = {bi_hi = 26039, bi_lo = 21969}, ip_posid = 0} [09:40:58.492] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55d165b355d8} [09:40:58.492] oldtuple = 0x7ffce91431b0 [09:40:58.492] tupleid = 0x0 [09:40:58.492] __func__ = "ExecModifyTable" [09:40:58.492] #9 0x000055d163d0fd2b in ExecProcNodeFirst (node=0x55d165a1eb40) at ../src/backend/executor/execProcnode.c:469 [09:40:58.492] No locals. [09:40:58.492] #10 0x000055d163cfb229 in ExecProcNode (node=node@entry=0x55d165a1eb40) at ../src/include/executor/executor.h:278 [09:40:58.492] No locals. [09:40:58.492] #11 0x000055d163cfb3de in ExecutePlan (estate=estate@entry=0x55d165a1e7a0, planstate=0x55d165a1eb40, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55d165a05900, execute_once=true) at ../src/backend/executor/execMain.c:1641 [09:40:58.492] slot = [09:40:58.492] current_tuple_count = 0 [09:40:58.492] #12 0x000055d163cfd156 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x55d165bf1d78, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [09:40:58.492] estate = 0x55d165a1e7a0 [09:40:58.492] operation = CMD_MERGE [09:40:58.492] dest = 0x55d165a05900 [09:40:58.492] sendTuples = [09:40:58.492] oldcontext = 0x55d165a055f0 [09:40:58.492] __func__ = "standard_ExecutorRun" [09:40:58.492] #13 0x00007f743dcef813 in pgss_ExecutorRun (queryDesc=0x55d165bf1d78, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1031 [09:40:58.492] _save_exception_stack = 0x7ffce91435b0 [09:40:58.492] _save_context_stack = 0x0 [09:40:58.492] _local_sigjmp_buf = {{__jmpbuf = {94357843549560, 4842968939631228751, 94357841287920, 94357841533184, 0, 0, 4842968939553634127, 4765942152256698191}, __mask_was_saved = 0, __saved_mask = {__val = {2147483647, 94357841533184, 0, 0, 94357818221065, 0, 1, 0, 94357811268706, 94357843549560, 94357830666368, 94357841532400, 140137229912012, 94357843549560, 0, 94357841287920}}}} [09:40:58.492] _do_rethrow = false [09:40:58.492] #14 0x000055d163cfd37c in ExecutorRun (queryDesc=queryDesc@entry=0x55d165bf1d78, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:297 [09:40:58.492] No locals. [09:40:58.492] #15 0x000055d1640e4238 in ProcessQuery (plan=plan@entry=0x55d165b819e0, sourceText=0x55d1659c9af0 "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=0x55d165a05900, qc=qc@entry=0x7ffce9143510) at ../src/backend/tcop/pquery.c:160 [09:40:58.492] queryDesc = 0x55d165bf1d78 [09:40:58.492] #16 0x000055d1640e5e6d in PortalRunMulti (portal=portal@entry=0x55d165a4b030, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55d165a05900, altdest=0x55d1648ecf00 , qc=qc@entry=0x7ffce9143510) at ../src/backend/tcop/pquery.c:1278 [09:40:58.492] pstmt = 0x55d165b819e0 [09:40:58.492] stmtlist_item__state = [09:40:58.492] active_snapshot_set = true [09:40:58.492] stmtlist_item = 0x55d165b81b08 [09:40:58.492] #17 0x000055d1640e63bf in FillPortalStore (portal=portal@entry=0x55d165a4b030, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [09:40:58.492] treceiver = 0x55d165a05900 [09:40:58.492] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [09:40:58.492] __func__ = "FillPortalStore" [09:40:58.492] #18 0x000055d1640e6990 in PortalRun (portal=portal@entry=0x55d165a4b030, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55d165b81b40, altdest=altdest@entry=0x55d165b81b40, qc=0x7ffce91436f0) at ../src/backend/tcop/pquery.c:763 [09:40:58.492] _save_exception_stack = 0x7ffce91437a0 [09:40:58.492] _save_context_stack = 0x0 [09:40:58.492] _local_sigjmp_buf = {{__jmpbuf = {0, 1688489010874824527, 94357841817648, 94357842950672, 94357841817648, 94357842950600, 4842968939620742991, 1688485525863282511}, __mask_was_saved = 0, __saved_mask = {__val = {94357818129445, 94357841287664, 112, 4, 94357818133862, 3910415999, 4, 94357842950600, 112, 163, 94357841817648, 94357842950672, 94357842950648, 94357842950600, 94357818221065, 1}}}} [09:40:58.492] _do_rethrow = [09:40:58.492] result = [09:40:58.492] nprocessed = [09:40:58.492] saveTopTransactionResourceOwner = 0x55d165a0a4f0 [09:40:58.492] saveTopTransactionContext = 0x55d165a5d460 [09:40:58.492] saveActivePortal = 0x0 [09:40:58.492] saveResourceOwner = 0x55d165a0a4f0 [09:40:58.492] savePortalContext = 0x0 [09:40:58.492] saveMemoryContext = 0x55d165a5d460 [09:40:58.492] __func__ = "PortalRun" [09:40:58.492] #19 0x000055d1640dfd3d in exec_simple_query (query_string=query_string@entry=0x55d1659c9af0 "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 [09:40:58.492] cmdtaglen = 5 [09:40:58.492] snapshot_set = [09:40:58.492] per_parsetree_context = 0x0 [09:40:58.492] plantree_list = 0x55d165b81af0 [09:40:58.492] parsetree = 0x55d165b5f9c8 [09:40:58.492] commandTag = [09:40:58.492] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [09:40:58.492] querytree_list = [09:40:58.492] portal = 0x55d165a4b030 [09:40:58.492] receiver = 0x55d165b81b40 [09:40:58.492] format = 0 [09:40:58.492] cmdtagname = [09:40:58.492] parsetree_item__state = [09:40:58.492] dest = DestRemote [09:40:58.492] oldcontext = 0x55d165a5d460 [09:40:58.492] parsetree_list = 0x55d165b5f9f8 [09:40:58.492] parsetree_item = 0x55d165b5fa10 [09:40:58.492] save_log_statement_stats = false [09:40:58.492] was_logged = true [09:40:58.492] use_implicit_block = false [09:40:58.492] msec_str = "P9\024\351\374\177\000\000+j9d\321U\000\000\2007\024\351\374\177\000\000\026\001\000\000\000\000\000" [09:40:58.492] __func__ = "exec_simple_query" [09:40:58.492] #20 0x000055d1640e2816 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [09:40:58.492] query_string = 0x55d1659c9af0 "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"... [09:40:58.492] firstchar = [09:40:58.492] input_message = {data = 0x55d1659c9af0 "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} [09:40:58.492] local_sigjmp_buf = {{__jmpbuf = {94357830666360, 1688486240075659087, 4, 140724218902864, 140724218903008, 140724218903012, 4842968939683657551, 1688485523604649807}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 6016, 10, 94357841537504, 0, 168, 94357818133964, 0, 10, 2, 94357830666368, 94357841018512, 94357830660448, 140724218902864, 140724218903008, 140724218903012}}}} [09:40:58.492] send_ready_for_query = false [09:40:58.492] idle_in_transaction_timeout_enabled = false [09:40:58.492] idle_session_timeout_enabled = false [09:40:58.492] __func__ = "PostgresMain" [09:40:58.492] #21 0x000055d1640d8938 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [09:40:58.492] bsdata = [09:40:58.492] #22 0x000055d163f911c9 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffce91438fc "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffce9143950) at ../src/backend/postmaster/launch_backend.c:274 [09:40:58.492] pid = [09:40:58.492] #23 0x000055d163f96c75 in BackendStartup (client_sock=client_sock@entry=0x7ffce9143950) at ../src/backend/postmaster/postmaster.c:3415 [09:40:58.492] bn = 0x55d1659f66f8 [09:40:58.492] pid = [09:40:58.492] startup_data = {canAcceptConnections = CAC_OK} [09:40:58.492] __func__ = "BackendStartup" [09:40:58.492] #24 0x000055d163f971d7 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [09:40:58.492] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "c@t\177\000\000\240o\263At\177\000\000\3709\024\351\374\177\000\000\3649\024\351\374\177", '\000' , "\262\035\026c\321U\000\000H\a\022c\321U\000\000\300:\024\351\374\177\000\000\270:\024\351\374\177\000\000\225[\362\001\000\000\000\000\020;\237e\321U\000\000,", '\000' , "\321U\000\000\307\034\026c\321U\000", __ss_align = 140137299211880}, salen = 2}} [09:40:58.492] i = 0 [09:40:58.492] now = [09:40:58.492] last_lockfile_recheck_time = 1726220265 [09:40:58.492] last_touch_time = 1726220265 [09:40:58.492] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 15, user_data = 0x55d163161db2}, {pos = 1106277992, events = 32628, fd = 1088632368, user_data = 0x7f7441f072e0}, {pos = 2090263927, events = 0, fd = -384550080, user_data = 0x7f7441edda48}, {pos = 15, events = 0, fd = 1088632368, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7f7441f072e0}, {pos = -384550216, events = 32764, fd = -384550208, user_data = 0x7f7441f07668}, {pos = 0, events = 0, fd = 32768, user_data = 0x7}, {pos = 1704764944, events = 21969, fd = 1, user_data = 0x7ffce9143fe3}, {pos = -1, events = 0, fd = 1080221728, user_data = 0x7f7441b36fa0}, {pos = 1704940456, events = 21969, fd = 1704940168, user_data = 0x55d1659f9931}, {pos = 1106132670, events = 32628, fd = 1, user_data = 0x7f7441f072e0}, {pos = 438, events = 0, fd = 1687211440, user_data = 0x0}, {pos = 1, events = 0, fd = 1704769840, user_data = 0x7f7441ee3ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f744062e020}, {pos = 1081028032, events = 32628, fd = 16, user_data = 0x7ffce9143f20}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1106141626, events = 32628, fd = 0, user_data = 0x7f74406aed24 }, {pos = 0, events = 0, fd = 1694081568, user_data = 0x2}, {pos = 7, events = 0, fd = 1704509232, user_data = 0x55d164077773 }, {pos = 1702060386, events = 1936158767, fd = 1952410737, user_data = 0x4}, {pos = 8096, events = 196607, fd = 1704769840, user_data = 0x7f7441ee3ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f74406364c8}, {pos = 1080782829, events = 32628, fd = 1694132096, user_data = 0x55d1659fe9a0}, {pos = 255, events = 0, fd = 0, user_data = 0x100007f00000002}, {pos = 1082072160, events = 32628, 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 = 1095267648, events = 32628, fd = 1095268992, 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 = 1704954160, user_data = 0x7f74406b583e}, {pos = 1082055136, events = 32628, fd = 1080693102, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0x2c62460ff6a7b200}, {pos = 1082058208, events = 32628, fd = -328, user_data = 0x0}, {pos = 1704939848, events = 21969, fd = 2, user_data = 0x8000000000000006}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1704939648, events = 21969, fd = 3, user_data = 0x0}, {pos = 23380, events = 0, fd = -328, user_data = 0x0}, {pos = 1704769840, events = 21969, fd = 1081028563, user_data = 0x7ffce9143fd8}, {pos = 1681686937, events = 21969, fd = 1694140464, user_data = 0x55d1643b6c56 }, {pos = 1704939648, events = 21969, fd = 1704761840, user_data = 0x55d1659f5080}, {pos = 1080776766, events = 32628, fd = 0, user_data = 0x55d1643c88c0 }, {pos = 1704939648, events = 1, fd = 1681689097, user_data = 0x55d1659c99f0}, {pos = -156782080, events = 744637967, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 1080699569, user_data = 0x7f74406a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -156782080, user_data = 0x55d1659a1120}, {pos = -156782080, events = 744637967, fd = 11, user_data = 0x2c62460ff6a7b200}, {pos = 0, events = 0, fd = 1080406585, user_data = 0x1}, {pos = 1677266630, events = 21969, fd = 4194304, user_data = 0x55d1643b6aea }, {pos = 1704595744, events = 21969, fd = 1704761840, user_data = 0x55d1659a1120}, {pos = 1, events = 0, fd = 0, user_data = 0x55d1643c88c0 }, {pos = 1704595744, events = 21969, fd = 1681689097, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x55d163dc7f9f }, {pos = 0, events = 0, fd = 1675416287, user_data = 0xb}, {pos = 1677287779, events = 21969, fd = 1690549872, user_data = 0x55d1659ca3a8}} [09:40:58.492] nevents = 1 [09:40:58.492] __func__ = "ServerLoop" [09:40:58.492] #25 0x000055d163f9894d in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55d165987d90) at ../src/backend/postmaster/postmaster.c:1346 [09:40:58.492] opt = [09:40:58.492] status = [09:40:58.492] userDoption = [09:40:58.492] listen_addr_saved = false [09:40:58.492] output_config_variable = [09:40:58.492] __func__ = "PostmasterMain" [09:40:58.492] #26 0x000055d163dd837b in main (argc=4, argv=0x55d165987d90) at ../src/backend/main/main.c:197 [09:40:58.492] do_check_root = [09:40:58.528] -e [09:40:58.528] [09:40:58.528] [09:40:58.591] dumping /tmp/cores/postgres-6-18373.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [09:40:58.849] [New LWP 18373] [09:40:58.849] [09:40:58.849] This GDB supports auto-downloading debuginfo from the following URLs: [09:40:58.849] [09:40:58.849] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [09:40:58.849] Debuginfod has been disabled. [09:40:58.849] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [09:40:58.952] [Thread debugging using libthread_db enabled] [09:40:58.952] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [09:40:58.952] Core was generated by `postgres: postgres regression [local] MERGE '. [09:40:58.952] Program terminated with signal SIGABRT, Aborted. [09:40:58.952] #0 0x00007f6916aa9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [09:40:59.888] [09:40:59.888] Thread 1 (Thread 0x7f6917232f00 (LWP 18373)): [09:40:59.888] #0 0x00007f6916aa9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [09:40:59.888] No symbol table info available. [09:40:59.888] #1 0x00007f6916a5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [09:40:59.888] No symbol table info available. [09:40:59.888] #2 0x00007f6916a45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [09:40:59.888] No symbol table info available. [09:40:59.888] #3 0x000055895a8bed03 in ExceptionalCondition (conditionName=conditionName@entry=0x55895ab0ca85 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55895ab30ed0 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [09:40:59.888] No locals. [09:40:59.888] #4 0x000055895a26b7df in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffcc517ba10, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffcc517b8af) at ../src/backend/executor/execTuples.c:1737 [09:40:59.888] No locals. [09:40:59.888] #5 0x000055895a1ef770 in ExecIRDeleteTriggers (estate=estate@entry=0x55895c4f1c40, relinfo=relinfo@entry=0x55895c4f21f0, slot=slot@entry=0x7ffcc517ba10) at ../src/backend/commands/trigger.c:2841 [09:40:59.888] trigger = 0x55895c4f2450 [09:40:59.888] oldtuple = [09:40:59.888] trigdesc = 0x55895c4f2400 [09:40:59.888] newtuple = 0x0 [09:40:59.888] should_free = false [09:40:59.888] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f690af20d88, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [09:40:59.888] i = 0 [09:40:59.888] #6 0x000055895a2c86dc in ExecMergeMatched (context=0x7ffcc517ba30, resultRelInfo=resultRelInfo@entry=0x55895c4f21f0, tupleid=0x0, oldtuple=0x7ffcc517ba10, canSetTag=true, matched=matched@entry=0x7ffcc517b9bf) at ../src/backend/executor/nodeModifyTable.c:3043 [09:40:59.888] relaction = 0x55895c6a4550 [09:40:59.888] commandType = CMD_DELETE [09:40:59.888] result = TM_Ok [09:40:59.888] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [09:40:59.888] l__state = [09:40:59.888] mtstate = 0x55895c4f1fe0 [09:40:59.888] mergeActions = 0x55895c4f2300 [09:40:59.888] actionStates = 0x55895c6a4b10 [09:40:59.888] newslot = 0x0 [09:40:59.888] rslot = 0x0 [09:40:59.888] estate = 0x55895c4f1c40 [09:40:59.888] econtext = 0x55895c6a3b60 [09:40:59.888] isNull = false [09:40:59.888] epqstate = 0x55895c4f20c8 [09:40:59.888] l = [09:40:59.888] __func__ = "ExecMergeMatched" [09:40:59.888] lmerge_matched = [09:40:59.888] #7 0x000055895a2c929a in ExecMerge (context=context@entry=0x7ffcc517ba30, resultRelInfo=resultRelInfo@entry=0x55895c4f21f0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffcc517ba10, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [09:40:59.888] rslot = 0x0 [09:40:59.888] matched = true [09:40:59.888] #8 0x000055895a2caa5f in ExecModifyTable (pstate=0x55895c4f1fe0) at ../src/backend/executor/nodeModifyTable.c:4133 [09:40:59.888] node = 0x55895c4f1fe0 [09:40:59.888] context = {mtstate = 0x55895c4f1fe0, epqstate = 0x55895c4f20c8, estate = 0x55895c4f1c40, planSlot = 0x55895c6a1f48, tmfd = {ctid = {ip_blkid = {bi_hi = 6976, bi_lo = 23631}, ip_posid = 21897}, xmax = 1519393829, cmax = 21897, traversed = 64}, cpUpdateReturningSlot = 0x55895a901c25 } [09:40:59.888] estate = 0x55895c4f1c40 [09:40:59.888] operation = CMD_MERGE [09:40:59.888] resultRelInfo = 0x55895c4f21f0 [09:40:59.888] subplanstate = 0x55895c4f2920 [09:40:59.888] slot = [09:40:59.888] oldSlot = [09:40:59.888] tuple_ctid = {ip_blkid = {bi_hi = 23657, bi_lo = 21897}, ip_posid = 0} [09:40:59.888] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55895c60e688} [09:40:59.888] oldtuple = 0x7ffcc517ba10 [09:40:59.888] tupleid = 0x0 [09:40:59.888] __func__ = "ExecModifyTable" [09:40:59.888] #9 0x000055895a25dd2b in ExecProcNodeFirst (node=0x55895c4f1fe0) at ../src/backend/executor/execProcnode.c:469 [09:40:59.888] No locals. [09:40:59.888] #10 0x000055895a249229 in ExecProcNode (node=node@entry=0x55895c4f1fe0) at ../src/include/executor/executor.h:278 [09:40:59.888] No locals. [09:40:59.888] #11 0x000055895a2493de in ExecutePlan (estate=estate@entry=0x55895c4f1c40, planstate=0x55895c4f1fe0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55895c622870, execute_once=true) at ../src/backend/executor/execMain.c:1641 [09:40:59.888] slot = [09:40:59.888] current_tuple_count = 0 [09:40:59.888] #12 0x000055895a24b156 in standard_ExecutorRun (queryDesc=0x55895c626e78, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [09:40:59.888] estate = 0x55895c4f1c40 [09:40:59.888] operation = CMD_MERGE [09:40:59.888] dest = 0x55895c622870 [09:40:59.888] sendTuples = [09:40:59.888] oldcontext = 0x55895c622560 [09:40:59.888] __func__ = "standard_ExecutorRun" [09:40:59.888] #13 0x000055895a24b389 in ExecutorRun (queryDesc=queryDesc@entry=0x55895c626e78, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [09:40:59.888] No locals. [09:40:59.888] #14 0x000055895a632238 in ProcessQuery (plan=plan@entry=0x55895c698fc0, sourceText=0x55895c49db40 "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=0x55895c622870, qc=qc@entry=0x7ffcc517bc60) at ../src/backend/tcop/pquery.c:160 [09:40:59.888] queryDesc = 0x55895c626e78 [09:40:59.888] #15 0x000055895a633e6d in PortalRunMulti (portal=portal@entry=0x55895c5200e0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55895c622870, altdest=0x55895ae3af00 , qc=qc@entry=0x7ffcc517bc60) at ../src/backend/tcop/pquery.c:1278 [09:40:59.888] pstmt = 0x55895c698fc0 [09:40:59.888] stmtlist_item__state = [09:40:59.888] active_snapshot_set = true [09:40:59.888] stmtlist_item = 0x55895c6990e8 [09:40:59.888] #16 0x000055895a6343bf in FillPortalStore (portal=portal@entry=0x55895c5200e0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [09:40:59.888] treceiver = 0x55895c622870 [09:40:59.888] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [09:40:59.888] __func__ = "FillPortalStore" [09:40:59.888] #17 0x000055895a634990 in PortalRun (portal=portal@entry=0x55895c5200e0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55895c699120, altdest=altdest@entry=0x55895c699120, qc=0x7ffcc517be40) at ../src/backend/tcop/pquery.c:763 [09:40:59.888] _save_exception_stack = 0x7ffcc517bef0 [09:40:59.888] _save_context_stack = 0x0 [09:40:59.888] _local_sigjmp_buf = {{__jmpbuf = {0, 6874912024281196724, 94048447758560, 94048448850576, 94048447758560, 94048448850504, 829694721150920884, 6874907670650267828}, __mask_was_saved = 0, __saved_mask = {__val = {94048418274341, 94048447224384, 112, 4, 94048418278758, 3306667471, 4, 94048448850504, 112, 163, 94048447758560, 94048448850576, 94048448850552, 94048448850504, 94048418365961, 1}}}} [09:40:59.888] _do_rethrow = [09:40:59.888] result = [09:40:59.888] nprocessed = [09:40:59.888] saveTopTransactionResourceOwner = 0x55895c4dcd98 [09:40:59.888] saveTopTransactionContext = 0x55895c531cf0 [09:40:59.888] saveActivePortal = 0x0 [09:40:59.888] saveResourceOwner = 0x55895c4dcd98 [09:40:59.888] savePortalContext = 0x0 [09:40:59.888] saveMemoryContext = 0x55895c531cf0 [09:40:59.888] __func__ = "PortalRun" [09:40:59.888] #18 0x000055895a62dd3d in exec_simple_query (query_string=query_string@entry=0x55895c49db40 "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 [09:40:59.888] cmdtaglen = 5 [09:40:59.888] snapshot_set = [09:40:59.888] per_parsetree_context = 0x0 [09:40:59.888] plantree_list = 0x55895c6990d0 [09:40:59.888] parsetree = 0x55895c62aa48 [09:40:59.888] commandTag = [09:40:59.888] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [09:40:59.888] querytree_list = [09:40:59.888] portal = 0x55895c5200e0 [09:40:59.888] receiver = 0x55895c699120 [09:40:59.888] format = 0 [09:40:59.888] cmdtagname = [09:40:59.888] parsetree_item__state = [09:40:59.888] dest = DestRemote [09:40:59.888] oldcontext = 0x55895c531cf0 [09:40:59.888] parsetree_list = 0x55895c62aa78 [09:40:59.888] parsetree_item = 0x55895c62aa90 [09:40:59.888] save_log_statement_stats = false [09:40:59.888] was_logged = false [09:40:59.888] use_implicit_block = false [09:40:59.888] msec_str = "\240\300\027\305\374\177\000\000+J\216Z\211U\000\000о\027\305\374\177\000\000\026\001\000\000\000\000\000" [09:40:59.888] __func__ = "exec_simple_query" [09:40:59.888] #19 0x000055895a630816 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [09:40:59.888] query_string = 0x55895c49db40 "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"... [09:40:59.888] firstchar = [09:40:59.888] input_message = {data = 0x55895c49db40 "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} [09:40:59.888] local_sigjmp_buf = {{__jmpbuf = {94048430811256, 6874910042971678900, 4, 140723615154336, 140723615154480, 140723615154484, 829694721088006324, 6874907672971815092}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94048446955072, 15616, 94048430805344, 94048447479120, 140723615154480, 94048418278306, 0, 9, 2, 94048430811264, 94048446955072, 94048430805344, 140723615154336, 140723615154480, 140723615154484}}}} [09:40:59.888] send_ready_for_query = false [09:40:59.888] idle_in_transaction_timeout_enabled = false [09:40:59.888] idle_session_timeout_enabled = false [09:40:59.888] __func__ = "PostgresMain" [09:40:59.888] #20 0x000055895a626938 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [09:40:59.888] bsdata = [09:40:59.888] #21 0x000055895a4df1c9 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffcc517c04c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffcc517c0a0) at ../src/backend/postmaster/launch_backend.c:274 [09:40:59.888] pid = [09:40:59.888] #22 0x000055895a4e4c75 in BackendStartup (client_sock=client_sock@entry=0x7ffcc517c0a0) at ../src/backend/postmaster/postmaster.c:3415 [09:40:59.888] bn = 0x55895c4c6388 [09:40:59.888] pid = [09:40:59.888] startup_data = {canAcceptConnections = CAC_OK} [09:40:59.888] __func__ = "BackendStartup" [09:40:59.888] #23 0x000055895a4e51d7 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [09:40:59.888] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "\027\305\374\177\000\0004\301\027\305\374\177", '\000' , "\262\375jY\211U\000\000H\347fY\211U\000\000\000\302\027\305\374\177\000\000\370\301\027\305\374\177\000\000\225[\362\001\000\000\000\000\240\224#\027i\177\000\000+", '\000' , "\307\374jY\211U\000\000h\346*\030i\177\000\0000\226#\027i\177\000", __ss_align = 140089353757408}, salen = 2}} [09:40:59.888] i = 0 [09:40:59.888] now = [09:40:59.888] last_lockfile_recheck_time = 1726220234 [09:40:59.888] last_touch_time = 1726220234 [09:40:59.888] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = 1500183986, events = 21897, fd = 405464680, user_data = 0x7f6917239630}, {pos = 405463776, events = 32617, fd = 2090263927, user_data = 0x7ffcc517c280}, {pos = 405293640, events = 32617, fd = 15, user_data = 0x7f6917239630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = 405463776, events = 32617, fd = -988298760, user_data = 0x7ffcc517c200}, {pos = 405464680, events = 32617, fd = 0, user_data = 0x55895c49dc00}, {pos = 1519715442, events = 21897, fd = 32768, user_data = 0x1}, {pos = 1548351808, events = 21897, fd = -1, user_data = 0x7f6916a2e020}, {pos = 401780640, events = 32617, fd = 1548527576, user_data = 0x55895c4ca6b8}, {pos = 1548536017, events = 21897, fd = 405319358, user_data = 0x1}, {pos = 405463776, events = 32617, fd = 438, user_data = 0x55895ae5adb0 }, {pos = 0, events = 0, fd = 1, user_data = 0x55895c49dc00}, {pos = 405319358, events = 32617, fd = 1, user_data = 0x0}, {pos = 379772960, events = 32617, fd = 380579264, user_data = 0x10}, {pos = -988297616, events = 32764, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 405328314, user_data = 0x0}, {pos = 380300580, events = 32617, fd = 0, user_data = 0x55895b4e8220 }, {pos = 2, events = 0, fd = 7, user_data = 0x55895c45fee0}, {pos = 1515985722, events = 21897, fd = 1548553579, user_data = 0x55895a5c5773 }, {pos = 1702060386, events = 1936158767, fd = 8096, user_data = 0x55895c49dc00}, {pos = 405319358, events = 32617, fd = 1, user_data = 0x0}, {pos = 379806920, events = 32617, fd = 380225664, user_data = 0x41e}, {pos = 380334061, events = 32617, fd = 2, user_data = 0x55895c4c94a0}, {pos = 255, events = 0, fd = 99, user_data = 0x0}, {pos = 381623392, events = 32617, 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 = 0x755564552d737365}, {pos = 168441178, events = 824188960, fd = 822763892, user_data = 0x30340a3433323032}, {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 = 1519393829, events = 21897, fd = 1548529856, user_data = 0x7f6916ab56eb}, {pos = 381606368, events = 32617, fd = 380244334, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xfff6574d5b18da00}, {pos = 381609440, events = 32617, 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 = 1548526968, user_data = 0x55895a9024e8 }, {pos = 1548526768, events = 21897, fd = 3, user_data = 0x0}, {pos = 16163, events = 0, fd = -328, user_data = 0x0}, {pos = 1548344320, events = 21897, fd = 380579795, user_data = 0x7ffcc517c728}, {pos = 1519477145, events = 21897, fd = 1531930672, user_data = 0x55895a904c56 }, {pos = 1548526768, events = 21897, fd = 1548343872, user_data = 0x55895c4ca4b0}, {pos = 380327998, events = 32617, fd = 0, user_data = 0x55895a9168c0 }, {pos = 1548526768, events = 1, fd = 1519479305, user_data = 0x55895c49da40}, {pos = 1528355328, events = 4294334285, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 380250801, user_data = 0x7f6916aa14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1528355328, user_data = 0x55895c475170}, {pos = 1528355328, events = 4294334285, fd = 11, user_data = 0xfff6574d5b18da00}, {pos = 0, events = 0, fd = 379957817, user_data = 0x1}, {pos = 1515056838, events = 21897, fd = 4194304, user_data = 0x55895a904aea }, {pos = 1548177776, events = 21897, fd = 1548343872, user_data = 0x55895c475170}, {pos = 1, events = 0, fd = 0, user_data = 0x55895a9168c0 }, {pos = 1548177776, events = 21897, fd = 1519479305, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x55895a315f9f }, {pos = 0, events = 0, fd = 1513206495, user_data = 0xb}, {pos = 1515077987, events = 21897, fd = 1528340080, user_data = 0x55895c49e418}} [09:40:59.888] nevents = 1 [09:40:59.888] __func__ = "ServerLoop" [09:40:59.888] #24 0x000055895a4e694d in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x55895c45bda0) at ../src/backend/postmaster/postmaster.c:1346 [09:40:59.888] opt = [09:40:59.888] status = [09:40:59.888] userDoption = [09:40:59.888] listen_addr_saved = false [09:40:59.888] output_config_variable = [09:40:59.888] __func__ = "PostmasterMain" [09:40:59.888] #25 0x000055895a32637b in main (argc=8, argv=0x55895c45bda0) at ../src/backend/main/main.c:197 [09:40:59.888] do_check_root = [09:40:59.924] -e [09:40:59.924] [09:40:59.924] [09:40:59.989] dumping /tmp/cores/postgres-6-19231.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [09:41:00.233] [New LWP 19231] [09:41:00.233] [09:41:00.233] This GDB supports auto-downloading debuginfo from the following URLs: [09:41:00.233] [09:41:00.233] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [09:41:00.233] Debuginfod has been disabled. [09:41:00.233] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [09:41:00.339] [Thread debugging using libthread_db enabled] [09:41:00.339] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [09:41:00.339] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [09:41:00.339] Program terminated with signal SIGABRT, Aborted. [09:41:00.339] #0 0x00007f34f9ca9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [09:41:01.247] [09:41:01.247] Thread 1 (Thread 0x7f34f781ef00 (LWP 19231)): [09:41:01.247] #0 0x00007f34f9ca9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [09:41:01.247] No symbol table info available. [09:41:01.247] #1 0x00007f34f9c5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [09:41:01.247] No symbol table info available. [09:41:01.247] #2 0x00007f34f9c45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [09:41:01.247] No symbol table info available. [09:41:01.247] #3 0x000055812a959d03 in ExceptionalCondition (conditionName=conditionName@entry=0x55812aba7a85 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55812abcbed0 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [09:41:01.247] No locals. [09:41:01.247] #4 0x000055812a3067df in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffe7308b250, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffe7308b0ef) at ../src/backend/executor/execTuples.c:1737 [09:41:01.247] No locals. [09:41:01.247] #5 0x000055812a28a770 in ExecIRDeleteTriggers (estate=estate@entry=0x55812ba0f530, relinfo=relinfo@entry=0x55812ba0fae0, slot=slot@entry=0x7ffe7308b250) at ../src/backend/commands/trigger.c:2841 [09:41:01.247] trigger = 0x55812ba0fd40 [09:41:01.247] oldtuple = [09:41:01.247] trigdesc = 0x55812ba0fcf0 [09:41:01.247] newtuple = 0x0 [09:41:01.247] should_free = false [09:41:01.247] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f34ee540760, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [09:41:01.247] i = 0 [09:41:01.247] #6 0x000055812a3636dc in ExecMergeMatched (context=0x7ffe7308b270, resultRelInfo=resultRelInfo@entry=0x55812ba0fae0, tupleid=0x0, oldtuple=0x7ffe7308b250, canSetTag=true, matched=matched@entry=0x7ffe7308b1ff) at ../src/backend/executor/nodeModifyTable.c:3043 [09:41:01.247] relaction = 0x55812baa6340 [09:41:01.247] commandType = CMD_DELETE [09:41:01.247] result = TM_Ok [09:41:01.247] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [09:41:01.247] l__state = [09:41:01.247] mtstate = 0x55812ba0f8d0 [09:41:01.247] mergeActions = 0x55812ba0fbf0 [09:41:01.247] actionStates = 0x55812baa6900 [09:41:01.247] newslot = 0x0 [09:41:01.247] rslot = 0x0 [09:41:01.247] estate = 0x55812ba0f530 [09:41:01.247] econtext = 0x55812baa5950 [09:41:01.247] isNull = false [09:41:01.247] epqstate = 0x55812ba0f9b8 [09:41:01.247] l = [09:41:01.247] __func__ = "ExecMergeMatched" [09:41:01.247] lmerge_matched = [09:41:01.247] #7 0x000055812a36429a in ExecMerge (context=context@entry=0x7ffe7308b270, resultRelInfo=resultRelInfo@entry=0x55812ba0fae0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffe7308b250, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [09:41:01.247] rslot = 0x0 [09:41:01.247] matched = true [09:41:01.247] #8 0x000055812a365a5f in ExecModifyTable (pstate=0x55812ba0f8d0) at ../src/backend/executor/nodeModifyTable.c:4133 [09:41:01.247] node = 0x55812ba0f8d0 [09:41:01.247] context = {mtstate = 0x55812ba0f8d0, epqstate = 0x55812ba0f9b8, estate = 0x55812ba0f530, planSlot = 0x55812baa3d38, tmfd = {ctid = {ip_blkid = {bi_hi = 62512, bi_lo = 11168}, ip_posid = 21889}, xmax = 714722341, cmax = 21889, traversed = 48}, cpUpdateReturningSlot = 0x55812a99cc25 } [09:41:01.247] estate = 0x55812ba0f530 [09:41:01.247] operation = CMD_MERGE [09:41:01.247] resultRelInfo = 0x55812ba0fae0 [09:41:01.247] subplanstate = 0x55812ba10210 [09:41:01.247] slot = [09:41:01.247] oldSlot = [09:41:01.247] tuple_ctid = {ip_blkid = {bi_hi = 11180, bi_lo = 21889}, ip_posid = 0} [09:41:01.247] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55812ba4ec38} [09:41:01.247] oldtuple = 0x7ffe7308b250 [09:41:01.247] tupleid = 0x0 [09:41:01.247] __func__ = "ExecModifyTable" [09:41:01.247] #9 0x000055812a2f8d2b in ExecProcNodeFirst (node=0x55812ba0f8d0) at ../src/backend/executor/execProcnode.c:469 [09:41:01.247] No locals. [09:41:01.247] #10 0x000055812a2e4229 in ExecProcNode (node=node@entry=0x55812ba0f8d0) at ../src/include/executor/executor.h:278 [09:41:01.247] No locals. [09:41:01.247] #11 0x000055812a2e43de in ExecutePlan (estate=estate@entry=0x55812ba0f530, planstate=0x55812ba0f8d0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55812ba70990, execute_once=true) at ../src/backend/executor/execMain.c:1641 [09:41:01.247] slot = [09:41:01.247] current_tuple_count = 0 [09:41:01.247] #12 0x000055812a2e6156 in standard_ExecutorRun (queryDesc=0x55812ba6fb08, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [09:41:01.247] estate = 0x55812ba0f530 [09:41:01.247] operation = CMD_MERGE [09:41:01.247] dest = 0x55812ba70990 [09:41:01.247] sendTuples = [09:41:01.247] oldcontext = 0x55812ba70680 [09:41:01.247] __func__ = "standard_ExecutorRun" [09:41:01.247] #13 0x000055812a2e6389 in ExecutorRun (queryDesc=queryDesc@entry=0x55812ba6fb08, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [09:41:01.247] No locals. [09:41:01.247] #14 0x000055812a6cd238 in ProcessQuery (plan=plan@entry=0x55812bacba70, sourceText=0x55812b906ad0 "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=0x55812ba70990, qc=qc@entry=0x7ffe7308b4a0) at ../src/backend/tcop/pquery.c:160 [09:41:01.247] queryDesc = 0x55812ba6fb08 [09:41:01.247] #15 0x000055812a6cee6d in PortalRunMulti (portal=portal@entry=0x55812b989720, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55812ba70990, altdest=0x55812aed5f00 , qc=qc@entry=0x7ffe7308b4a0) at ../src/backend/tcop/pquery.c:1278 [09:41:01.247] pstmt = 0x55812bacba70 [09:41:01.247] stmtlist_item__state = [09:41:01.247] active_snapshot_set = true [09:41:01.247] stmtlist_item = 0x55812bacbb98 [09:41:01.247] #16 0x000055812a6cf3bf in FillPortalStore (portal=portal@entry=0x55812b989720, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [09:41:01.247] treceiver = 0x55812ba70990 [09:41:01.247] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [09:41:01.247] __func__ = "FillPortalStore" [09:41:01.247] #17 0x000055812a6cf990 in PortalRun (portal=portal@entry=0x55812b989720, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55812bacbbd0, altdest=altdest@entry=0x55812bacbbd0, qc=0x7ffe7308b680) at ../src/backend/tcop/pquery.c:763 [09:41:01.247] _save_exception_stack = 0x7ffe7308b730 [09:41:01.247] _save_context_stack = 0x0 [09:41:01.247] _local_sigjmp_buf = {{__jmpbuf = {0, 7301684752445389817, 94013270562592, 94013271339232, 94013270562592, 94013271339160, 3578807890714344441, 7301680902208535545}, __mask_was_saved = 0, __saved_mask = {__val = {94013253864485, 94013270026704, 112, 4, 94013253868902, 1929950735, 4, 94013271339160, 112, 163, 94013270562592, 94013271339232, 94013271339208, 94013271339160, 94013253956105, 1}}}} [09:41:01.247] _do_rethrow = [09:41:01.247] result = [09:41:01.247] nprocessed = [09:41:01.247] saveTopTransactionResourceOwner = 0x55812b9468d8 [09:41:01.247] saveTopTransactionContext = 0x55812b99a700 [09:41:01.247] saveActivePortal = 0x0 [09:41:01.247] saveResourceOwner = 0x55812b9468d8 [09:41:01.247] savePortalContext = 0x0 [09:41:01.247] saveMemoryContext = 0x55812b99a700 [09:41:01.247] __func__ = "PortalRun" [09:41:01.247] #18 0x000055812a6c8d3d in exec_simple_query (query_string=query_string@entry=0x55812b906ad0 "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 [09:41:01.247] cmdtaglen = 5 [09:41:01.247] snapshot_set = [09:41:01.247] per_parsetree_context = 0x0 [09:41:01.247] plantree_list = 0x55812bacbb80 [09:41:01.247] parsetree = 0x55812ba47098 [09:41:01.247] commandTag = [09:41:01.247] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [09:41:01.247] querytree_list = [09:41:01.247] portal = 0x55812b989720 [09:41:01.247] receiver = 0x55812bacbbd0 [09:41:01.247] format = 0 [09:41:01.247] cmdtagname = [09:41:01.247] parsetree_item__state = [09:41:01.247] dest = DestRemote [09:41:01.247] oldcontext = 0x55812b99a700 [09:41:01.247] parsetree_list = 0x55812ba470c8 [09:41:01.247] parsetree_item = 0x55812ba470e0 [09:41:01.247] save_log_statement_stats = false [09:41:01.247] was_logged = true [09:41:01.247] use_implicit_block = false [09:41:01.247] msec_str = "\340\270\bs\376\177\000\000+\372\227*\201U\000\000\020\267\bs\376\177\000\000\026\001\000\000\000\000\000" [09:41:01.247] __func__ = "exec_simple_query" [09:41:01.247] #19 0x000055812a6cb816 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [09:41:01.247] query_string = 0x55812b906ad0 "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"... [09:41:01.247] firstchar = [09:41:01.247] input_message = {data = 0x55812b906ad0 "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} [09:41:01.247] local_sigjmp_buf = {{__jmpbuf = {94013266401400, 7301683495133559801, 4, 140730828372192, 140730828372336, 140730828372340, 3578807890643041273, 7301680904446196729}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94013269757520, 14336, 94013266395488, 94013270284432, 140730828372336, 94013253868450, 0, 9, 2, 94013266401408, 94013269757520, 94013266395488, 140730828372192, 140730828372336, 140730828372340}}}} [09:41:01.247] send_ready_for_query = false [09:41:01.247] idle_in_transaction_timeout_enabled = false [09:41:01.247] idle_session_timeout_enabled = false [09:41:01.247] __func__ = "PostgresMain" [09:41:01.247] #20 0x000055812a6c1938 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [09:41:01.247] bsdata = [09:41:01.247] #21 0x000055812a57a1c9 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffe7308b88c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe7308b8e0) at ../src/backend/postmaster/launch_backend.c:274 [09:41:01.247] pid = [09:41:01.247] #22 0x000055812a57fc75 in BackendStartup (client_sock=client_sock@entry=0x7ffe7308b8e0) at ../src/backend/postmaster/postmaster.c:3415 [09:41:01.247] bn = 0x55812b93b938 [09:41:01.247] pid = [09:41:01.247] startup_data = {canAcceptConnections = CAC_OK} [09:41:01.247] __func__ = "BackendStartup" [09:41:01.247] #23 0x000055812a5801d7 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [09:41:01.247] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\bs\376\177\000\000t\271\bs\376\177", '\000' , "\262\255t)\201U\000\000H\227p)\201U\000\000@\272\bs\376\177\000\0008\272\bs\376\177\000\000\225[\362\001\000\000\000\000\240\264C\3724\177\000\000+", '\000' , "Ǭt)\201U\000\000h\006T\3734\177\000\0000\266C\3724\177\000", __ss_align = 139865531613920}, salen = 2}} [09:41:01.247] i = 0 [09:41:01.247] now = [09:41:01.247] last_lockfile_recheck_time = 1726220237 [09:41:01.247] last_touch_time = 1726220237 [09:41:01.247] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 695512498, events = 21889, fd = -78379416, user_data = 0x7f34fa43b630}, {pos = -78380320, events = 32564, fd = 2090263927, user_data = 0x7ffe7308bac0}, {pos = -78550456, events = 32564, fd = 15, user_data = 0x7f34fa43b630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = -78380320, events = 32564, fd = 1929951800, user_data = 0x7ffe7308ba40}, {pos = -78379416, events = 32564, fd = 0, user_data = 0x55812b906ae8}, {pos = 715043954, events = 21889, fd = 32768, user_data = 0x1}, {pos = 730892432, events = 21889, fd = -1, user_data = 0x7f34f9c2e020}, {pos = -82608224, events = 32564, fd = 731075592, user_data = 0x55812b9352e8}, {pos = 731074753, events = 21889, fd = -78524738, user_data = 0x1}, {pos = -78380320, events = 32564, fd = 438, user_data = 0x55812aef5db0 }, {pos = 0, events = 0, fd = 1, user_data = 0x55812b906ae8}, {pos = -78524738, events = 32564, fd = 1, user_data = 0x0}, {pos = -104669152, events = 32564, fd = -103862848, user_data = 0x10}, {pos = 1929952944, events = 32766, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -78515782, user_data = 0x0}, {pos = -104141532, events = 32564, fd = 0, user_data = 0x55812b583220 }, {pos = 2, events = 0, fd = 7, user_data = 0x55812b8c8ef0}, {pos = 711314234, events = 21889, fd = 731093163, user_data = 0x55812a660773 }, {pos = 1702060386, events = 1936158767, fd = 8096, user_data = 0x55812b906ae8}, {pos = -78524738, events = 32564, fd = 1, user_data = 0x0}, {pos = -104635192, events = 32564, fd = -104216448, user_data = 0x41e}, {pos = -104108409, events = 32564, fd = 2, user_data = 0x7d0}, {pos = 255, events = 0, fd = 99, user_data = 0x0}, {pos = -102818720, events = 32564, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1, user_data = 0xffffffffffffffff}, {pos = 794915937, events = 808476532, fd = 1735417650, user_data = 0x5f67702f6e757274}, {pos = 1919381621, events = 795173985, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xa}, {pos = 714722341, events = 21889, fd = 731048672, user_data = 0x7f34f9cb56eb}, {pos = -102835744, events = 32564, fd = -104197778, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0x802ae96502f5d200}, {pos = -102832672, events = 32564, 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 = 731074984, user_data = 0x55812a99d4e8 }, {pos = 731074784, events = 21889, fd = 3, user_data = 0x0}, {pos = 16819, events = 0, fd = -328, user_data = 0x0}, {pos = 730884840, events = 21889, fd = -103862317, user_data = 0x7ffe7308bf68}, {pos = 714805657, events = 21889, fd = 727259184, user_data = 0x55812a99fc56 }, {pos = 731074784, events = 21889, fd = 730884560, user_data = 0x55812b9350e0}, {pos = -104114453, events = 32564, fd = 0, user_data = 0x55812a9b18c0 }, {pos = 731074784, events = 1, fd = 714807817, user_data = 0x55812b9069d0}, {pos = 49664512, events = 2150295909, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -104191311, user_data = 0x7f34f9ca14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 49664512, user_data = 0x55812b8de100}, {pos = 49664512, events = 2150295909, fd = 11, user_data = 0x802ae96502f5d200}, {pos = 0, events = 0, fd = -104484295, user_data = 0x1}, {pos = 710385350, events = 21889, fd = 4194304, user_data = 0x55812a99faea }, {pos = 730718464, events = 21889, fd = 730884560, user_data = 0x55812b8de100}, {pos = 1, events = 0, fd = 0, user_data = 0x55812a9b18c0 }, {pos = 730718464, events = 21889, fd = 714807817, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x55812a3b0f9f }, {pos = 0, events = 0, fd = 708535007, user_data = 0xb}, {pos = 710406499, events = 21889, fd = 723668592, user_data = 0x55812b907378}} [09:41:01.247] nevents = 1 [09:41:01.247] __func__ = "ServerLoop" [09:41:01.247] #24 0x000055812a58194d in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55812b8c4d60) at ../src/backend/postmaster/postmaster.c:1346 [09:41:01.247] opt = [09:41:01.247] status = [09:41:01.247] userDoption = [09:41:01.247] listen_addr_saved = false [09:41:01.247] output_config_variable = [09:41:01.247] __func__ = "PostmasterMain" [09:41:01.247] #25 0x000055812a3c137b in main (argc=4, argv=0x55812b8c4d60) at ../src/backend/main/main.c:197 [09:41:01.247] do_check_root =