[12:15:11.697] src/tools/ci/cores_backtrace.sh linux /tmp/cores [12:15:12.405] dumping /tmp/cores/postgres-6-18939.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [12:15:14.059] [New LWP 18939] [12:15:14.059] Downloading separate debug info for /lib/x86_64-linux-gnu/libm.so.6... [12:15:14.818] Downloading separate debug info for /lib/x86_64-linux-gnu/libdl.so.2... [12:15:15.579] Downloading separate debug info for /lib/x86_64-linux-gnu/librt.so.1... [12:15:16.796] Downloading separate debug info for /lib/x86_64-linux-gnu/libgssapi_krb5.so.2... [12:15:19.157] Downloading separate debug info for /lib/x86_64-linux-gnu/libicuuc.so.67... [12:15:19.157] Downloading separate debug info for /.cache/debuginfod_client/f871bbd529a02abd860f0d16b842b5b20234cb49/debuginfo... [12:15:21.022] Downloading separate debug info for /lib/x86_64-linux-gnu/libicui18n.so.67... [12:15:22.232] Downloading separate debug info for /lib/x86_64-linux-gnu/libldap_r-2.4.so.2... [12:15:23.800] Downloading separate debug info for /lib/x86_64-linux-gnu/libxml2.so.2... [12:15:24.860] Downloading separate debug info for /lib/x86_64-linux-gnu/liblz4.so.1... [12:15:25.622] Downloading separate debug info for /lib/x86_64-linux-gnu/libpam.so.0... [12:15:26.847] Downloading separate debug info for /lib/x86_64-linux-gnu/libssl.so.1.1... [12:15:28.453] Downloading separate debug info for /lib/x86_64-linux-gnu/libcrypto.so.1.1... [12:15:29.856] Downloading separate debug info for /lib/x86_64-linux-gnu/libsystemd.so.0... [12:15:30.762] Downloading separate debug info for /lib/x86_64-linux-gnu/libz.so.1... [12:15:32.294] Downloading separate debug info for /lib/x86_64-linux-gnu/libzstd.so.1... [12:15:33.682] Downloading separate debug info for /lib/x86_64-linux-gnu/libpthread.so.0... [12:15:34.152] [Thread debugging using libthread_db enabled] [12:15:34.152] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [12:15:35.213] Downloading separate debug info for /lib64/ld-linux-x86-64.so.2... [12:15:36.600] Downloading separate debug info for /lib/x86_64-linux-gnu/libkrb5.so.3... [12:15:37.658] Downloading separate debug info for /lib/x86_64-linux-gnu/libk5crypto.so.3... [12:15:38.271] Downloading separate debug info for /lib/x86_64-linux-gnu/libcom_err.so.2... [12:15:39.034] Downloading separate debug info for /lib/x86_64-linux-gnu/libkrb5support.so.0... [12:15:41.304] Downloading separate debug info for /lib/x86_64-linux-gnu/libstdc++.so.6... [12:15:42.215] Downloading separate debug info for /lib/x86_64-linux-gnu/libgcc_s.so.1... [12:15:42.985] Downloading separate debug info for /lib/x86_64-linux-gnu/liblber-2.4.so.2... [12:15:43.893] Downloading separate debug info for /lib/x86_64-linux-gnu/libresolv.so.2... [12:15:44.805] Downloading separate debug info for /lib/x86_64-linux-gnu/libsasl2.so.2... [12:15:46.383] Downloading separate debug info for /lib/x86_64-linux-gnu/libgnutls.so.30... [12:15:47.444] Downloading separate debug info for /lib/x86_64-linux-gnu/liblzma.so.5... [12:15:48.207] Downloading separate debug info for /lib/x86_64-linux-gnu/libaudit.so.1... [12:15:49.588] Downloading separate debug info for /lib/x86_64-linux-gnu/libgcrypt.so.20... [12:15:50.204] Downloading separate debug info for /lib/x86_64-linux-gnu/libkeyutils.so.1... [12:15:51.734] Downloading separate debug info for /lib/x86_64-linux-gnu/libp11-kit.so.0... [12:15:52.497] Downloading separate debug info for /lib/x86_64-linux-gnu/libidn2.so.0... [12:15:53.721] Downloading separate debug info for /lib/x86_64-linux-gnu/libunistring.so.2... [12:15:54.486] Downloading separate debug info for /lib/x86_64-linux-gnu/libtasn1.so.6... [12:15:55.551] Downloading separate debug info for /lib/x86_64-linux-gnu/libnettle.so.8... [12:15:56.466] Downloading separate debug info for /lib/x86_64-linux-gnu/libhogweed.so.6... [12:15:57.690] Downloading separate debug info for /lib/x86_64-linux-gnu/libgmp.so.10... [12:15:58.305] Downloading separate debug info for /lib/x86_64-linux-gnu/libcap-ng.so.0... [12:15:59.221] Downloading separate debug info for /lib/x86_64-linux-gnu/libgpg-error.so.0... [12:15:59.979] Downloading separate debug info for /lib/x86_64-linux-gnu/libffi.so.7... [12:16:00.471] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [12:16:00.471] Program terminated with signal SIGABRT, Aborted. [12:16:00.471] #0 0x00007f3a2dc07ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [12:16:00.704] [12:16:00.704] Thread 1 (Thread 0x7f3a2b59ea40 (LWP 18939)): [12:16:00.704] #0 0x00007f3a2dc07ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [12:16:00.704] No symbol table info available. [12:16:00.704] #1 0x00007f3a2dbf1537 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [12:16:00.704] No symbol table info available. [12:16:00.704] #2 0x000055aff17199b5 in ExceptionalCondition (conditionName=conditionName@entry=0x55aff1962708 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55aff1986bf8 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [12:16:00.704] No locals. [12:16:00.704] #3 0x000055aff107d915 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffdba217f90, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffdba217e2f) at ../src/backend/executor/execTuples.c:1737 [12:16:00.704] No locals. [12:16:00.704] #4 0x000055aff1000d2b in ExecIRDeleteTriggers (estate=estate@entry=0x55aff297f520, relinfo=relinfo@entry=0x55aff297fad0, slot=slot@entry=0x7ffdba217f90) at ../src/backend/commands/trigger.c:2832 [12:16:00.704] trigger = 0x55aff297fd30 [12:16:00.704] oldtuple = [12:16:00.704] trigdesc = 0x55aff297fce0 [12:16:00.704] newtuple = 0x0 [12:16:00.704] should_free = false [12:16:00.704] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f3a226a4338, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [12:16:00.704] i = 0 [12:16:00.704] #5 0x000055aff10e03b6 in ExecMergeMatched (context=0x7ffdba217fb0, resultRelInfo=resultRelInfo@entry=0x55aff297fad0, tupleid=0x0, oldtuple=0x7ffdba217f90, canSetTag=true, matched=matched@entry=0x7ffdba217f3f) at ../src/backend/executor/nodeModifyTable.c:2938 [12:16:00.704] relaction = 0x55aff2969208 [12:16:00.704] commandType = CMD_DELETE [12:16:00.704] result = TM_Ok [12:16:00.704] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [12:16:00.704] l__state = {l = , i = } [12:16:00.704] mtstate = 0x55aff297f8c0 [12:16:00.704] newslot = 0x0 [12:16:00.704] rslot = 0x0 [12:16:00.704] estate = 0x55aff297f520 [12:16:00.704] econtext = 0x55aff2961ed8 [12:16:00.704] isNull = false [12:16:00.704] epqstate = 0x55aff297f9a8 [12:16:00.704] l = [12:16:00.704] lmerge_matched = [12:16:00.704] __func__ = "ExecMergeMatched" [12:16:00.704] #6 0x000055aff10e126a in ExecMerge (context=context@entry=0x7ffdba217fb0, resultRelInfo=resultRelInfo@entry=0x55aff297fad0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffdba217f90, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2717 [12:16:00.704] rslot = 0x0 [12:16:00.704] matched = true [12:16:00.704] #7 0x000055aff10e2bba in ExecModifyTable (pstate=0x55aff297f8c0) at ../src/backend/executor/nodeModifyTable.c:3981 [12:16:00.704] node = 0x55aff297f8c0 [12:16:00.704] context = {mtstate = 0x55aff297f8c0, epqstate = 0x55aff297f9a8, estate = 0x55aff297f520, planSlot = 0x55aff29608e8, tmfd = {ctid = {ip_blkid = {bi_hi = 1, bi_lo = 0}, ip_posid = 0}, xmax = 4043679186, cmax = 21935, traversed = 24}, cpUpdateReturningSlot = 0x55aff29e10d0} [12:16:00.704] estate = 0x55aff297f520 [12:16:00.704] operation = CMD_MERGE [12:16:00.704] resultRelInfo = 0x55aff297fad0 [12:16:00.704] subplanstate = 0x55aff2980200 [12:16:00.704] slot = [12:16:00.704] oldSlot = [12:16:00.704] tuple_ctid = {ip_blkid = {bi_hi = 62110, bi_lo = 21935}, ip_posid = 0} [12:16:00.704] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55aff299e0d8} [12:16:00.704] oldtuple = 0x7ffdba217f90 [12:16:00.704] tupleid = 0x0 [12:16:00.704] __func__ = "ExecModifyTable" [12:16:00.704] #8 0x000055aff106fa10 in ExecProcNodeFirst (node=0x55aff297f8c0) at ../src/backend/executor/execProcnode.c:464 [12:16:00.704] No locals. [12:16:00.704] #9 0x000055aff105c2c1 in ExecProcNode (node=0x55aff297f8c0) at ../src/include/executor/executor.h:274 [12:16:00.704] No locals. [12:16:00.704] #10 ExecutePlan (estate=estate@entry=0x55aff297f520, planstate=0x55aff297f8c0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55aff29b71d0, execute_once=true) at ../src/backend/executor/execMain.c:1644 [12:16:00.704] slot = [12:16:00.704] current_tuple_count = 0 [12:16:00.704] #11 0x000055aff105c60b in standard_ExecutorRun (queryDesc=0x55aff29b2038, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:363 [12:16:00.704] estate = 0x55aff297f520 [12:16:00.704] operation = CMD_MERGE [12:16:00.704] dest = 0x55aff29b71d0 [12:16:00.704] sendTuples = true [12:16:00.704] oldcontext = 0x55aff29b6ec0 [12:16:00.704] __func__ = "standard_ExecutorRun" [12:16:00.704] #12 0x000055aff105c776 in ExecutorRun (queryDesc=queryDesc@entry=0x55aff29b2038, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:304 [12:16:00.704] No locals. [12:16:00.704] #13 0x000055aff14728ef in ProcessQuery (plan=plan@entry=0x55aff29e3f88, sourceText=0x55aff282d280 "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=0x55aff29b71d0, qc=qc@entry=0x7ffdba2181d0) at ../src/backend/tcop/pquery.c:160 [12:16:00.704] queryDesc = 0x55aff29b2038 [12:16:00.704] #14 0x000055aff1474638 in PortalRunMulti (portal=portal@entry=0x55aff28b0f80, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55aff29b71d0, altdest=0x55aff1c43660 , qc=qc@entry=0x7ffdba2181d0) at ../src/backend/tcop/pquery.c:1277 [12:16:00.704] pstmt = 0x55aff29e3f88 [12:16:00.704] stmtlist_item__state = {l = , i = } [12:16:00.704] active_snapshot_set = true [12:16:00.704] stmtlist_item = 0x55aff29e40b0 [12:16:00.704] #15 0x000055aff1474cde in FillPortalStore (portal=portal@entry=0x55aff28b0f80, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [12:16:00.704] treceiver = 0x55aff29b71d0 [12:16:00.704] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [12:16:00.704] __func__ = "FillPortalStore" [12:16:00.704] #16 0x000055aff147533d in PortalRun (portal=portal@entry=0x55aff28b0f80, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55aff29e40e8, altdest=altdest@entry=0x55aff29e40e8, qc=0x7ffdba2183b0) at ../src/backend/tcop/pquery.c:763 [12:16:00.704] _save_exception_stack = 0x7ffdba218460 [12:16:00.704] _save_context_stack = 0x0 [12:16:00.704] _local_sigjmp_buf = {{__jmpbuf = {1, -1616850695575921160, 94214178095336, 94214178254032, 94214176837504, 94214178253960, 1618127729924414968, 4814392348343442936}, __mask_was_saved = 0, __saved_mask = {__val = {94214176849064, 94214161517118, 94214176845712, 94214161517118, 1, 140727726211903, 94214178254008, 94214178253960, 94214158504181, 94214161104393, 94214176837504, 94214161517118, 1, 1, 94214158765093, 163}}}} [12:16:00.704] _do_rethrow = [12:16:00.704] result = [12:16:00.704] nprocessed = [12:16:00.704] saveTopTransactionResourceOwner = 0x55aff286e138 [12:16:00.704] saveTopTransactionContext = 0x55aff2907380 [12:16:00.704] saveActivePortal = 0x0 [12:16:00.704] saveResourceOwner = 0x55aff286e138 [12:16:00.704] savePortalContext = 0x0 [12:16:00.704] saveMemoryContext = 0x55aff2907380 [12:16:00.704] __func__ = "PortalRun" [12:16:00.704] #17 0x000055aff146e2d2 in exec_simple_query (query_string=query_string@entry=0x55aff282d280 "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 [12:16:00.704] cmdtaglen = 5 [12:16:00.704] snapshot_set = [12:16:00.704] per_parsetree_context = 0x0 [12:16:00.704] plantree_list = 0x55aff29e4098 [12:16:00.704] parsetree = 0x55aff2a0ac88 [12:16:00.704] commandTag = [12:16:00.704] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [12:16:00.704] querytree_list = [12:16:00.704] portal = 0x55aff28b0f80 [12:16:00.704] receiver = 0x55aff29e40e8 [12:16:00.704] format = 0 [12:16:00.704] cmdtagname = [12:16:00.704] parsetree_item__state = {l = , i = } [12:16:00.704] dest = DestRemote [12:16:00.704] oldcontext = 0x55aff2907380 [12:16:00.704] parsetree_list = 0x55aff2a0acb8 [12:16:00.704] parsetree_item = 0x55aff2a0acd0 [12:16:00.704] save_log_statement_stats = false [12:16:00.704] was_logged = true [12:16:00.704] use_implicit_block = false [12:16:00.704] msec_str = "\020\206!\272\375\177\000\000\216-t\361\257U\000\000@\204!\272\375\177\000\000\026\001\000\000\000\000\000" [12:16:00.704] __func__ = "exec_simple_query" [12:16:00.704] #18 0x000055aff147108a in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4680 [12:16:00.704] query_string = 0x55aff282d280 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"... [12:16:00.704] firstchar = [12:16:00.704] input_message = {data = 0x55aff282d280 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"..., len = 278, maxlen = 1024, cursor = 278} [12:16:00.704] local_sigjmp_buf = {{__jmpbuf = {94214171068056, 4814399394534825464, 4, 140727726212624, 140727726212772, 1, 1618127729718894072, 4814392350556855800}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 14344, 0, 1, 139887852735972, 94214176272176, 14336, 14400, 94214158676239, 94214171068064, 94214176272176, 94214171062136, 140727726212624, 140727726212772, 94214158680307, 140727726212400}}}} [12:16:00.704] send_ready_for_query = false [12:16:00.704] idle_in_transaction_timeout_enabled = false [12:16:00.704] idle_session_timeout_enabled = false [12:16:00.704] __func__ = "PostgresMain" [12:16:00.704] #19 0x000055aff1467841 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:101 [12:16:00.704] bsdata = [12:16:00.704] #20 0x000055aff1311cc3 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffdba2185bc "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffdba218610) at ../src/backend/postmaster/launch_backend.c:265 [12:16:00.704] pid = [12:16:00.704] #21 0x000055aff1317e43 in BackendStartup (client_sock=client_sock@entry=0x7ffdba218610) at ../src/backend/postmaster/postmaster.c:3593 [12:16:00.704] bn = 0x55aff28631e8 [12:16:00.704] pid = [12:16:00.704] startup_data = {canAcceptConnections = CAC_OK} [12:16:00.704] __func__ = "BackendStartup" [12:16:00.704] #22 0x000055aff13183f1 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1674 [12:16:00.704] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "T/:\177\000\000-\000\000\000\000\000\000\000\020\016\276-:\177\000\000 ٍ.:\177\000\000Ȇ!\272\375\177\000\000Ć!\272\375\177\000\000\204\206!\272\375\177\000\000@~]+:\177\000\000\000\000\000\000\375\177\000\000\020\016\276-:\177\000\000\340/\275-:\177\000\000\352o\332-:\177\000\000\356\310\347Y\000\000\000\000#\237g\001\000\000\000\000Ć!\272\375\177\000", __ss_align = 139887812378176}, salen = 2}} [12:16:00.704] i = 0 [12:16:00.704] now = [12:16:00.704] last_lockfile_recheck_time = 1711627949 [12:16:00.704] last_touch_time = 1711627949 [12:16:00.704] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = -1172207808, events = 32765, fd = -1172207792, user_data = 0x0}, {pos = 18, events = 0, fd = 1508362478, user_data = 0x7f3a2e8dd788}, {pos = 769290218, events = 32570, fd = -1172207576, user_data = 0x7ffdba218780}, {pos = -1172207728, events = 32765, fd = 794094817, user_data = 0x12}, {pos = 727336472, events = 32570, fd = 1, user_data = 0x0}, {pos = 1, events = 0, fd = 781046816, user_data = 0xffffffff}, {pos = 727336472, events = 32570, fd = 781046816, user_data = 0x12e8dd920}, {pos = 781047688, events = 32570, fd = 0, user_data = 0x7ffdba21889e}, {pos = -1172207472, events = 32765, fd = -1, user_data = 0x7ffdba2187a0}, {pos = 767374360, events = 32570, fd = 781048096, user_data = 0x55aff2856428}, {pos = -226139464, events = 21935, fd = -226131776, user_data = 0x55aff2856448}, {pos = -226135135, events = 21935, fd = 794113571, user_data = 0x1}, {pos = 769392888, events = 32570, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1, user_data = 0x55aff282f020}, {pos = 794113571, events = 32570, fd = 1, user_data = 0x0}, {pos = -226131776, events = 21935, fd = 767374360, user_data = 0x7ffdba218be0}, {pos = 794142346, events = 32570, fd = 0, user_data = 0x0}, {pos = -1172206592, events = 32765, fd = -231594912, user_data = 0x2}, {pos = -231594912, events = 21935, fd = 0, user_data = 0x7f3a2dd9dbe0}, {pos = 255, events = 0, fd = 7, user_data = 0x0}, {pos = 8096, events = 196607, 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 = 0x100007f00000002}, {pos = 255, events = 0, fd = 4096, user_data = 0xffffffffffffff08}, {pos = 0, events = 0, fd = -226139176, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 4294967040, fd = 0, user_data = 0x0}, {pos = -1, events = 4294967295, fd = -1, user_data = 0x30305f742f617461}, {pos = 1735417650, events = 1735423327, fd = 1853190772, user_data = 0x2f65646172677075}, {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 = 0x0}, {pos = 0, events = 0, fd = 769235072, user_data = 0x7f3a2dc4c51a <_IO_file_underflow+378>}, {pos = 7, events = 0, fd = 767892782, user_data = 0x400}, {pos = -226316336, events = 21935, fd = 769238144, user_data = 0x1f282afd0}, {pos = 784, events = 0, fd = -241623060, user_data = 0x55aff2855f90}, {pos = -2117574656, events = 1007437299, fd = 2, user_data = 0x8000000000000006}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -226140272, events = 21935, fd = -226140272, user_data = 0x55aff2855f90}, {pos = 1, events = 0, fd = -226140072, user_data = 0x400}, {pos = 0, events = 0, fd = -243848281, user_data = 0x55aff2330650 }, {pos = -243914849, events = 21935, fd = -226140272, user_data = 0x55aff282d180}, {pos = -226140272, events = 21935, fd = 15, user_data = 0x4a}, {pos = -243846513, events = 21935, fd = -226140272, user_data = 0x55aff17733d1 }, {pos = -226316336, events = 21935, fd = 767892782, user_data = 0x0}, {pos = -250406402, events = 21935, fd = -226145424, user_data = 0x7f3a2dc4e1aa}, {pos = -1172206440, events = 1, fd = 0, user_data = 0x7f3a2dc4c8f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 11, user_data = 0x0}, {pos = 0, events = 0, fd = 16273, user_data = 0x7f3a2dc96b05 }, {pos = 0, events = 0, fd = -2117574656, user_data = 0x0}, {pos = -248440343, events = 21935, fd = 4194304, user_data = 0x55aff1762633 }, {pos = -226145424, events = 21935, fd = -226307712, user_data = 0x55aff2854b70}, {pos = 1, events = 0, fd = 0, user_data = 0x55aff177328f }, {pos = -226145424, events = 21935, fd = -243846191, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x55aff11315d1 }, {pos = 0, events = 0, fd = -250383449, user_data = 0xb}, {pos = -248418923, events = 21935, fd = 0, user_data = 0x0}} [12:16:00.706] nevents = 1 [12:16:00.706] __func__ = "ServerLoop" [12:16:00.706] #23 0x000055aff1319e13 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55aff2826e40) at ../src/backend/postmaster/postmaster.c:1372 [12:16:00.706] opt = [12:16:00.706] status = [12:16:00.706] userDoption = [12:16:00.706] listen_addr_saved = false [12:16:00.706] output_config_variable = [12:16:00.706] __func__ = "PostmasterMain" [12:16:00.706] #24 0x000055aff1142401 in main (argc=4, argv=0x55aff2826e40) at ../src/backend/main/main.c:197 [12:16:00.706] do_check_root = [12:16:00.724] -e [12:16:00.724] [12:16:00.724] [12:16:01.260] dumping /tmp/cores/postgres-6-17890.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [12:16:01.573] [New LWP 17890] [12:16:02.707] [Thread debugging using libthread_db enabled] [12:16:02.707] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [12:16:04.118] Core was generated by `postgres: postgres regression [local] MERGE '. [12:16:04.118] Program terminated with signal SIGABRT, Aborted. [12:16:04.118] #0 0x00007f641575fce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [12:16:04.309] [12:16:04.309] Thread 1 (Thread 0x7f64130f6a40 (LWP 17890)): [12:16:04.309] #0 0x00007f641575fce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [12:16:04.309] No symbol table info available. [12:16:04.309] #1 0x00007f6415749537 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [12:16:04.309] No symbol table info available. [12:16:04.309] #2 0x000055e90fdd39b5 in ExceptionalCondition (conditionName=conditionName@entry=0x55e91001c708 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55e910040bf8 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [12:16:04.309] No locals. [12:16:04.309] #3 0x000055e90f737915 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffc52f7bf40, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffc52f7bddf) at ../src/backend/executor/execTuples.c:1737 [12:16:04.309] No locals. [12:16:04.309] #4 0x000055e90f6bad2b in ExecIRDeleteTriggers (estate=estate@entry=0x55e910d018f0, relinfo=relinfo@entry=0x55e910d01ea0, slot=slot@entry=0x7ffc52f7bf40) at ../src/backend/commands/trigger.c:2832 [12:16:04.309] trigger = 0x55e910d02100 [12:16:04.309] oldtuple = [12:16:04.309] trigdesc = 0x55e910d020b0 [12:16:04.309] newtuple = 0x0 [12:16:04.309] should_free = false [12:16:04.309] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f6409e34180, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [12:16:04.309] i = 0 [12:16:04.309] #5 0x000055e90f79a3b6 in ExecMergeMatched (context=0x7ffc52f7bf60, resultRelInfo=resultRelInfo@entry=0x55e910d01ea0, tupleid=0x0, oldtuple=0x7ffc52f7bf40, canSetTag=true, matched=matched@entry=0x7ffc52f7beef) at ../src/backend/executor/nodeModifyTable.c:2938 [12:16:04.309] relaction = 0x55e910ceb5d8 [12:16:04.309] commandType = CMD_DELETE [12:16:04.309] result = TM_Ok [12:16:04.309] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [12:16:04.309] l__state = {l = , i = } [12:16:04.309] mtstate = 0x55e910d01c90 [12:16:04.309] newslot = 0x0 [12:16:04.309] rslot = 0x0 [12:16:04.309] estate = 0x55e910d018f0 [12:16:04.309] econtext = 0x55e910d4f188 [12:16:04.309] isNull = false [12:16:04.309] epqstate = 0x55e910d01d78 [12:16:04.309] l = [12:16:04.309] lmerge_matched = [12:16:04.309] __func__ = "ExecMergeMatched" [12:16:04.309] #6 0x000055e90f79b26a in ExecMerge (context=context@entry=0x7ffc52f7bf60, resultRelInfo=resultRelInfo@entry=0x55e910d01ea0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffc52f7bf40, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2717 [12:16:04.309] rslot = 0x0 [12:16:04.309] matched = true [12:16:04.309] #7 0x000055e90f79cbba in ExecModifyTable (pstate=0x55e910d01c90) at ../src/backend/executor/nodeModifyTable.c:3981 [12:16:04.309] node = 0x55e910d01c90 [12:16:04.309] context = {mtstate = 0x55e910d01c90, epqstate = 0x55e910d01d78, estate = 0x55e910d018f0, planSlot = 0x55e910d4db98, tmfd = {ctid = {ip_blkid = {bi_hi = 1, bi_lo = 0}, ip_posid = 0}, xmax = 259081682, cmax = 21993, traversed = 184}, cpUpdateReturningSlot = 0x55e910d56c70} [12:16:04.309] estate = 0x55e910d018f0 [12:16:04.309] operation = CMD_MERGE [12:16:04.309] resultRelInfo = 0x55e910d01ea0 [12:16:04.309] subplanstate = 0x55e910d025d0 [12:16:04.309] slot = [12:16:04.309] oldSlot = [12:16:04.309] tuple_ctid = {ip_blkid = {bi_hi = 4309, bi_lo = 21993}, ip_posid = 0} [12:16:04.309] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55e910d19988} [12:16:04.309] oldtuple = 0x7ffc52f7bf40 [12:16:04.309] tupleid = 0x0 [12:16:04.309] __func__ = "ExecModifyTable" [12:16:04.309] #8 0x000055e90f729a10 in ExecProcNodeFirst (node=0x55e910d01c90) at ../src/backend/executor/execProcnode.c:464 [12:16:04.309] No locals. [12:16:04.309] #9 0x000055e90f7162c1 in ExecProcNode (node=0x55e910d01c90) at ../src/include/executor/executor.h:274 [12:16:04.309] No locals. [12:16:04.309] #10 ExecutePlan (estate=estate@entry=0x55e910d018f0, planstate=0x55e910d01c90, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55e910d39ae0, execute_once=true) at ../src/backend/executor/execMain.c:1644 [12:16:04.309] slot = [12:16:04.309] current_tuple_count = 0 [12:16:04.309] #11 0x000055e90f71660b in standard_ExecutorRun (queryDesc=0x55e910d32538, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:363 [12:16:04.309] estate = 0x55e910d018f0 [12:16:04.309] operation = CMD_MERGE [12:16:04.309] dest = 0x55e910d39ae0 [12:16:04.309] sendTuples = true [12:16:04.309] oldcontext = 0x55e910d397d0 [12:16:04.309] __func__ = "standard_ExecutorRun" [12:16:04.309] #12 0x000055e90f716776 in ExecutorRun (queryDesc=queryDesc@entry=0x55e910d32538, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:304 [12:16:04.309] No locals. [12:16:04.309] #13 0x000055e90fb2c8ef in ProcessQuery (plan=plan@entry=0x55e910d59b28, sourceText=0x55e910baf290 "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=0x55e910d39ae0, qc=qc@entry=0x7ffc52f7c180) at ../src/backend/tcop/pquery.c:160 [12:16:04.309] queryDesc = 0x55e910d32538 [12:16:04.309] #14 0x000055e90fb2e638 in PortalRunMulti (portal=portal@entry=0x55e910c2ffc0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55e910d39ae0, altdest=0x55e9102fd660 , qc=qc@entry=0x7ffc52f7c180) at ../src/backend/tcop/pquery.c:1277 [12:16:04.309] pstmt = 0x55e910d59b28 [12:16:04.309] stmtlist_item__state = {l = , i = } [12:16:04.309] active_snapshot_set = true [12:16:04.309] stmtlist_item = 0x55e910d59c50 [12:16:04.309] #15 0x000055e90fb2ecde in FillPortalStore (portal=portal@entry=0x55e910c2ffc0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [12:16:04.309] treceiver = 0x55e910d39ae0 [12:16:04.309] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [12:16:04.309] __func__ = "FillPortalStore" [12:16:04.309] #16 0x000055e90fb2f33d in PortalRun (portal=portal@entry=0x55e910c2ffc0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55e910d59c88, altdest=altdest@entry=0x55e910d59c88, qc=0x7ffc52f7c360) at ../src/backend/tcop/pquery.c:763 [12:16:04.309] _save_exception_stack = 0x7ffc52f7c410 [12:16:04.309] _save_context_stack = 0x0 [12:16:04.309] _local_sigjmp_buf = {{__jmpbuf = {1, -5884603040207554899, 94459498175624, 94459498370544, 94459496955840, 94459498370472, 5885383760095917741, 398480414416221869}, __mask_was_saved = 0, __saved_mask = {__val = {94459496967400, 94459485022782, 94459496964048, 94459485022782, 1, 140721700455151, 94459498370520, 94459498370472, 94459482009845, 94459484610057, 94459496955840, 94459485022782, 1, 1, 94459482270757, 163}}}} [12:16:04.309] _do_rethrow = [12:16:04.309] result = [12:16:04.309] nprocessed = [12:16:04.309] saveTopTransactionResourceOwner = 0x55e910beec88 [12:16:04.309] saveTopTransactionContext = 0x55e910bd7ba0 [12:16:04.309] saveActivePortal = 0x0 [12:16:04.309] saveResourceOwner = 0x55e910beec88 [12:16:04.309] savePortalContext = 0x0 [12:16:04.309] saveMemoryContext = 0x55e910bd7ba0 [12:16:04.309] __func__ = "PortalRun" [12:16:04.309] #17 0x000055e90fb282d2 in exec_simple_query (query_string=query_string@entry=0x55e910baf290 "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 [12:16:04.309] cmdtaglen = 5 [12:16:04.309] snapshot_set = [12:16:04.309] per_parsetree_context = 0x0 [12:16:04.309] plantree_list = 0x55e910d59c38 [12:16:04.309] parsetree = 0x55e910d895a8 [12:16:04.309] commandTag = [12:16:04.309] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [12:16:04.309] querytree_list = [12:16:04.309] portal = 0x55e910c2ffc0 [12:16:04.309] receiver = 0x55e910d59c88 [12:16:04.309] format = 0 [12:16:04.309] cmdtagname = [12:16:04.309] parsetree_item__state = {l = , i = } [12:16:04.309] dest = DestRemote [12:16:04.309] oldcontext = 0x55e910bd7ba0 [12:16:04.309] parsetree_list = 0x55e910d895d8 [12:16:04.309] parsetree_item = 0x55e910d895f0 [12:16:04.309] save_log_statement_stats = false [12:16:04.309] was_logged = false [12:16:04.309] use_implicit_block = false [12:16:04.309] msec_str = "\300\305\367R\374\177\000\000\216\315\337\017\351U\000\000\360\303\367R\374\177\000\000\026\001\000\000\000\000\000" [12:16:04.309] __func__ = "exec_simple_query" [12:16:04.309] #18 0x000055e90fb2b08a in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4680 [12:16:04.309] query_string = 0x55e910baf290 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"... [12:16:04.309] firstchar = [12:16:04.309] input_message = {data = 0x55e910baf290 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"..., len = 278, maxlen = 1024, cursor = 278} [12:16:04.309] local_sigjmp_buf = {{__jmpbuf = {94459494573720, 398447121679693485, 4, 140721700455872, 140721700456020, 1, 5885383760167220909, 398480416361199277}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 15624, 0, 1, 140067833826788, 94459496402720, 15616, 15680, 94459482181903, 94459494573728, 94459496402720, 94459494567800, 140721700455872, 140721700456020, 94459482185971, 140721700455648}}}} [12:16:04.309] send_ready_for_query = false [12:16:04.309] idle_in_transaction_timeout_enabled = false [12:16:04.309] idle_session_timeout_enabled = false [12:16:04.309] __func__ = "PostgresMain" [12:16:04.309] #19 0x000055e90fb21841 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:101 [12:16:04.309] bsdata = [12:16:04.309] #20 0x000055e90f9cbcc3 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffc52f7c56c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffc52f7c5c0) at ../src/backend/postmaster/launch_backend.c:265 [12:16:04.309] pid = [12:16:04.309] #21 0x000055e90f9d1e43 in BackendStartup (client_sock=client_sock@entry=0x7ffc52f7c5c0) at ../src/backend/postmaster/postmaster.c:3593 [12:16:04.309] bn = 0x55e910bd7e08 [12:16:04.309] pid = [12:16:04.309] startup_data = {canAcceptConnections = CAC_OK} [12:16:04.309] __func__ = "BackendStartup" [12:16:04.309] #22 0x000055e90f9d23f1 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1674 [12:16:04.309] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "\217\025d\177\000\000\001\000\000\000\000\000\000\000\244c\n\027d\177\000\000-\000\000\000\000\000\000\000\020\216s\025d\177\000\000 YC\026d\177\000\000\210\306\367R\374\177\000\000\204\306\367R\374\177\000\000D\306\367R\374\177\000\000@\376\000\000\001\000\000\000\000\000\000\000\351U\000\000\020\216s\025d\177\000\000\340\257r\025d\177\000\000\352\357\217\025d\177\000\000\356\310\347Y\000\000\000", __ss_align = 23568163}, salen = 2}} [12:16:04.309] i = 0 [12:16:04.309] now = [12:16:04.309] last_lockfile_recheck_time = 1711627947 [12:16:04.309] last_touch_time = 1711627947 [12:16:04.309] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = 1391970112, events = 32764, fd = 45, user_data = 0x7ffc52f7c700}, {pos = 1391970064, events = 0, fd = 0, user_data = 0x12}, {pos = 1508362478, events = 0, fd = 373512072, user_data = 0x7f64158fefea}, {pos = 1391970280, events = 32764, fd = 1391970112, user_data = 0x7ffc52f7c750}, {pos = 386559201, events = 32612, fd = 18, user_data = 0x7f64130fc618}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = 373511200, events = 32612, fd = -1, user_data = 0x7f64130fc618}, {pos = 373511200, events = 32612, fd = 1024, user_data = 0x7f6416435788}, {pos = 0, events = 0, fd = 8, user_data = 0x7ffc52f7c750}, {pos = -1, events = 0, fd = 360619194, user_data = 0x7f641572b418}, {pos = 373512480, events = 32612, fd = 280874040, user_data = 0x55e910bda738}, {pos = 280840736, events = 21993, fd = 280874072, user_data = 0x55e910bdcb91}, {pos = 386577955, events = 32612, fd = 1, user_data = 0x7f64159180f8 <__libc_fork@got.plt>}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1, events = 0, fd = 280694880, user_data = 0x7f64170ab623 <_dl_fixup+211>}, {pos = 1, events = 0, fd = 0, user_data = 0x55e910bd4a20}, {pos = 359838744, events = 32612, fd = 1391971216, user_data = 0x7f64170b268a <_dl_runtime_resolve_xsavec+122>}, {pos = 0, events = 0, fd = 0, user_data = 0x7ffc52f7cbb0}, {pos = 278774880, events = 21993, fd = 2, user_data = 0x55e9109dc460 }, {pos = 0, events = 0, fd = 7, user_data = 0x0}, {pos = 4096, events = 0, fd = 99, user_data = 0x2ffff00001fa0}, {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 = 0x100007f00000002}, {pos = 255, events = 0, fd = 4096, user_data = 0xffffffffffffff08}, {pos = 0, events = 0, fd = 280867784, user_data = 0x3ff}, {pos = 4096, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = 1734701663, user_data = 0xa3975787a63792d}, {pos = 762540901, events = 2021286777, fd = 168442229, user_data = 0x36313137310a6174}, {pos = 876164914, events = 808716855, fd = 795768178, user_data = 0x726765722f737365}, {pos = 1836330762, events = 1768107888, fd = 1937076850, 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 = 0x0}, {pos = 7, events = 0, fd = 360356859, user_data = 0x400}, {pos = 280678336, events = 21993, fd = 361702528, user_data = 0x110bacfc0}, {pos = 784, events = 0, fd = 268746732, user_data = 0x55e910bda410}, {pos = -1582447872, events = 363024220, fd = 4, user_data = 0x55e910bdb390}, {pos = 2, events = 0, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x55e910bda410}, {pos = 1, events = 0, fd = 280863960, user_data = 0x400}, {pos = 0, events = 0, fd = 266521511, user_data = 0x55e9109ea650 }, {pos = 266454943, events = 21993, fd = 280863760, user_data = 0x55e910baf190}, {pos = 280863760, events = 21993, fd = 15, user_data = 0x4a}, {pos = 266523279, events = 21993, fd = 280863760, user_data = 0x55e90fe2d3d1 }, {pos = 280678336, events = 21993, fd = 360356859, user_data = 0x0}, {pos = 259963390, events = 21993, fd = 280852368, user_data = 0x7f64157a61aa}, {pos = 1391971400, events = 1, fd = 0, user_data = 0x7f64157a48f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 11, user_data = 0x0}, {pos = 0, events = 0, fd = 15606, user_data = 0x7f64157eeb05 }, {pos = 0, events = 0, fd = -1582447872, user_data = 0x0}, {pos = 261929449, events = 21993, fd = 4194304, user_data = 0x55e90fe1c633 }, {pos = 280852368, events = 21993, fd = 280686992, user_data = 0x55e910bd7790}, {pos = 1, events = 0, fd = 0, user_data = 0x55e90fe2d28f }, {pos = 280852368, events = 21993, fd = 266523601, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x55e90f7eb5d1 }, {pos = 0, events = 0, fd = 259986343, user_data = 0xb}, {pos = 261950869, events = 21993, fd = 0, user_data = 0x0}} [12:16:04.310] nevents = 1 [12:16:04.310] __func__ = "ServerLoop" [12:16:04.310] #23 0x000055e90f9d3e13 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x55e910ba8e80) at ../src/backend/postmaster/postmaster.c:1372 [12:16:04.310] opt = [12:16:04.310] status = [12:16:04.310] userDoption = [12:16:04.310] listen_addr_saved = false [12:16:04.310] output_config_variable = [12:16:04.310] __func__ = "PostmasterMain" [12:16:04.310] #24 0x000055e90f7fc401 in main (argc=8, argv=0x55e910ba8e80) at ../src/backend/main/main.c:197 [12:16:04.310] do_check_root = [12:16:04.327] -e [12:16:04.327] [12:16:04.327] [12:16:04.874] dumping /tmp/cores/postgres-6-25020.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [12:16:05.181] [New LWP 25020] [12:16:06.314] [Thread debugging using libthread_db enabled] [12:16:06.314] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [12:16:07.722] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [12:16:07.722] Program terminated with signal SIGABRT, Aborted. [12:16:07.722] #0 0x00007fc95d052ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [12:16:07.928] [12:16:07.928] Thread 1 (Thread 0x7fc95a9e9a40 (LWP 25020)): [12:16:07.928] #0 0x00007fc95d052ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [12:16:07.928] No symbol table info available. [12:16:07.928] #1 0x00007fc95d03c537 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [12:16:07.928] No symbol table info available. [12:16:07.928] #2 0x00005604b5d449b5 in ExceptionalCondition (conditionName=conditionName@entry=0x5604b5f8d708 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x5604b5fb1bf8 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [12:16:07.928] No locals. [12:16:07.928] #3 0x00005604b56a8915 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffde081aae0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffde081a97f) at ../src/backend/executor/execTuples.c:1737 [12:16:07.928] No locals. [12:16:07.928] #4 0x00005604b562bd2b in ExecIRDeleteTriggers (estate=estate@entry=0x5604b7a33c70, relinfo=relinfo@entry=0x5604b7a34220, slot=slot@entry=0x7ffde081aae0) at ../src/backend/commands/trigger.c:2832 [12:16:07.928] trigger = 0x5604b7a34480 [12:16:07.928] oldtuple = [12:16:07.928] trigdesc = 0x5604b7a34430 [12:16:07.928] newtuple = 0x0 [12:16:07.928] should_free = false [12:16:07.928] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fc958baa610, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [12:16:07.928] i = 0 [12:16:07.928] #5 0x00005604b570b3b6 in ExecMergeMatched (context=0x7ffde081ab00, resultRelInfo=resultRelInfo@entry=0x5604b7a34220, tupleid=0x0, oldtuple=0x7ffde081aae0, canSetTag=true, matched=matched@entry=0x7ffde081aa8f) at ../src/backend/executor/nodeModifyTable.c:2938 [12:16:07.928] relaction = 0x5604b7a1f8f8 [12:16:07.928] commandType = CMD_DELETE [12:16:07.928] result = TM_Ok [12:16:07.928] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [12:16:07.928] l__state = {l = , i = } [12:16:07.928] mtstate = 0x5604b7a34010 [12:16:07.928] newslot = 0x0 [12:16:07.928] rslot = 0x0 [12:16:07.928] estate = 0x5604b7a33c70 [12:16:07.928] econtext = 0x5604b7a22648 [12:16:07.928] isNull = false [12:16:07.928] epqstate = 0x5604b7a340f8 [12:16:07.928] l = [12:16:07.928] lmerge_matched = [12:16:07.928] __func__ = "ExecMergeMatched" [12:16:07.928] #6 0x00005604b570c26a in ExecMerge (context=context@entry=0x7ffde081ab00, resultRelInfo=resultRelInfo@entry=0x5604b7a34220, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffde081aae0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2717 [12:16:07.928] rslot = 0x0 [12:16:07.928] matched = true [12:16:07.928] #7 0x00005604b570dbba in ExecModifyTable (pstate=0x5604b7a34010) at ../src/backend/executor/nodeModifyTable.c:3981 [12:16:07.928] node = 0x5604b7a34010 [12:16:07.928] context = {mtstate = 0x5604b7a34010, epqstate = 0x5604b7a340f8, estate = 0x5604b7a33c70, planSlot = 0x5604b7a21058, tmfd = {ctid = {ip_blkid = {bi_hi = 11976, bi_lo = 47010}, ip_posid = 22020}, xmax = 3081584552, cmax = 22020, traversed = 16}, cpUpdateReturningSlot = 0x5604b568e829 } [12:16:07.928] estate = 0x5604b7a33c70 [12:16:07.928] operation = CMD_MERGE [12:16:07.928] resultRelInfo = 0x5604b7a34220 [12:16:07.928] subplanstate = 0x5604b7a34950 [12:16:07.928] slot = [12:16:07.928] oldSlot = [12:16:07.928] tuple_ctid = {ip_blkid = {bi_hi = 47010, bi_lo = 22020}, ip_posid = 0} [12:16:07.928] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x5604b7a4bd08} [12:16:07.928] oldtuple = 0x7ffde081aae0 [12:16:07.928] tupleid = 0x0 [12:16:07.928] __func__ = "ExecModifyTable" [12:16:07.928] #8 0x00005604b569aa10 in ExecProcNodeFirst (node=0x5604b7a34010) at ../src/backend/executor/execProcnode.c:464 [12:16:07.928] No locals. [12:16:07.928] #9 0x00005604b56872c1 in ExecProcNode (node=0x5604b7a34010) at ../src/include/executor/executor.h:274 [12:16:07.928] No locals. [12:16:07.928] #10 ExecutePlan (estate=estate@entry=0x5604b7a33c70, planstate=0x5604b7a34010, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x5604b7a6b640, execute_once=true) at ../src/backend/executor/execMain.c:1644 [12:16:07.928] slot = [12:16:07.928] current_tuple_count = 0 [12:16:07.928] #11 0x00005604b568760b in standard_ExecutorRun (queryDesc=queryDesc@entry=0x5604b7a15d88, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:363 [12:16:07.928] estate = 0x5604b7a33c70 [12:16:07.928] operation = CMD_MERGE [12:16:07.928] dest = 0x5604b7a6b640 [12:16:07.928] sendTuples = true [12:16:07.928] oldcontext = 0x5604b7a6b330 [12:16:07.928] __func__ = "standard_ExecutorRun" [12:16:07.928] #12 0x00007fc95a80e7fc in pgss_ExecutorRun (queryDesc=0x5604b7a15d88, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1032 [12:16:07.928] _save_exception_stack = 0x7ffde081aed0 [12:16:07.928] _save_context_stack = 0x0 [12:16:07.928] _local_sigjmp_buf = {{__jmpbuf = {94578260663688, -4124733003335210550, 94578259423936, 94578261014080, 0, 0, -4124733003408610870, -4131079394936231478}, __mask_was_saved = 0, __saved_mask = {__val = {94578260786288, 94578260663688, 0, 94578261013296, 94578230819877, 0, 1, 0, 94578223564104, 94578260663688, 94578243122848, 94578261013296, 140502783558690, 94578260663688, 0, 94578259423936}}}} [12:16:07.928] _do_rethrow = false [12:16:07.928] #13 0x00005604b5687769 in ExecutorRun (queryDesc=queryDesc@entry=0x5604b7a15d88, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:302 [12:16:07.928] No locals. [12:16:07.928] #14 0x00005604b5a9d8ef in ProcessQuery (plan=plan@entry=0x5604b7ad7150, sourceText=0x5604b78e72c0 "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=0x5604b7a6b640, qc=qc@entry=0x7ffde081ae30) at ../src/backend/tcop/pquery.c:160 [12:16:07.928] queryDesc = 0x5604b7a15d88 [12:16:07.928] #15 0x00005604b5a9f638 in PortalRunMulti (portal=portal@entry=0x5604b7968fd0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x5604b7a6b640, altdest=0x5604b626e660 , qc=qc@entry=0x7ffde081ae30) at ../src/backend/tcop/pquery.c:1277 [12:16:07.928] pstmt = 0x5604b7ad7150 [12:16:07.928] stmtlist_item__state = {l = , i = } [12:16:07.928] active_snapshot_set = true [12:16:07.928] stmtlist_item = 0x5604b7ad7278 [12:16:07.928] #16 0x00005604b5a9fcde in FillPortalStore (portal=portal@entry=0x5604b7968fd0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [12:16:07.928] treceiver = 0x5604b7a6b640 [12:16:07.928] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [12:16:07.928] __func__ = "FillPortalStore" [12:16:07.928] #17 0x00005604b5aa033d in PortalRun (portal=portal@entry=0x5604b7968fd0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x5604b7ad72b0, altdest=altdest@entry=0x5604b7ad72b0, qc=0x7ffde081b010) at ../src/backend/tcop/pquery.c:763 [12:16:07.928] _save_exception_stack = 0x7ffde081b0c0 [12:16:07.928] _save_context_stack = 0x0 [12:16:07.928] _local_sigjmp_buf = {{__jmpbuf = {1, 4123538232044415434, 94578261455536, 94578260653792, 94578259955664, 94578260653720, -4124733003341502006, -7696463199922820662}, __mask_was_saved = 0, __saved_mask = {__val = {94578259967224, 94578233571902, 94578259963872, 94578233571902, 1, 140728370048927, 94578260653768, 94578260653720, 94578230558965, 94578233159177, 94578259955664, 94578233571902, 1, 1, 94578230819877, 163}}}} [12:16:07.928] _do_rethrow = [12:16:07.928] result = [12:16:07.928] nprocessed = [12:16:07.928] saveTopTransactionResourceOwner = 0x5604b79284a0 [12:16:07.928] saveTopTransactionContext = 0x5604b79138b0 [12:16:07.928] saveActivePortal = 0x0 [12:16:07.928] saveResourceOwner = 0x5604b79284a0 [12:16:07.928] savePortalContext = 0x0 [12:16:07.928] saveMemoryContext = 0x5604b79138b0 [12:16:07.928] __func__ = "PortalRun" [12:16:07.928] #18 0x00005604b5a992d2 in exec_simple_query (query_string=query_string@entry=0x5604b78e72c0 "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 [12:16:07.928] cmdtaglen = 5 [12:16:07.928] snapshot_set = [12:16:07.928] per_parsetree_context = 0x0 [12:16:07.928] plantree_list = 0x5604b7ad7260 [12:16:07.928] parsetree = 0x5604b7a13698 [12:16:07.928] commandTag = [12:16:07.928] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [12:16:07.928] querytree_list = [12:16:07.928] portal = 0x5604b7968fd0 [12:16:07.928] receiver = 0x5604b7ad72b0 [12:16:07.928] format = 0 [12:16:07.928] cmdtagname = [12:16:07.928] parsetree_item__state = {l = , i = } [12:16:07.928] dest = DestRemote [12:16:07.928] oldcontext = 0x5604b79138b0 [12:16:07.928] parsetree_list = 0x5604b7a136c8 [12:16:07.928] parsetree_item = 0x5604b7a136e0 [12:16:07.928] save_log_statement_stats = false [12:16:07.928] was_logged = true [12:16:07.928] use_implicit_block = false [12:16:07.928] msec_str = "p\262\201\340\375\177\000\000\216\335ֵ\004V\000\000\240\260\201\340\375\177\000\000\026\001\000\000\000\000\000" [12:16:07.928] __func__ = "exec_simple_query" [12:16:07.928] #19 0x00005604b5a9c08a in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4680 [12:16:07.928] query_string = 0x5604b78e72c0 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"... [12:16:07.928] firstchar = [12:16:07.928] input_message = {data = 0x5604b78e72c0 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"..., len = 278, maxlen = 1024, cursor = 278} [12:16:07.928] local_sigjmp_buf = {{__jmpbuf = {94578243122840, -7696461513841710646, 4, 140728370049648, 140728370049796, 1, -4124733003790292534, -7696463197977843254}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94578259398512, 16384, 8248, 94578230732730, 0, 0, 0, 94578243122848, 94578259398512, 94578243116920, 140728370049648, 140728370049796, 1, 94578230735780, 140728370049424}}}} [12:16:07.928] send_ready_for_query = false [12:16:07.928] idle_in_transaction_timeout_enabled = false [12:16:07.928] idle_session_timeout_enabled = false [12:16:07.928] __func__ = "PostgresMain" [12:16:07.928] #20 0x00005604b5a92841 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:101 [12:16:07.928] bsdata = [12:16:07.928] #21 0x00005604b593ccc3 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffde081b21c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffde081b270) at ../src/backend/postmaster/launch_backend.c:265 [12:16:07.928] pid = [12:16:07.928] #22 0x00005604b5942e43 in BackendStartup (client_sock=client_sock@entry=0x7ffde081b270) at ../src/backend/postmaster/postmaster.c:3593 [12:16:07.928] bn = 0x5604b7913f78 [12:16:07.928] pid = [12:16:07.928] startup_data = {canAcceptConnections = CAC_OK} [12:16:07.928] __func__ = "BackendStartup" [12:16:07.928] #23 0x00005604b59433f1 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1674 [12:16:07.928] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\000\000\000\000\000\000\210\273\001]\311\177\000\000 \363\036]\311\177\000\000\001\000\000\000\000\000\000\000\244\223\231^\311\177\000\000-\000\000\000\000\000\000\000\020\276\002]\311\177\000\000 \211\322]\311\177\000\000H\263\201\340\375\177\000\000D\263\201\340\375\177\000\000@\"\221\267\004V", '\000' , "\020\276\002]\311\177\000\000\340\337\001]\311\177\000", __ss_align = 140502827474922}, salen = 2}} [12:16:07.928] i = 0 [12:16:07.928] now = [12:16:07.928] last_lockfile_recheck_time = 1711627969 [12:16:07.928] last_touch_time = 1711627969 [12:16:07.928] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = -528370672, events = 32765, fd = 1562309408, user_data = 0x7ffde081b400}, {pos = 46, events = 0, fd = 1587261824, user_data = 0xe081b3d0}, {pos = 0, events = 0, fd = 1587261824, user_data = 0x59e7c8ee}, {pos = 1574078344, events = 32713, fd = 1562320874, user_data = 0x7ffde081b4a8}, {pos = -528370688, events = 32765, fd = -528370672, user_data = 0x7fc95e999ce1 <_dl_lookup_symbol_x+289>}, {pos = 18, events = 0, fd = 1520367128, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7fc95dd28420}, {pos = -528370736, events = 32765, fd = 1520367128, user_data = 0x7fc95dd28420}, {pos = -1238837088, events = 1, fd = 1574078344, user_data = 0x0}, {pos = -1215222896, events = 22020, fd = -1215203944, user_data = 0xffffffff}, {pos = 1587144227, events = 32713, fd = 1560405016, user_data = 0x7fc95dd28920}, {pos = -1215203976, events = 22020, fd = 1560451576, user_data = 0x7ffde081b7f0}, {pos = 1587173002, events = 32713, fd = 16, user_data = 0x100007f}, {pos = 16, events = 0, fd = 1562423544, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x1}, {pos = -1215393504, events = 22020, fd = 1587144227, user_data = 0x1}, {pos = 0, events = 0, fd = -1215205192, user_data = 0x7fc95d01e418}, {pos = -528369600, events = 32765, fd = 1587173002, user_data = 0x0}, {pos = 0, events = 0, fd = -528369568, user_data = 0x5604b694d460 }, {pos = 2, events = 0, fd = -1231760288, 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 = -1215182472, user_data = 0x3ff}, {pos = 4096, events = 0, fd = -1215410160, user_data = 0x5604b78e5010}, {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 = 811562031, events = 1935619890, fd = 1634038388, user_data = 0x797265766f636572}, {pos = 926036015, events = 1920234335, fd = 958406688, user_data = 0xa}, {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 = -1215410160, events = 22020, fd = 1562268800, user_data = 0x1b78e5010}, {pos = 784, events = 0, fd = -1241788436, user_data = 0x5604b79170e0}, {pos = -2105062912, events = 1330353039, fd = 4, user_data = 0x5604b791c940}, {pos = -1215205152, events = 22020, fd = -1215204952, 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 = -1215204952, user_data = 0x400}, {pos = 0, events = 0, fd = -1244013657, user_data = 0x5604b695b650 }, {pos = -1244080225, events = 22020, fd = -1215205152, user_data = 0x5604b78e71c0}, {pos = -1215205152, events = 22020, fd = 15, user_data = 0x4a}, {pos = -1244011889, events = 22020, fd = -1215205152, user_data = 0x5604b5d9e3d1 }, {pos = -1215410160, events = 22020, fd = 1560923438, user_data = 0x0}, {pos = -1250571778, events = 22020, fd = -1215230992, user_data = 0x7fc95d0991aa}, {pos = -528369416, events = 1, fd = 0, user_data = 0x7fc95d0978f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 11, user_data = 0x0}, {pos = 0, events = 0, fd = 22864, user_data = 0x7fc95d0e1b05 }, {pos = 0, events = 0, fd = -2105062912, user_data = 0x0}, {pos = -1248605719, events = 22020, fd = 4194304, user_data = 0x5604b5d8d633 }, {pos = -1215230992, events = 22020, fd = -1215401536, user_data = 0x5604b7910bf0}, {pos = 1, events = 0, fd = 0, user_data = 0x5604b5d9e28f }, {pos = -1215230992, events = 22020, fd = -1244011567, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x5604b575c5d1 }, {pos = 0, events = 0, fd = -1250548825, user_data = 0xb}, {pos = -1248584299, events = 22020, fd = 0, user_data = 0x0}} [12:16:07.928] nevents = 1 [12:16:07.928] __func__ = "ServerLoop" [12:16:07.928] #24 0x00005604b5944e13 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x5604b78e0e70) at ../src/backend/postmaster/postmaster.c:1372 [12:16:07.930] opt = [12:16:07.930] status = [12:16:07.930] userDoption = [12:16:07.930] listen_addr_saved = false [12:16:07.930] output_config_variable = [12:16:07.930] __func__ = "PostmasterMain" [12:16:07.930] #25 0x00005604b576d401 in main (argc=4, argv=0x5604b78e0e70) at ../src/backend/main/main.c:197 [12:16:07.930] do_check_root =