[15:02:42.805] src/tools/ci/cores_backtrace.sh linux /tmp/cores [15:02:43.549] dumping /tmp/cores/postgres-6-22733.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [15:02:45.228] [New LWP 22733] [15:02:45.228] Downloading separate debug info for /lib/x86_64-linux-gnu/libm.so.6... [15:02:45.990] Downloading separate debug info for /lib/x86_64-linux-gnu/libdl.so.2... [15:02:46.756] Downloading separate debug info for /lib/x86_64-linux-gnu/librt.so.1... [15:02:47.974] Downloading separate debug info for /lib/x86_64-linux-gnu/libgssapi_krb5.so.2... [15:02:50.342] Downloading separate debug info for /lib/x86_64-linux-gnu/libicuuc.so.67... [15:02:50.342] Downloading separate debug info for /.cache/debuginfod_client/f871bbd529a02abd860f0d16b842b5b20234cb49/debuginfo... [15:02:52.223] Downloading separate debug info for /lib/x86_64-linux-gnu/libicui18n.so.67... [15:02:53.437] Downloading separate debug info for /lib/x86_64-linux-gnu/libldap_r-2.4.so.2... [15:02:55.014] Downloading separate debug info for /lib/x86_64-linux-gnu/libxml2.so.2... [15:02:56.081] Downloading separate debug info for /lib/x86_64-linux-gnu/liblz4.so.1... [15:02:56.844] Downloading separate debug info for /lib/x86_64-linux-gnu/libpam.so.0... [15:02:58.073] Downloading separate debug info for /lib/x86_64-linux-gnu/libssl.so.1.1... [15:02:59.694] Downloading separate debug info for /lib/x86_64-linux-gnu/libcrypto.so.1.1... [15:03:01.101] Downloading separate debug info for /lib/x86_64-linux-gnu/libsystemd.so.0... [15:03:02.014] Downloading separate debug info for /lib/x86_64-linux-gnu/libz.so.1... [15:03:03.548] Downloading separate debug info for /lib/x86_64-linux-gnu/libzstd.so.1... [15:03:04.941] Downloading separate debug info for /lib/x86_64-linux-gnu/libpthread.so.0... [15:03:05.414] [Thread debugging using libthread_db enabled] [15:03:05.414] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [15:03:06.477] Downloading separate debug info for /lib64/ld-linux-x86-64.so.2... [15:03:07.866] Downloading separate debug info for /lib/x86_64-linux-gnu/libkrb5.so.3... [15:03:08.927] Downloading separate debug info for /lib/x86_64-linux-gnu/libk5crypto.so.3... [15:03:09.544] Downloading separate debug info for /lib/x86_64-linux-gnu/libcom_err.so.2... [15:03:10.309] Downloading separate debug info for /lib/x86_64-linux-gnu/libkrb5support.so.0... [15:03:12.599] Downloading separate debug info for /lib/x86_64-linux-gnu/libstdc++.so.6... [15:03:13.512] Downloading separate debug info for /lib/x86_64-linux-gnu/libgcc_s.so.1... [15:03:14.287] Downloading separate debug info for /lib/x86_64-linux-gnu/liblber-2.4.so.2... [15:03:15.210] Downloading separate debug info for /lib/x86_64-linux-gnu/libresolv.so.2... [15:03:16.126] Downloading separate debug info for /lib/x86_64-linux-gnu/libsasl2.so.2... [15:03:17.720] Downloading separate debug info for /lib/x86_64-linux-gnu/libgnutls.so.30... [15:03:18.781] Downloading separate debug info for /lib/x86_64-linux-gnu/liblzma.so.5... [15:03:19.550] Downloading separate debug info for /lib/x86_64-linux-gnu/libaudit.so.1... [15:03:20.935] Downloading separate debug info for /lib/x86_64-linux-gnu/libgcrypt.so.20... [15:03:21.557] Downloading separate debug info for /lib/x86_64-linux-gnu/libkeyutils.so.1... [15:03:23.087] Downloading separate debug info for /lib/x86_64-linux-gnu/libp11-kit.so.0... [15:03:23.850] Downloading separate debug info for /lib/x86_64-linux-gnu/libidn2.so.0... [15:03:25.078] Downloading separate debug info for /lib/x86_64-linux-gnu/libunistring.so.2... [15:03:25.849] Downloading separate debug info for /lib/x86_64-linux-gnu/libtasn1.so.6... [15:03:26.919] Downloading separate debug info for /lib/x86_64-linux-gnu/libnettle.so.8... [15:03:27.841] Downloading separate debug info for /lib/x86_64-linux-gnu/libhogweed.so.6... [15:03:29.066] Downloading separate debug info for /lib/x86_64-linux-gnu/libgmp.so.10... [15:03:29.684] Downloading separate debug info for /lib/x86_64-linux-gnu/libcap-ng.so.0... [15:03:30.602] Downloading separate debug info for /lib/x86_64-linux-gnu/libgpg-error.so.0... [15:03:31.364] Downloading separate debug info for /lib/x86_64-linux-gnu/libffi.so.7... [15:03:31.864] Core was generated by `postgres: postgres regression [local] MERGE '. [15:03:31.864] Program terminated with signal SIGABRT, Aborted. [15:03:31.864] #0 0x00007f1198d99ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [15:03:32.148] [15:03:32.148] Thread 1 (Thread 0x7f1196730a40 (LWP 22733)): [15:03:32.148] #0 0x00007f1198d99ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [15:03:32.148] No symbol table info available. [15:03:32.148] #1 0x00007f1198d83537 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [15:03:32.148] No symbol table info available. [15:03:32.148] #2 0x0000555eac6d0142 in ExceptionalCondition (conditionName=conditionName@entry=0x555eac927578 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x555eac94c198 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [15:03:32.148] No locals. [15:03:32.148] #3 0x0000555eac0208e3 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffe7cb30db0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffe7cb30c4f) at ../src/backend/executor/execTuples.c:1737 [15:03:32.148] No locals. [15:03:32.148] #4 0x0000555eabfa3110 in ExecIRDeleteTriggers (estate=estate@entry=0x555ead66e180, relinfo=relinfo@entry=0x555ead66e730, slot=slot@entry=0x7ffe7cb30db0) at ../src/backend/commands/trigger.c:2832 [15:03:32.148] trigger = 0x555ead66e990 [15:03:32.148] oldtuple = [15:03:32.148] trigdesc = 0x555ead66e940 [15:03:32.148] newtuple = 0x0 [15:03:32.148] should_free = false [15:03:32.148] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f118d450620, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [15:03:32.148] i = 0 [15:03:32.148] #5 0x0000555eac0834a2 in ExecMergeMatched (context=0x7ffe7cb30dd0, resultRelInfo=resultRelInfo@entry=0x555ead66e730, tupleid=0x0, oldtuple=0x7ffe7cb30db0, canSetTag=true, matched=matched@entry=0x7ffe7cb30d5f) at ../src/backend/executor/nodeModifyTable.c:2976 [15:03:32.148] relaction = 0x555ead6a0538 [15:03:32.148] commandType = CMD_DELETE [15:03:32.148] result = TM_Ok [15:03:32.148] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [15:03:32.148] l__state = {l = , i = } [15:03:32.148] mtstate = 0x555ead66e520 [15:03:32.148] mergeActions = 0x555ead66e840 [15:03:32.148] actionStates = 0x555ead6a0af8 [15:03:32.148] newslot = 0x0 [15:03:32.148] rslot = 0x0 [15:03:32.148] estate = 0x555ead66e180 [15:03:32.148] econtext = 0x555ead69fb48 [15:03:32.148] isNull = false [15:03:32.148] epqstate = 0x555ead66e608 [15:03:32.148] l = [15:03:32.148] __func__ = "ExecMergeMatched" [15:03:32.148] lmerge_matched = [15:03:32.148] #6 0x0000555eac08458a in ExecMerge (context=context@entry=0x7ffe7cb30dd0, resultRelInfo=resultRelInfo@entry=0x555ead66e730, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffe7cb30db0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2738 [15:03:32.148] rslot = 0x0 [15:03:32.148] matched = true [15:03:32.148] #7 0x0000555eac0862e1 in ExecModifyTable (pstate=0x555ead66e520) at ../src/backend/executor/nodeModifyTable.c:4067 [15:03:32.148] node = 0x555ead66e520 [15:03:32.148] context = {mtstate = 0x555ead66e520, epqstate = 0x555ead66e608, estate = 0x555ead66e180, planSlot = 0x555ead69e558, tmfd = {ctid = {ip_blkid = {bi_hi = 1, bi_lo = 0}, ip_posid = 0}, xmax = 2885669818, cmax = 21854, traversed = 24}, cpUpdateReturningSlot = 0x555ead769180} [15:03:32.148] estate = 0x555ead66e180 [15:03:32.148] operation = CMD_MERGE [15:03:32.148] resultRelInfo = 0x555ead66e730 [15:03:32.148] subplanstate = 0x555ead66ee60 [15:03:32.148] slot = [15:03:32.148] oldSlot = [15:03:32.148] tuple_ctid = {ip_blkid = {bi_hi = 44406, bi_lo = 21854}, ip_posid = 0} [15:03:32.148] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x555ead6d02c8} [15:03:32.148] oldtuple = 0x7ffe7cb30db0 [15:03:32.148] tupleid = 0x0 [15:03:32.148] __func__ = "ExecModifyTable" [15:03:32.148] #8 0x0000555eac0129ae in ExecProcNodeFirst (node=0x555ead66e520) at ../src/backend/executor/execProcnode.c:464 [15:03:32.148] No locals. [15:03:32.148] #9 0x0000555eabfff0a9 in ExecProcNode (node=0x555ead66e520) at ../src/include/executor/executor.h:274 [15:03:32.148] No locals. [15:03:32.148] #10 ExecutePlan (estate=estate@entry=0x555ead66e180, planstate=0x555ead66e520, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x555ead6f4080, execute_once=true) at ../src/backend/executor/execMain.c:1646 [15:03:32.148] slot = [15:03:32.148] current_tuple_count = 0 [15:03:32.148] #11 0x0000555eabfff3f3 in standard_ExecutorRun (queryDesc=0x555ead6f7898, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:363 [15:03:32.148] estate = 0x555ead66e180 [15:03:32.148] operation = CMD_MERGE [15:03:32.148] dest = 0x555ead6f4080 [15:03:32.148] sendTuples = true [15:03:32.148] oldcontext = 0x555ead6f3d70 [15:03:32.148] __func__ = "standard_ExecutorRun" [15:03:32.148] #12 0x0000555eabfff55e in ExecutorRun (queryDesc=queryDesc@entry=0x555ead6f7898, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:304 [15:03:32.148] No locals. [15:03:32.148] #13 0x0000555eac4259a1 in ProcessQuery (plan=plan@entry=0x555ead76c088, sourceText=0x555ead56b1e0 "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=0x555ead6f4080, qc=qc@entry=0x7ffe7cb30ff0) at ../src/backend/tcop/pquery.c:160 [15:03:32.148] queryDesc = 0x555ead6f7898 [15:03:32.148] #14 0x0000555eac4276f0 in PortalRunMulti (portal=portal@entry=0x555ead5ebf10, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x555ead6f4080, altdest=0x555eacc14320 , qc=qc@entry=0x7ffe7cb30ff0) at ../src/backend/tcop/pquery.c:1277 [15:03:32.148] pstmt = 0x555ead76c088 [15:03:32.148] stmtlist_item__state = {l = , i = } [15:03:32.148] active_snapshot_set = true [15:03:32.148] stmtlist_item = 0x555ead76c1b0 [15:03:32.148] #15 0x0000555eac427d96 in FillPortalStore (portal=portal@entry=0x555ead5ebf10, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [15:03:32.148] treceiver = 0x555ead6f4080 [15:03:32.148] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [15:03:32.148] __func__ = "FillPortalStore" [15:03:32.148] #16 0x0000555eac4283f5 in PortalRun (portal=portal@entry=0x555ead5ebf10, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x555ead76c1e8, altdest=altdest@entry=0x555ead76c1e8, qc=0x7ffe7cb311d0) at ../src/backend/tcop/pquery.c:763 [15:03:32.148] _save_exception_stack = 0x7ffe7cb31280 [15:03:32.148] _save_context_stack = 0x0 [15:03:32.148] _local_sigjmp_buf = {{__jmpbuf = {1, -5853996708234262244, 93865125528040, 93865125792240, 93865123954448, 93865125792168, 5854279724341397788, 324036554161916188}, __mask_was_saved = 0, __saved_mask = {__val = {93865123966008, 93865111306222, 93865123962656, 93865111306222, 1, 140730990530911, 93865125792216, 93865125792168, 93865108224137, 93865110888617, 93865123954448, 93865111306222, 1, 1, 93865108492938, 163}}}} [15:03:32.148] _do_rethrow = [15:03:32.148] result = [15:03:32.148] nprocessed = [15:03:32.148] saveTopTransactionResourceOwner = 0x555ead5aabd8 [15:03:32.148] saveTopTransactionContext = 0x555ead593af0 [15:03:32.148] saveActivePortal = 0x0 [15:03:32.148] saveResourceOwner = 0x555ead5aabd8 [15:03:32.148] savePortalContext = 0x0 [15:03:32.148] saveMemoryContext = 0x555ead593af0 [15:03:32.148] __func__ = "PortalRun" [15:03:32.148] #17 0x0000555eac42137e in exec_simple_query (query_string=query_string@entry=0x555ead56b1e0 "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:1274 [15:03:32.148] cmdtaglen = 5 [15:03:32.148] snapshot_set = [15:03:32.148] per_parsetree_context = 0x0 [15:03:32.148] plantree_list = 0x555ead76c198 [15:03:32.148] parsetree = 0x555ead7ac9a8 [15:03:32.148] commandTag = [15:03:32.148] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [15:03:32.148] querytree_list = [15:03:32.148] portal = 0x555ead5ebf10 [15:03:32.148] receiver = 0x555ead76c1e8 [15:03:32.148] format = 0 [15:03:32.148] cmdtagname = [15:03:32.148] parsetree_item__state = {l = , i = } [15:03:32.148] dest = DestRemote [15:03:32.148] oldcontext = 0x555ead593af0 [15:03:32.148] parsetree_list = 0x555ead7ac9d8 [15:03:32.148] parsetree_item = 0x555ead7ac9f0 [15:03:32.148] save_log_statement_stats = false [15:03:32.148] was_logged = false [15:03:32.148] use_implicit_block = false [15:03:32.148] msec_str = "0\024\263|\376\177\000\000\"\225o\254^U\000\000`\022\263|\376\177\000\000\026\001\000\000\000\000\000" [15:03:32.148] __func__ = "exec_simple_query" [15:03:32.148] #18 0x0000555eac42413c in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4680 [15:03:32.148] query_string = 0x555ead56b1e0 "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"... [15:03:32.148] firstchar = [15:03:32.148] input_message = {data = 0x555ead56b1e0 "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} [15:03:32.148] local_sigjmp_buf = {{__jmpbuf = {93865121002776, 324038588266449180, 4, 140730990531632, 140730990531780, 1, 5854279724421089564, 324036548055927068}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 15624, 0, 1, 139713555885540, 93865123401360, 15616, 15680, 93865108396334, 93865121002784, 93865123401360, 93865120996856, 140730990531632, 140730990531780, 93865108400402, 140730990531408}}}} [15:03:32.148] send_ready_for_query = false [15:03:32.148] idle_in_transaction_timeout_enabled = false [15:03:32.148] idle_session_timeout_enabled = false [15:03:32.148] __func__ = "PostgresMain" [15:03:32.148] #19 0x0000555eac41a8de in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:105 [15:03:32.148] bsdata = [15:03:32.148] #20 0x0000555eac2bebd9 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffe7cb313dc "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe7cb31430) at ../src/backend/postmaster/launch_backend.c:265 [15:03:32.148] pid = [15:03:32.148] #21 0x0000555eac2c4f0c in BackendStartup (client_sock=client_sock@entry=0x7ffe7cb31430) at ../src/backend/postmaster/postmaster.c:3593 [15:03:32.148] bn = 0x555ead5940c8 [15:03:32.148] pid = [15:03:32.148] startup_data = {canAcceptConnections = CAC_OK} [15:03:32.148] __func__ = "BackendStartup" [15:03:32.148] #22 0x0000555eac2c54ba in ServerLoop () at ../src/backend/postmaster/postmaster.c:1674 [15:03:32.148] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "\000\000\000\000\000\000\210+֘\021\177\000\000 c\363\230\021\177\000\000\001\000\000\000\000\000\000\000\244\003n\232\021\177\000\000-\000\000\000\000\000\000\000\020.ט\021\177\000\000 \371\246\231\021\177\000\000\b\025\263|\376\177\000\000\004\025\263|\376\177\000\000\320hY\255^U", '\000' , "\020.ט\021\177\000\000\340O֘\021\177\000", __ss_align = 139713557270506}, salen = 2}} [15:03:32.148] i = 0 [15:03:32.148] now = [15:03:32.148] last_lockfile_recheck_time = 1712674784 [15:03:32.148] last_touch_time = 1712674784 [15:03:32.148] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = 2092111312, events = 32766, fd = -1728879840, user_data = 0x7ffe7cb315c0}, {pos = 45, events = 0, fd = -1703927424, user_data = 0x7cb31590}, {pos = 0, events = 0, fd = -1703927424, user_data = 0x59e7c8ee}, {pos = -1717110904, events = 32529, fd = -1728868374, user_data = 0x7ffe7cb31668}, {pos = 2092111296, events = 32766, fd = 2092111312, user_data = 0x7f119a6e0ce1 <_dl_lookup_symbol_x+289>}, {pos = 18, events = 0, fd = -1770822120, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7f1199a6f420}, {pos = 2092111248, events = 32766, fd = -1770822120, user_data = 0x7f1199a6f420}, {pos = -1396492120, events = 1, fd = -1717110904, user_data = 0x0}, {pos = -1386673808, events = 21854, fd = -1386640472, user_data = 0xffffffff}, {pos = -1704045021, events = 32529, fd = -1730784232, user_data = 0x7f1199a6f920}, {pos = -1386640504, events = 21854, fd = -1730737672, user_data = 0x7ffe7cb319b0}, {pos = -1704016246, events = 32529, fd = 16, user_data = 0x100007f}, {pos = 16, events = 0, fd = -1728765704, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x1}, {pos = -1386819664, events = 21854, fd = -1704045021, user_data = 0x1}, {pos = 0, events = 0, fd = -1386640680, user_data = 0x7f1198d65418}, {pos = 2092112384, events = 32766, fd = -1704016246, user_data = 0x0}, {pos = 0, events = 0, fd = 2092112416, user_data = 0x555ead30d2c0 }, {pos = 2, events = 0, fd = -1389309248, user_data = 0x0}, {pos = 4096, events = 0, fd = 99, user_data = 0x10f}, {pos = 4144, events = 0, fd = 8096, user_data = 0x7000000101}, {pos = 111, events = 124, fd = 1, user_data = 0x7700000063}, {pos = 8, events = 0, fd = 0, user_data = 0x2020206c6c612020}, {pos = 255, events = 0, fd = 4096, user_data = 0xffffffffffffff08}, {pos = 0, events = 0, fd = -1386646760, user_data = 0x3ff}, {pos = 4096, events = 0, fd = -1386836176, user_data = 0x555ead568f30}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 4294901760, fd = -1, user_data = 0xffffffffffffffff}, {pos = 1734701663, events = 1936942450, fd = 2003728685, user_data = 0x31776e792d737365}, {pos = 168447820, events = 908075040, fd = 822763892, user_data = 0x30340a3438373437}, {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 = 0x400}, {pos = -1386836176, events = 21854, fd = -1728920448, user_data = 0x1ad568f30}, {pos = 784, events = 0, fd = -1399491124, user_data = 0x555ead596360}, {pos = -521806848, events = 2877672909, fd = 4, user_data = 0x555ead5972e0}, {pos = -1386650784, events = 21854, fd = -1386650584, 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 = -1386650584, user_data = 0x400}, {pos = 0, events = 0, fd = -1401769635, user_data = 0x555ead31b4d0 }, {pos = -1401843753, events = 21854, fd = -1386650784, user_data = 0x555ead56b0e0}, {pos = -1386650784, events = 21854, fd = 15, user_data = 0x4a}, {pos = -1401767825, events = 21854, fd = -1386650784, user_data = 0x555eac72b9b8 }, {pos = -1386836176, events = 21854, fd = -1730266117, user_data = 0x0}, {pos = -1408412893, events = 21854, fd = -1386662176, user_data = 0x7f1198de01aa}, {pos = 2092112568, events = 1, fd = 0, user_data = 0x7f1198dde8f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 11, user_data = 0x0}, {pos = 0, events = 0, fd = 20378, user_data = 0x7f1198e28b05 }, {pos = 0, events = 0, fd = -521806848, user_data = 0x0}, {pos = -1406408449, events = 21854, fd = 4194304, user_data = 0x555eac718e6b }, {pos = -1386662176, events = 21854, fd = -1386827552, user_data = 0x555ead5936e0}, {pos = 1, events = 0, fd = 0, user_data = 0x555eac72b86f }, {pos = -1386662176, events = 21854, fd = -1401767496, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x555eac0d4ef6 }, {pos = 0, events = 0, fd = -1408389940, user_data = 0xb}, {pos = -1406386594, events = 21854, fd = 0, user_data = 0x0}} [15:03:32.149] nevents = 1 [15:03:32.149] __func__ = "ServerLoop" [15:03:32.149] #23 0x0000555eac2c6edc in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x555ead564df0) at ../src/backend/postmaster/postmaster.c:1372 [15:03:32.149] opt = [15:03:32.149] status = [15:03:32.149] userDoption = [15:03:32.149] listen_addr_saved = false [15:03:32.149] output_config_variable = [15:03:32.149] __func__ = "PostmasterMain" [15:03:32.149] #24 0x0000555eac0e6559 in main (argc=8, argv=0x555ead564df0) at ../src/backend/main/main.c:197 [15:03:32.149] do_check_root = [15:03:32.168] -e [15:03:32.168] [15:03:32.168] [15:03:32.711] dumping /tmp/cores/postgres-6-23789.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [15:03:33.045] [New LWP 23789] [15:03:34.202] [Thread debugging using libthread_db enabled] [15:03:34.202] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [15:03:35.651] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [15:03:35.651] Program terminated with signal SIGABRT, Aborted. [15:03:35.651] #0 0x00007fe1c621ece1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [15:03:35.885] [15:03:35.885] Thread 1 (Thread 0x7fe1c3bb5a40 (LWP 23789)): [15:03:35.885] #0 0x00007fe1c621ece1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [15:03:35.885] No symbol table info available. [15:03:35.885] #1 0x00007fe1c6208537 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [15:03:35.885] No symbol table info available. [15:03:35.885] #2 0x000055c388e5c142 in ExceptionalCondition (conditionName=conditionName@entry=0x55c3890b3578 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55c3890d8198 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [15:03:35.885] No locals. [15:03:35.885] #3 0x000055c3887ac8e3 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffe19deffe0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffe19defe7f) at ../src/backend/executor/execTuples.c:1737 [15:03:35.885] No locals. [15:03:35.885] #4 0x000055c38872f110 in ExecIRDeleteTriggers (estate=estate@entry=0x55c38b60b8a0, relinfo=relinfo@entry=0x55c38b60be50, slot=slot@entry=0x7ffe19deffe0) at ../src/backend/commands/trigger.c:2832 [15:03:35.885] trigger = 0x55c38b60c0b0 [15:03:35.885] oldtuple = [15:03:35.885] trigdesc = 0x55c38b60c060 [15:03:35.885] newtuple = 0x0 [15:03:35.885] should_free = false [15:03:35.885] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fe1bac0c6b0, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [15:03:35.885] i = 0 [15:03:35.885] #5 0x000055c38880f4a2 in ExecMergeMatched (context=0x7ffe19df0000, resultRelInfo=resultRelInfo@entry=0x55c38b60be50, tupleid=0x0, oldtuple=0x7ffe19deffe0, canSetTag=true, matched=matched@entry=0x7ffe19deff8f) at ../src/backend/executor/nodeModifyTable.c:2976 [15:03:35.885] relaction = 0x55c38b63fc68 [15:03:35.885] commandType = CMD_DELETE [15:03:35.885] result = TM_Ok [15:03:35.885] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [15:03:35.885] l__state = {l = , i = } [15:03:35.885] mtstate = 0x55c38b60bc40 [15:03:35.885] mergeActions = 0x55c38b60bf60 [15:03:35.885] actionStates = 0x55c38b640228 [15:03:35.885] newslot = 0x0 [15:03:35.885] rslot = 0x0 [15:03:35.885] estate = 0x55c38b60b8a0 [15:03:35.885] econtext = 0x55c38b63f278 [15:03:35.885] isNull = false [15:03:35.885] epqstate = 0x55c38b60bd28 [15:03:35.885] l = [15:03:35.885] __func__ = "ExecMergeMatched" [15:03:35.885] lmerge_matched = [15:03:35.885] #6 0x000055c38881058a in ExecMerge (context=context@entry=0x7ffe19df0000, resultRelInfo=resultRelInfo@entry=0x55c38b60be50, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffe19deffe0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2738 [15:03:35.885] rslot = 0x0 [15:03:35.885] matched = true [15:03:35.885] #7 0x000055c3888122e1 in ExecModifyTable (pstate=0x55c38b60bc40) at ../src/backend/executor/nodeModifyTable.c:4067 [15:03:35.885] node = 0x55c38b60bc40 [15:03:35.885] context = {mtstate = 0x55c38b60bc40, epqstate = 0x55c38b60bd28, estate = 0x55c38b60b8a0, planSlot = 0x55c38b63dc88, tmfd = {ctid = {ip_blkid = {bi_hi = 1, bi_lo = 0}, ip_posid = 0}, xmax = 2289603514, cmax = 21955, traversed = 56}, cpUpdateReturningSlot = 0x55c38b7068a0} [15:03:35.885] estate = 0x55c38b60b8a0 [15:03:35.885] operation = CMD_MERGE [15:03:35.885] resultRelInfo = 0x55c38b60be50 [15:03:35.885] subplanstate = 0x55c38b60c580 [15:03:35.885] slot = [15:03:35.885] oldSlot = [15:03:35.885] tuple_ctid = {ip_blkid = {bi_hi = 35696, bi_lo = 21955}, ip_posid = 0} [15:03:35.885] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55c38b66d9e8} [15:03:35.885] oldtuple = 0x7ffe19deffe0 [15:03:35.885] tupleid = 0x0 [15:03:35.885] __func__ = "ExecModifyTable" [15:03:35.885] #8 0x000055c38879e9ae in ExecProcNodeFirst (node=0x55c38b60bc40) at ../src/backend/executor/execProcnode.c:464 [15:03:35.885] No locals. [15:03:35.885] #9 0x000055c38878b0a9 in ExecProcNode (node=0x55c38b60bc40) at ../src/include/executor/executor.h:274 [15:03:35.885] No locals. [15:03:35.885] #10 ExecutePlan (estate=estate@entry=0x55c38b60b8a0, planstate=0x55c38b60bc40, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55c38b6917a0, execute_once=true) at ../src/backend/executor/execMain.c:1646 [15:03:35.885] slot = [15:03:35.885] current_tuple_count = 0 [15:03:35.885] #11 0x000055c38878b3f3 in standard_ExecutorRun (queryDesc=0x55c38b69e088, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:363 [15:03:35.885] estate = 0x55c38b60b8a0 [15:03:35.885] operation = CMD_MERGE [15:03:35.885] dest = 0x55c38b6917a0 [15:03:35.885] sendTuples = true [15:03:35.885] oldcontext = 0x55c38b691490 [15:03:35.885] __func__ = "standard_ExecutorRun" [15:03:35.885] #12 0x000055c38878b55e in ExecutorRun (queryDesc=queryDesc@entry=0x55c38b69e088, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:304 [15:03:35.885] No locals. [15:03:35.885] #13 0x000055c388bb19a1 in ProcessQuery (plan=plan@entry=0x55c38b7097a8, sourceText=0x55c38b5081d0 "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=0x55c38b6917a0, qc=qc@entry=0x7ffe19df0220) at ../src/backend/tcop/pquery.c:160 [15:03:35.885] queryDesc = 0x55c38b69e088 [15:03:35.885] #14 0x000055c388bb36f0 in PortalRunMulti (portal=portal@entry=0x55c38b58bed0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55c38b6917a0, altdest=0x55c3893a0320 , qc=qc@entry=0x7ffe19df0220) at ../src/backend/tcop/pquery.c:1277 [15:03:35.885] pstmt = 0x55c38b7097a8 [15:03:35.885] stmtlist_item__state = {l = , i = } [15:03:35.885] active_snapshot_set = true [15:03:35.885] stmtlist_item = 0x55c38b7098d0 [15:03:35.885] #15 0x000055c388bb3d96 in FillPortalStore (portal=portal@entry=0x55c38b58bed0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [15:03:35.885] treceiver = 0x55c38b6917a0 [15:03:35.885] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [15:03:35.885] __func__ = "FillPortalStore" [15:03:35.885] #16 0x000055c388bb43f5 in PortalRun (portal=portal@entry=0x55c38b58bed0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55c38b709908, altdest=altdest@entry=0x55c38b709908, qc=0x7ffe19df0400) at ../src/backend/tcop/pquery.c:763 [15:03:35.885] _save_exception_stack = 0x7ffe19df04b0 [15:03:35.885] _save_context_stack = 0x0 [15:03:35.885] _local_sigjmp_buf = {{__jmpbuf = {1, -6754487415319103663, 94298346395912, 94298346660112, 94298344832720, 94298346660040, 6755134207744210769, 703735876298667857}, __mask_was_saved = 0, __saved_mask = {__val = {94298344844280, 94298306936814, 94298344840928, 94298306936814, 1, 140729332466575, 94298346660088, 94298346660040, 94298303854729, 94298306519209, 94298344832720, 94298306936814, 1, 1, 94298304123530, 163}}}} [15:03:35.885] _do_rethrow = [15:03:35.885] result = [15:03:35.885] nprocessed = [15:03:35.885] saveTopTransactionResourceOwner = 0x55c38b549088 [15:03:35.885] saveTopTransactionContext = 0x55c38b5e22d0 [15:03:35.885] saveActivePortal = 0x0 [15:03:35.885] saveResourceOwner = 0x55c38b549088 [15:03:35.885] savePortalContext = 0x0 [15:03:35.885] saveMemoryContext = 0x55c38b5e22d0 [15:03:35.885] __func__ = "PortalRun" [15:03:35.885] #17 0x000055c388bad37e in exec_simple_query (query_string=query_string@entry=0x55c38b5081d0 "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:1274 [15:03:35.885] cmdtaglen = 5 [15:03:35.885] snapshot_set = [15:03:35.885] per_parsetree_context = 0x0 [15:03:35.885] plantree_list = 0x55c38b7098b8 [15:03:35.885] parsetree = 0x55c38b74a0c8 [15:03:35.885] commandTag = [15:03:35.885] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [15:03:35.885] querytree_list = [15:03:35.885] portal = 0x55c38b58bed0 [15:03:35.885] receiver = 0x55c38b709908 [15:03:35.885] format = 0 [15:03:35.885] cmdtagname = [15:03:35.885] parsetree_item__state = {l = , i = } [15:03:35.885] dest = DestRemote [15:03:35.885] oldcontext = 0x55c38b5e22d0 [15:03:35.885] parsetree_list = 0x55c38b74a0f8 [15:03:35.885] parsetree_item = 0x55c38b74a110 [15:03:35.885] save_log_statement_stats = false [15:03:35.885] was_logged = true [15:03:35.885] use_implicit_block = false [15:03:35.885] msec_str = "`\006\337\031\376\177\000\000\"U\350\210\303U\000\000\220\004\337\031\376\177\000\000\026\001\000\000\000\000\000" [15:03:35.885] __func__ = "exec_simple_query" [15:03:35.885] #18 0x000055c388bb013c in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4680 [15:03:35.885] query_string = 0x55c38b5081d0 "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"... [15:03:35.885] firstchar = [15:03:35.885] input_message = {data = 0x55c38b5081d0 "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} [15:03:35.885] local_sigjmp_buf = {{__jmpbuf = {94298316633368, 703738222790768465, 4, 140729332467296, 140729332467444, 1, 6755134207547078481, 703735882539398993}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 14344, 0, 1, 140607668796900, 94298344267424, 14336, 14400, 94298304026926, 94298316633376, 94298344267424, 94298316627448, 140729332467296, 140729332467444, 94298304030994, 140729332467072}}}} [15:03:35.885] send_ready_for_query = false [15:03:35.885] idle_in_transaction_timeout_enabled = false [15:03:35.885] idle_session_timeout_enabled = false [15:03:35.885] __func__ = "PostgresMain" [15:03:35.885] #19 0x000055c388ba68de in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:105 [15:03:35.885] bsdata = [15:03:35.885] #20 0x000055c388a4abd9 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffe19df060c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe19df0660) at ../src/backend/postmaster/launch_backend.c:265 [15:03:35.885] pid = [15:03:35.885] #21 0x000055c388a50f0c in BackendStartup (client_sock=client_sock@entry=0x7ffe19df0660) at ../src/backend/postmaster/postmaster.c:3593 [15:03:35.885] bn = 0x55c38b53e1d8 [15:03:35.885] pid = [15:03:35.885] startup_data = {canAcceptConnections = CAC_OK} [15:03:35.885] __func__ = "BackendStartup" [15:03:35.885] #22 0x000055c388a514ba in ServerLoop () at ../src/backend/postmaster/postmaster.c:1674 [15:03:35.885] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\037\306\341\177\000\000 I\357\306\341\177\000\000\b\a\337\031\376\177\000\000\004\a\337\031\376\177\000\000\000\000\000\000\376\177\000\000@\356\276\303\341\177\000\000\000\000\000\000\376\177\000\000\020~\037\306\341\177\000\000\340\237\036\306\341\177\000\000\352\337;\306\341\177\000\000\356\310\347Y\000\000\000\000#\237g\001\000\000\000\000\004\a\337\031\376\177\000\000@\356\276\303\341\177\000\000\320\a\337\031\376\177\000", __ss_align = 140607670170400}, salen = 2}} [15:03:35.885] i = 0 [15:03:35.885] now = [15:03:35.885] last_lockfile_recheck_time = 1712674786 [15:03:35.885] last_touch_time = 1712674786 [15:03:35.885] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 18, user_data = 0x59e7c8ee}, {pos = -957397112, events = 32737, fd = -969154582, user_data = 0x7ffe19df0868}, {pos = 434046912, events = 32766, fd = 434046928, user_data = 0x7fe1c7b65ce1 <_dl_lookup_symbol_x+289>}, {pos = 18, events = 0, fd = -1011108328, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7fe1c6ef4420}, {pos = -1, events = 0, fd = -1011108328, user_data = 0x7fe1c6ef4420}, {pos = -957396704, events = 1, fd = -957397112, user_data = 0x0}, {pos = 434046912, events = 32766, fd = 1024, user_data = 0xffffffff}, {pos = 434047200, events = 32766, fd = -971070440, user_data = 0x7fe1c6ef4920}, {pos = -1957489800, events = 21955, fd = -1957490168, user_data = 0x55c38b533010}, {pos = -1957489768, events = 21955, fd = -1957485839, user_data = 0x7fe1c7b6a623 <_dl_fixup+211>}, {pos = 1, events = 0, fd = -969051912, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x1}, {pos = -1957650576, events = 21955, fd = -944331229, user_data = 0x1}, {pos = 0, events = 0, fd = -1957482480, user_data = 0x7fe1c61ea418}, {pos = 434048048, events = 32766, fd = -944302454, user_data = 0x0}, {pos = 0, events = 0, fd = 434048080, user_data = 0x55c389a992c0 }, {pos = 2, events = 0, fd = -1985375552, user_data = 0x0}, {pos = -970543540, events = 32737, fd = -1957445632, user_data = 0x7fe1c63b4be0}, {pos = 255, events = 0, fd = 8096, user_data = 0x0}, {pos = 4096, events = 0, fd = 99, user_data = 0x10f}, {pos = 4144, events = 0, fd = 64, user_data = 0x7000000101}, {pos = 111, events = 124, fd = 1, user_data = 0x7700000063}, {pos = 8, events = 0, fd = 0, user_data = 0xffff0000ffffff00}, {pos = 255, events = 0, fd = 4096, user_data = 0xffffffffffffff08}, {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 = 0x55c38b505f40}, {pos = -1957667008, events = 21955, fd = -969209728, user_data = 0x7fe1c626351a <_IO_file_underflow+378>}, {pos = 7, events = 0, fd = -970552018, user_data = 0x400}, {pos = -1957667008, events = 21955, fd = -969206656, user_data = 0x18b505f40}, {pos = 784, events = 0, fd = -1995557428, 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 = 0, user_data = 0x55c388ea4d30 }, {pos = -1957490976, events = 21955, fd = -1957490976, user_data = 0x55c38b530ee0}, {pos = 1, events = 0, fd = -1957490776, user_data = 0x400}, {pos = 0, events = 0, fd = -1997835939, user_data = 0x55c389aa74d0 }, {pos = -1997910057, events = 21955, fd = -1957490976, user_data = 0x55c38b5080d0}, {pos = -1957490976, events = 21955, fd = 15, user_data = 0x4a}, {pos = -1997834129, events = 21955, fd = -1957490976, user_data = 0x55c388eb79b8 }, {pos = -1957667008, events = 21955, fd = -970552018, user_data = 0x0}, {pos = -2004479197, events = 21955, fd = -1957496128, user_data = 0x7fe1c62651aa}, {pos = 434048232, events = 1, fd = 0, user_data = 0x7fe1c62638f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 11, user_data = 0x0}, {pos = 0, events = 0, fd = 20927, user_data = 0x7fe1c62adb05 }, {pos = 0, events = 0, fd = 86506496, user_data = 0x0}, {pos = -2002474753, events = 21955, fd = 4194304, user_data = 0x55c388ea4e6b }, {pos = -1957496128, events = 21955, fd = -1957658416, user_data = 0x55c38b52fac0}, {pos = 1, events = 0, fd = 0, user_data = 0x55c388eb786f }, {pos = -1957496128, events = 21955, fd = -1997833800, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x55c388860ef6 }, {pos = 0, events = 0, fd = -2004456244, user_data = 0xb}, {pos = -2002452898, events = 21955, fd = 0, user_data = 0x0}} [15:03:35.887] nevents = 1 [15:03:35.887] __func__ = "ServerLoop" [15:03:35.887] #23 0x000055c388a52edc in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55c38b501db0) at ../src/backend/postmaster/postmaster.c:1372 [15:03:35.887] opt = [15:03:35.887] status = [15:03:35.887] userDoption = [15:03:35.887] listen_addr_saved = false [15:03:35.887] output_config_variable = [15:03:35.887] __func__ = "PostmasterMain" [15:03:35.887] #24 0x000055c388872559 in main (argc=4, argv=0x55c38b501db0) at ../src/backend/main/main.c:197 [15:03:35.887] do_check_root = [15:03:35.906] -e [15:03:35.906] [15:03:35.906] [15:03:36.448] dumping /tmp/cores/postgres-6-29561.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [15:03:36.776] [New LWP 29561] [15:03:37.945] [Thread debugging using libthread_db enabled] [15:03:37.945] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [15:03:39.393] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [15:03:39.393] Program terminated with signal SIGABRT, Aborted. [15:03:39.393] #0 0x00007ff111077ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [15:03:39.638] [15:03:39.638] Thread 1 (Thread 0x7ff10ea0ea40 (LWP 29561)): [15:03:39.638] #0 0x00007ff111077ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [15:03:39.638] No symbol table info available. [15:03:39.638] #1 0x00007ff111061537 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [15:03:39.638] No symbol table info available. [15:03:39.638] #2 0x0000557942638142 in ExceptionalCondition (conditionName=conditionName@entry=0x55794288f578 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x5579428b4198 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [15:03:39.638] No locals. [15:03:39.638] #3 0x0000557941f888e3 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7fff9062c610, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7fff9062c4af) at ../src/backend/executor/execTuples.c:1737 [15:03:39.638] No locals. [15:03:39.638] #4 0x0000557941f0b110 in ExecIRDeleteTriggers (estate=estate@entry=0x557944750900, relinfo=relinfo@entry=0x557944750eb0, slot=slot@entry=0x7fff9062c610) at ../src/backend/commands/trigger.c:2832 [15:03:39.638] trigger = 0x557944751110 [15:03:39.638] oldtuple = [15:03:39.638] trigdesc = 0x5579447510c0 [15:03:39.638] newtuple = 0x0 [15:03:39.638] should_free = false [15:03:39.638] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7ff10cbf1808, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [15:03:39.638] i = 0 [15:03:39.638] #5 0x0000557941feb4a2 in ExecMergeMatched (context=0x7fff9062c630, resultRelInfo=resultRelInfo@entry=0x557944750eb0, tupleid=0x0, oldtuple=0x7fff9062c610, canSetTag=true, matched=matched@entry=0x7fff9062c5bf) at ../src/backend/executor/nodeModifyTable.c:2976 [15:03:39.638] relaction = 0x5579447dd538 [15:03:39.638] commandType = CMD_DELETE [15:03:39.638] result = TM_Ok [15:03:39.638] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [15:03:39.638] l__state = {l = , i = } [15:03:39.638] mtstate = 0x557944750ca0 [15:03:39.638] mergeActions = 0x557944750fc0 [15:03:39.638] actionStates = 0x5579447ddaf8 [15:03:39.638] newslot = 0x0 [15:03:39.638] rslot = 0x0 [15:03:39.638] estate = 0x557944750900 [15:03:39.638] econtext = 0x5579447dcb48 [15:03:39.638] isNull = false [15:03:39.638] epqstate = 0x557944750d88 [15:03:39.638] l = [15:03:39.638] __func__ = "ExecMergeMatched" [15:03:39.638] lmerge_matched = [15:03:39.638] #6 0x0000557941fec58a in ExecMerge (context=context@entry=0x7fff9062c630, resultRelInfo=resultRelInfo@entry=0x557944750eb0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7fff9062c610, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2738 [15:03:39.638] rslot = 0x0 [15:03:39.638] matched = true [15:03:39.638] #7 0x0000557941fee2e1 in ExecModifyTable (pstate=0x557944750ca0) at ../src/backend/executor/nodeModifyTable.c:4067 [15:03:39.638] node = 0x557944750ca0 [15:03:39.638] context = {mtstate = 0x557944750ca0, epqstate = 0x557944750d88, estate = 0x557944750900, planSlot = 0x5579447db558, tmfd = {ctid = {ip_blkid = {bi_hi = 54184, bi_lo = 17533}, ip_posid = 21881}, xmax = 1149140248, cmax = 21881, traversed = 160}, cpUpdateReturningSlot = 0x557941f6e66d } [15:03:39.638] estate = 0x557944750900 [15:03:39.638] operation = CMD_MERGE [15:03:39.638] resultRelInfo = 0x557944750eb0 [15:03:39.638] subplanstate = 0x5579447515e0 [15:03:39.638] slot = [15:03:39.638] oldSlot = [15:03:39.638] tuple_ctid = {ip_blkid = {bi_hi = 0, bi_lo = 1}, ip_posid = 0} [15:03:39.638] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x557944795948} [15:03:39.638] oldtuple = 0x7fff9062c610 [15:03:39.638] tupleid = 0x0 [15:03:39.638] __func__ = "ExecModifyTable" [15:03:39.638] #8 0x0000557941f7a9ae in ExecProcNodeFirst (node=0x557944750ca0) at ../src/backend/executor/execProcnode.c:464 [15:03:39.638] No locals. [15:03:39.638] #9 0x0000557941f670a9 in ExecProcNode (node=0x557944750ca0) at ../src/include/executor/executor.h:274 [15:03:39.638] No locals. [15:03:39.638] #10 ExecutePlan (estate=estate@entry=0x557944750900, planstate=0x557944750ca0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x557944714a00, execute_once=true) at ../src/backend/executor/execMain.c:1646 [15:03:39.638] slot = [15:03:39.638] current_tuple_count = 0 [15:03:39.638] #11 0x0000557941f673f3 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x5579447c92f8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:363 [15:03:39.638] estate = 0x557944750900 [15:03:39.638] operation = CMD_MERGE [15:03:39.638] dest = 0x557944714a00 [15:03:39.638] sendTuples = true [15:03:39.638] oldcontext = 0x5579447146f0 [15:03:39.638] __func__ = "standard_ExecutorRun" [15:03:39.638] #12 0x00007ff10e8337fc in pgss_ExecutorRun (queryDesc=0x5579447c92f8, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1032 [15:03:39.638] _save_exception_stack = 0x7fff9062ca00 [15:03:39.638] _save_context_stack = 0x0 [15:03:39.638] _local_sigjmp_buf = {{__jmpbuf = {93979328418552, -17435140160423490, 93979326886416, 93979327678976, 0, 0, -17435140468704834, -9232500794787394}, __mask_was_saved = 0, __saved_mask = {__val = {93979327924480, 93979328418552, 0, 93979327678192, 93979293602442, 0, 1, 0, 93979286258972, 93979328418552, 93979306112288, 93979327678192, 140673307333666, 93979328418552, 0, 93979326886416}}}} [15:03:39.638] _do_rethrow = false [15:03:39.638] #13 0x0000557941f67551 in ExecutorRun (queryDesc=queryDesc@entry=0x5579447c92f8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:302 [15:03:39.638] No locals. [15:03:39.638] #14 0x000055794238d9a1 in ProcessQuery (plan=plan@entry=0x5579447eaf10, sourceText=0x557944653210 "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=0x557944714a00, qc=qc@entry=0x7fff9062c960) at ../src/backend/tcop/pquery.c:160 [15:03:39.638] queryDesc = 0x5579447c92f8 [15:03:39.638] #15 0x000055794238f6f0 in PortalRunMulti (portal=portal@entry=0x5579446d4f20, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x557944714a00, altdest=0x557942b7c320 , qc=qc@entry=0x7fff9062c960) at ../src/backend/tcop/pquery.c:1277 [15:03:39.638] pstmt = 0x5579447eaf10 [15:03:39.638] stmtlist_item__state = {l = , i = } [15:03:39.638] active_snapshot_set = true [15:03:39.638] stmtlist_item = 0x5579447eb038 [15:03:39.638] #16 0x000055794238fd96 in FillPortalStore (portal=portal@entry=0x5579446d4f20, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [15:03:39.638] treceiver = 0x557944714a00 [15:03:39.638] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [15:03:39.638] __func__ = "FillPortalStore" [15:03:39.638] #17 0x00005579423903f5 in PortalRun (portal=portal@entry=0x5579446d4f20, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x5579447eb070, altdest=altdest@entry=0x5579447eb070, qc=0x7fff9062cb40) at ../src/backend/tcop/pquery.c:763 [15:03:39.638] _save_exception_stack = 0x7fff9062cbf0 [15:03:39.638] _save_context_stack = 0x0 [15:03:39.638] _local_sigjmp_buf = {{__jmpbuf = {1, 17220622163704254, 93979328557168, 93979329102640, 93979327418144, 93979329102568, -17435140133160514, -6138500426874160706}, __mask_was_saved = 0, __saved_mask = {__val = {93979327429704, 93979296415726, 93979327426352, 93979296415726, 1, 140735615781583, 93979329102616, 93979329102568, 93979293333641, 93979295998121, 93979327418144, 93979296415726, 1, 1, 93979293602442, 163}}}} [15:03:39.638] _do_rethrow = [15:03:39.638] result = [15:03:39.638] nprocessed = [15:03:39.638] saveTopTransactionResourceOwner = 0x5579446943f0 [15:03:39.638] saveTopTransactionContext = 0x55794467f800 [15:03:39.638] saveActivePortal = 0x0 [15:03:39.638] saveResourceOwner = 0x5579446943f0 [15:03:39.638] savePortalContext = 0x0 [15:03:39.638] saveMemoryContext = 0x55794467f800 [15:03:39.638] __func__ = "PortalRun" [15:03:39.638] #18 0x000055794238937e in exec_simple_query (query_string=query_string@entry=0x557944653210 "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:1274 [15:03:39.638] cmdtaglen = 5 [15:03:39.638] snapshot_set = [15:03:39.638] per_parsetree_context = 0x0 [15:03:39.638] plantree_list = 0x5579447eb020 [15:03:39.638] parsetree = 0x5579448702e8 [15:03:39.638] commandTag = [15:03:39.638] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [15:03:39.638] querytree_list = [15:03:39.638] portal = 0x5579446d4f20 [15:03:39.638] receiver = 0x5579447eb070 [15:03:39.638] format = 0 [15:03:39.638] cmdtagname = [15:03:39.638] parsetree_item__state = {l = , i = } [15:03:39.638] dest = DestRemote [15:03:39.638] oldcontext = 0x55794467f800 [15:03:39.638] parsetree_list = 0x557944870318 [15:03:39.638] parsetree_item = 0x557944870330 [15:03:39.638] save_log_statement_stats = false [15:03:39.638] was_logged = true [15:03:39.638] use_implicit_block = false [15:03:39.638] msec_str = "\240\315b\220\377\177\000\000\"\025fByU\000\000\320\313b\220\377\177\000\000\026\001\000\000\000\000\000" [15:03:39.638] __func__ = "exec_simple_query" [15:03:39.638] #19 0x000055794238c13c in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4680 [15:03:39.638] query_string = 0x557944653210 "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"... [15:03:39.638] firstchar = [15:03:39.638] input_message = {data = 0x557944653210 "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} [15:03:39.638] local_sigjmp_buf = {{__jmpbuf = {93979306112280, -6138502770482677314, 4, 140735615782304, 140735615782452, 1, -17435140070245954, -6138500429222577730}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 93979326861024, 16384, 8248, 93979293507545, 0, 0, 0, 93979306112288, 93979326861024, 93979306106360, 140735615782304, 140735615782452, 1, 93979293510595, 140735615782080}}}} [15:03:39.638] send_ready_for_query = false [15:03:39.638] idle_in_transaction_timeout_enabled = false [15:03:39.638] idle_session_timeout_enabled = false [15:03:39.638] __func__ = "PostgresMain" [15:03:39.638] #20 0x00005579423828de in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:105 [15:03:39.638] bsdata = [15:03:39.638] #21 0x0000557942226bd9 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7fff9062cd4c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7fff9062cda0) at ../src/backend/postmaster/launch_backend.c:265 [15:03:39.638] pid = [15:03:39.638] #22 0x000055794222cf0c in BackendStartup (client_sock=client_sock@entry=0x7fff9062cda0) at ../src/backend/postmaster/postmaster.c:3593 [15:03:39.638] bn = 0x55794467f9c8 [15:03:39.638] pid = [15:03:39.638] startup_data = {canAcceptConnections = CAC_OK} [15:03:39.638] __func__ = "BackendStartup" [15:03:39.638] #23 0x000055794222d4ba in ServerLoop () at ../src/backend/postmaster/postmaster.c:1674 [15:03:39.638] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\005\021\361\177\000\000 \331\324\021\361\177\000\000H\316b\220\377\177\000\000D\316b\220\377\177\000\000\000\000\000\000\377\177\000\000`\324gDyU\000\000\000\000\000\000\377\177\000\000\020\016\005\021\361\177\000\000\340/\004\021\361\177\000\000\352o!\021\361\177\000\000\356\310\347Y\000\000\000\000#\237g\001\000\000\000\000D\316b\220\377\177\000\000`\324gDyU\000\000\020\317b\220\377\177\000", __ss_align = 140673351238432}, salen = 2}} [15:03:39.638] i = 0 [15:03:39.638] now = [15:03:39.638] last_lockfile_recheck_time = 1712674808 [15:03:39.638] last_touch_time = 1712674808 [15:03:39.638] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 18, user_data = 0x59e7c8ee}, {pos = 299161480, events = 32753, fd = 287404010, user_data = 0x7fff9062cfa8}, {pos = -1872572672, events = 32767, fd = -1872572656, user_data = 0x7ff1129bece1 <_dl_lookup_symbol_x+289>}, {pos = 18, events = 0, fd = 245450264, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7ff111d4d420}, {pos = -1, events = 0, fd = 245450264, user_data = 0x7ff111d4d420}, {pos = 299161888, events = 1, fd = 299161480, user_data = 0x0}, {pos = -1872572672, events = 32767, fd = 1024, user_data = 0xffffffff}, {pos = -1872572384, events = 32767, fd = 285488152, user_data = 0x7ff111d4d920}, {pos = 1147679944, events = 21881, fd = 1147679576, user_data = 0x55794467eae0}, {pos = 1147679976, events = 21881, fd = 1147678737, user_data = 0x7ff1129c3623 <_dl_fixup+211>}, {pos = 1, events = 0, fd = 287506680, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x1}, {pos = 1147490416, events = 21881, fd = 312227363, user_data = 0x1}, {pos = 0, events = 0, fd = 1147661024, user_data = 0x7ff111043418}, {pos = -1872571536, events = 32767, fd = 312256138, user_data = 0x0}, {pos = 0, events = 0, fd = -1872571504, user_data = 0x5579432752c0 }, {pos = 2, events = 0, fd = 1126650560, user_data = 0x0}, {pos = 286015052, events = 32753, fd = 1147701392, user_data = 0x7ff11120dbe0}, {pos = 255, events = 0, fd = 8096, user_data = 0x0}, {pos = 4096, events = 0, fd = 99, user_data = 0x10f}, {pos = 4144, events = 0, fd = 64, user_data = 0x7000000101}, {pos = 111, events = 124, fd = 1, user_data = 0x7700000063}, {pos = 8, events = 0, fd = 0, user_data = 0x0}, {pos = 255, events = 0, fd = 4096, user_data = 0xffffffffffffff08}, {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 = 0xa39}, {pos = 0, events = 0, fd = -65536, user_data = 0xffffffffffffffff}, {pos = 811562031, events = 1935619890, fd = 1634038388, user_data = 0x797265766f636572}, {pos = 926036015, events = 1920234335, 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 = 0x557944650f80}, {pos = 1147473792, events = 21881, fd = 287348864, user_data = 0x7ff1110bc51a <_IO_file_underflow+378>}, {pos = 7, events = 0, fd = 286006267, user_data = 0x400}, {pos = 1147473792, events = 21881, fd = 287351936, user_data = 0x144650f80}, {pos = 784, events = 0, fd = 1116468684, 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 = 0, user_data = 0x557942680d30 }, {pos = 1147678768, events = 21881, fd = 1147678768, user_data = 0x557944683030}, {pos = 1, events = 0, fd = 1147678968, user_data = 0x400}, {pos = 0, events = 0, fd = 1114190173, user_data = 0x5579432834d0 }, {pos = 1114116055, events = 21881, fd = 1147678768, user_data = 0x557944653110}, {pos = 1147678768, events = 21881, fd = 15, user_data = 0x4a}, {pos = 1114191983, events = 21881, fd = 1147678768, user_data = 0x5579426939b8 }, {pos = 1147473792, events = 21881, fd = 286006574, user_data = 0x0}, {pos = 1107546915, events = 21881, fd = 1147652928, user_data = 0x7ff1110be1aa}, {pos = -1872571352, events = 1, fd = 0, user_data = 0x7ff1110bc8f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 11, user_data = 0x0}, {pos = 0, events = 0, fd = 27446, user_data = 0x7ff111106b05 }, {pos = 0, events = 0, fd = -619148544, user_data = 0x0}, {pos = 1109551359, events = 21881, fd = 4194304, user_data = 0x557942680e6b }, {pos = 1147652928, events = 21881, fd = 1147482384, user_data = 0x55794467cb40}, {pos = 1, events = 0, fd = 0, user_data = 0x55794269386f }, {pos = 1147652928, events = 21881, fd = 1114192312, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x55794203cef6 }, {pos = 0, events = 0, fd = 1107569868, user_data = 0xb}, {pos = 1109573214, events = 21881, fd = 0, user_data = 0x0}} [15:03:39.638] nevents = 1 [15:03:39.638] __func__ = "ServerLoop" [15:03:39.640] #24 0x000055794222eedc in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55794464cde0) at ../src/backend/postmaster/postmaster.c:1372 [15:03:39.640] opt = [15:03:39.640] status = [15:03:39.640] userDoption = [15:03:39.640] listen_addr_saved = false [15:03:39.640] output_config_variable = [15:03:39.640] __func__ = "PostmasterMain" [15:03:39.640] #25 0x000055794204e559 in main (argc=4, argv=0x55794464cde0) at ../src/backend/main/main.c:197 [15:03:39.640] do_check_root =