[13:16:02.352] src/tools/ci/cores_backtrace.sh linux /tmp/cores [13:16:03.130] dumping /tmp/cores/postgres-6-17841.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [13:16:04.812] [New LWP 17841] [13:16:04.812] Downloading separate debug info for /lib/x86_64-linux-gnu/libm.so.6... [13:16:05.578] Downloading separate debug info for /lib/x86_64-linux-gnu/libdl.so.2... [13:16:06.343] Downloading separate debug info for /lib/x86_64-linux-gnu/librt.so.1... [13:16:07.568] Downloading separate debug info for /lib/x86_64-linux-gnu/libgssapi_krb5.so.2... [13:16:10.233] Downloading separate debug info for /lib/x86_64-linux-gnu/libicuuc.so.67... [13:16:10.233] Downloading separate debug info for /.cache/debuginfod_client/f871bbd529a02abd860f0d16b842b5b20234cb49/debuginfo... [13:16:12.116] Downloading separate debug info for /lib/x86_64-linux-gnu/libicui18n.so.67... [13:16:13.333] Downloading separate debug info for /lib/x86_64-linux-gnu/libldap_r-2.4.so.2... [13:16:14.903] Downloading separate debug info for /lib/x86_64-linux-gnu/libxml2.so.2... [13:16:15.969] Downloading separate debug info for /lib/x86_64-linux-gnu/liblz4.so.1... [13:16:16.734] Downloading separate debug info for /lib/x86_64-linux-gnu/libpam.so.0... [13:16:17.961] Downloading separate debug info for /lib/x86_64-linux-gnu/libssl.so.1.1... [13:16:19.579] Downloading separate debug info for /lib/x86_64-linux-gnu/libcrypto.so.1.1... [13:16:20.986] Downloading separate debug info for /lib/x86_64-linux-gnu/libsystemd.so.0... [13:16:21.898] Downloading separate debug info for /lib/x86_64-linux-gnu/libz.so.1... [13:16:23.438] Downloading separate debug info for /lib/x86_64-linux-gnu/libzstd.so.1... [13:16:24.825] Downloading separate debug info for /lib/x86_64-linux-gnu/libpthread.so.0... [13:16:25.297] [Thread debugging using libthread_db enabled] [13:16:25.297] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [13:16:26.362] Downloading separate debug info for /lib64/ld-linux-x86-64.so.2... [13:16:27.758] Downloading separate debug info for /lib/x86_64-linux-gnu/libkrb5.so.3... [13:16:28.820] Downloading separate debug info for /lib/x86_64-linux-gnu/libk5crypto.so.3... [13:16:29.438] Downloading separate debug info for /lib/x86_64-linux-gnu/libcom_err.so.2... [13:16:30.204] Downloading separate debug info for /lib/x86_64-linux-gnu/libkrb5support.so.0... [13:16:32.498] Downloading separate debug info for /lib/x86_64-linux-gnu/libstdc++.so.6... [13:16:33.422] Downloading separate debug info for /lib/x86_64-linux-gnu/libgcc_s.so.1... [13:16:34.210] Downloading separate debug info for /lib/x86_64-linux-gnu/liblber-2.4.so.2... [13:16:35.121] Downloading separate debug info for /lib/x86_64-linux-gnu/libresolv.so.2... [13:16:36.041] Downloading separate debug info for /lib/x86_64-linux-gnu/libsasl2.so.2... [13:16:37.638] Downloading separate debug info for /lib/x86_64-linux-gnu/libgnutls.so.30... [13:16:38.701] Downloading separate debug info for /lib/x86_64-linux-gnu/liblzma.so.5... [13:16:39.469] Downloading separate debug info for /lib/x86_64-linux-gnu/libaudit.so.1... [13:16:40.853] Downloading separate debug info for /lib/x86_64-linux-gnu/libgcrypt.so.20... [13:16:41.472] Downloading separate debug info for /lib/x86_64-linux-gnu/libkeyutils.so.1... [13:16:43.000] Downloading separate debug info for /lib/x86_64-linux-gnu/libp11-kit.so.0... [13:16:43.765] Downloading separate debug info for /lib/x86_64-linux-gnu/libidn2.so.0... [13:16:44.989] Downloading separate debug info for /lib/x86_64-linux-gnu/libunistring.so.2... [13:16:45.759] Downloading separate debug info for /lib/x86_64-linux-gnu/libtasn1.so.6... [13:16:46.830] Downloading separate debug info for /lib/x86_64-linux-gnu/libnettle.so.8... [13:16:47.755] Downloading separate debug info for /lib/x86_64-linux-gnu/libhogweed.so.6... [13:16:48.976] Downloading separate debug info for /lib/x86_64-linux-gnu/libgmp.so.10... [13:16:49.596] Downloading separate debug info for /lib/x86_64-linux-gnu/libcap-ng.so.0... [13:16:50.515] Downloading separate debug info for /lib/x86_64-linux-gnu/libgpg-error.so.0... [13:16:51.278] Downloading separate debug info for /lib/x86_64-linux-gnu/libffi.so.7... [13:16:51.785] Core was generated by `postgres: postgres regression [local] MERGE '. [13:16:51.785] Program terminated with signal SIGABRT, Aborted. [13:16:51.785] #0 0x00007f0a7f887ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [13:16:52.004] [13:16:52.004] Thread 1 (Thread 0x7f0a7d21ea40 (LWP 17841)): [13:16:52.004] #0 0x00007f0a7f887ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [13:16:52.004] No symbol table info available. [13:16:52.004] #1 0x00007f0a7f871537 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [13:16:52.004] No symbol table info available. [13:16:52.004] #2 0x0000563023743572 in ExceptionalCondition (conditionName=conditionName@entry=0x563023983e08 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x5630239a7c98 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1649) at ../src/backend/utils/error/assert.c:66 [13:16:52.004] No locals. [13:16:52.004] #3 0x00005630230b2ce4 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7fff69404060, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7fff69403f1f) at ../src/backend/executor/execTuples.c:1649 [13:16:52.004] No locals. [13:16:52.004] #4 0x000056302303945b in ExecIRDeleteTriggers (estate=estate@entry=0x5630264c8830, relinfo=relinfo@entry=0x5630264c8de0, slot=slot@entry=0x7fff69404060) at ../src/backend/commands/trigger.c:2841 [13:16:52.004] trigger = 0x5630264c9040 [13:16:52.004] oldtuple = [13:16:52.004] trigdesc = 0x5630264c8ff0 [13:16:52.004] newtuple = 0x0 [13:16:52.004] should_free = false [13:16:52.004] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f0a73f5a250, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [13:16:52.004] i = 0 [13:16:52.004] #5 0x0000563023115bb7 in ExecMergeMatched (context=0x7fff69404080, resultRelInfo=resultRelInfo@entry=0x5630264c8de0, tupleid=0x0, oldtuple=0x7fff69404060, canSetTag=true) at ../src/backend/executor/nodeModifyTable.c:2977 [13:16:52.004] relaction = 0x56302641f3f8 [13:16:52.004] commandType = CMD_DELETE [13:16:52.004] result = TM_Ok [13:16:52.004] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [13:16:52.004] l__state = {l = , i = } [13:16:52.004] mtstate = 0x5630264c8bd0 [13:16:52.004] newslot = [13:16:52.004] estate = 0x5630264c8830 [13:16:52.004] econtext = 0x56302641f1b8 [13:16:52.004] isNull = false [13:16:52.004] epqstate = 0x5630264c8cb8 [13:16:52.004] l = [13:16:52.004] lmerge_matched = [13:16:52.004] __func__ = "ExecMergeMatched" [13:16:52.004] #6 0x000056302311689c in ExecMerge (context=context@entry=0x7fff69404080, resultRelInfo=resultRelInfo@entry=0x5630264c8de0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7fff69404060, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2774 [13:16:52.004] matched = true [13:16:52.004] #7 0x00005630231181a4 in ExecModifyTable (pstate=0x5630264c8bd0) at ../src/backend/executor/nodeModifyTable.c:3950 [13:16:52.004] node = 0x5630264c8bd0 [13:16:52.004] context = {mtstate = 0x5630264c8bd0, epqstate = 0x5630264c8cb8, estate = 0x5630264c8830, planSlot = 0x56302641dfd8, relaction = 0x56302641f3f8, tmfd = {ctid = {ip_blkid = {bi_hi = 27194, bi_lo = 8941}, ip_posid = 22064}, xmax = 1, cmax = 0, traversed = 24}, cpUpdateReturningSlot = 0x563026483cb8} [13:16:52.004] estate = 0x5630264c8830 [13:16:52.004] operation = CMD_MERGE [13:16:52.004] resultRelInfo = 0x5630264c8de0 [13:16:52.004] subplanstate = 0x5630264c9510 [13:16:52.004] slot = [13:16:52.004] oldSlot = [13:16:52.004] tuple_ctid = {ip_blkid = {bi_hi = 9800, bi_lo = 22064}, ip_posid = 0} [13:16:52.004] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x56302643c968} [13:16:52.004] oldtuple = 0x7fff69404060 [13:16:52.004] tupleid = 0x0 [13:16:52.004] __func__ = "ExecModifyTable" [13:16:52.004] #8 0x00005630230a5243 in ExecProcNodeFirst (node=0x5630264c8bd0) at ../src/backend/executor/execProcnode.c:464 [13:16:52.004] No locals. [13:16:52.004] #9 0x0000563023091c07 in ExecProcNode (node=0x5630264c8bd0) at ../src/include/executor/executor.h:274 [13:16:52.004] No locals. [13:16:52.004] #10 ExecutePlan (estate=estate@entry=0x5630264c8830, planstate=0x5630264c8bd0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=false, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x563026484d88, execute_once=true) at ../src/backend/executor/execMain.c:1638 [13:16:52.004] slot = [13:16:52.004] current_tuple_count = 0 [13:16:52.004] #11 0x0000563023091f2a in standard_ExecutorRun (queryDesc=0x563026468120, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:357 [13:16:52.004] estate = 0x5630264c8830 [13:16:52.004] operation = CMD_MERGE [13:16:52.004] dest = 0x563026484d88 [13:16:52.004] sendTuples = false [13:16:52.004] oldcontext = 0x563026468020 [13:16:52.004] __func__ = "standard_ExecutorRun" [13:16:52.004] #12 0x0000563023092095 in ExecutorRun (queryDesc=queryDesc@entry=0x563026468120, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:301 [13:16:52.004] No locals. [13:16:52.004] #13 0x00005630234a34d2 in ProcessQuery (plan=plan@entry=0x563026484c28, sourceText=0x5630262dd290 "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=0x563026484d88, qc=qc@entry=0x7fff69404460) at ../src/backend/tcop/pquery.c:160 [13:16:52.004] queryDesc = 0x563026468120 [13:16:52.004] #14 0x00005630234a521b in PortalRunMulti (portal=portal@entry=0x56302635dfc0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x563026484d88, altdest=altdest@entry=0x563026484d88, qc=qc@entry=0x7fff69404460) at ../src/backend/tcop/pquery.c:1277 [13:16:52.004] pstmt = 0x563026484c28 [13:16:52.004] stmtlist_item__state = {l = , i = } [13:16:52.004] active_snapshot_set = true [13:16:52.004] stmtlist_item = 0x563026484d50 [13:16:52.004] #15 0x00005630234a5c36 in PortalRun (portal=portal@entry=0x56302635dfc0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x563026484d88, altdest=altdest@entry=0x563026484d88, qc=0x7fff69404460) at ../src/backend/tcop/pquery.c:791 [13:16:52.004] _save_exception_stack = 0x7fff69404510 [13:16:52.004] _save_context_stack = 0x0 [13:16:52.004] _local_sigjmp_buf = {{__jmpbuf = {1, -7003540906579642629, 94764800691592, 94764800188240, 94764799483840, 94764800188168, 7003306492456023803, 3651902743887296251}, __mask_was_saved = 0, __saved_mask = {__val = {140734959207407, 94764756323422, 94764799492048, 94764756323422, 1, 140734959207407, 94764800188216, 94764800188168, 94764753349681, 94764755912371, 94764799483840, 94764756323422, 1, 1, 94764753608866, 163}}}} [13:16:52.004] _do_rethrow = [13:16:52.004] result = [13:16:52.004] nprocessed = [13:16:52.004] saveTopTransactionResourceOwner = 0x563026329ac8 [13:16:52.004] saveTopTransactionContext = 0x563026305ba0 [13:16:52.004] saveActivePortal = 0x0 [13:16:52.004] saveResourceOwner = 0x563026329ac8 [13:16:52.004] savePortalContext = 0x0 [13:16:52.004] saveMemoryContext = 0x563026305ba0 [13:16:52.004] __func__ = "PortalRun" [13:16:52.004] #16 0x000056302349eeb5 in exec_simple_query (query_string=query_string@entry=0x5630262dd290 "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:1273 [13:16:52.004] cmdtaglen = 5 [13:16:52.004] snapshot_set = [13:16:52.004] per_parsetree_context = 0x0 [13:16:52.004] plantree_list = 0x563026484d38 [13:16:52.004] parsetree = 0x563026409f08 [13:16:52.004] commandTag = [13:16:52.004] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [13:16:52.004] querytree_list = [13:16:52.004] portal = 0x56302635dfc0 [13:16:52.004] receiver = 0x563026484d88 [13:16:52.004] format = 0 [13:16:52.004] cmdtagname = [13:16:52.004] parsetree_item__state = {l = , i = } [13:16:52.004] dest = DestRemote [13:16:52.004] oldcontext = 0x563026305ba0 [13:16:52.004] parsetree_list = 0x563026409f38 [13:16:52.004] parsetree_item = 0x563026409f50 [13:16:52.004] save_log_statement_stats = false [13:16:52.004] was_logged = false [13:16:52.004] use_implicit_block = false [13:16:52.004] msec_str = "\004\000\000\000\000\000\000\000\312\302v#0V\000\000\360D@i\377\177\000\000\361\000\000\000\000\000\000" [13:16:52.004] __func__ = "exec_simple_query" [13:16:52.004] #17 0x00005630234a1c6d in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4675 [13:16:52.004] query_string = 0x5630262dd290 "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"... [13:16:52.004] firstchar = [13:16:52.004] input_message = {data = 0x5630262dd290 "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 = 241, maxlen = 1024, cursor = 241} [13:16:52.004] local_sigjmp_buf = {{__jmpbuf = {94764765720504, 3651896769977464571, 0, 4, 140734959208068, 1, 7003306492401497851, 3651902746237023995}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 15624, 0, 1, 139683066367460, 94764798930720, 15616, 15680, 94764753520256, 94764765720512, 94764798955920, 94764765714616, 4, 140734959208068, 94764753524324, 1}}}} [13:16:52.004] send_ready_for_query = false [13:16:52.004] idle_in_transaction_timeout_enabled = false [13:16:52.004] idle_session_timeout_enabled = false [13:16:52.004] __func__ = "PostgresMain" [13:16:52.004] #18 0x00005630233450a7 in BackendRun (port=port@entry=0x563026309cf0) at ../src/backend/postmaster/postmaster.c:4475 [13:16:52.004] No locals. [13:16:52.004] #19 0x000056302334a98f in BackendStartup (port=port@entry=0x563026309cf0) at ../src/backend/postmaster/postmaster.c:4151 [13:16:52.004] bn = 0x563026305db8 [13:16:52.004] pid = 0 [13:16:52.004] __func__ = "BackendStartup" [13:16:52.004] #20 0x000056302334ad0c in ServerLoop () at ../src/backend/postmaster/postmaster.c:1769 [13:16:52.004] port = 0x563026309cf0 [13:16:52.004] i = 0 [13:16:52.004] now = [13:16:52.004] last_lockfile_recheck_time = 1709903594 [13:16:52.004] last_touch_time = 1709903594 [13:16:52.004] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = 1765820304, events = 32767, fd = 2141340448, user_data = 0x7fff69404780}, {pos = 45, events = 0, fd = -2128674432, user_data = 0x69404750}, {pos = 0, events = 0, fd = -2128674432, user_data = 0x59e7c8ee}, {pos = -2141857912, events = 32522, fd = 2141351914, user_data = 0x7fff69404828}, {pos = 1765820288, events = 32767, fd = 1765820304, user_data = 0x7f0a811cece1 <_dl_lookup_symbol_x+289>}, {pos = 18, events = 0, fd = 2099398168, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7f0a8055d420}, {pos = 1765820240, events = 32767, fd = 2099398168, user_data = 0x7f0a8055d420}, {pos = 600246440, events = 1, fd = -2141857912, user_data = 0x0}, {pos = 640690720, events = 22064, fd = 640724056, user_data = 0xffffffff}, {pos = -2128792029, events = 32522, fd = 2139436056, user_data = 0x7f0a8055d920}, {pos = 640724024, events = 22064, fd = 2139482616, user_data = 0x7fff69404b70}, {pos = -2128763254, events = 32522, fd = 16, user_data = 0x100007f}, {pos = 16, events = 0, fd = 2141454584, user_data = 0x8}, {pos = 640544912, events = 22064, fd = 1, user_data = 0x1}, {pos = 640544864, events = 22064, fd = -2128792029, user_data = 0x1}, {pos = 0, events = 0, fd = 640723848, user_data = 0x7f0a7f853418}, {pos = 1765821408, events = 32767, fd = -2128763254, user_data = 0x0}, {pos = 0, events = 0, fd = 1765821440, user_data = 0x56302431cd80 }, {pos = 2, events = 0, fd = 607243648, 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 = 640717768, user_data = 0x3ff}, {pos = 4096, events = 0, fd = 640528320, user_data = 0x5630262dafc0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 4294901760, fd = -1, user_data = 0xffffffffffffffff}, {pos = 1734701663, events = 1936942450, fd = 1903382829, user_data = 0x697173512d737365}, {pos = 168455502, events = 908075040, fd = 822763892, user_data = 0x30340a3439353330}, {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 = 640528320, events = 22064, fd = 2141299840, user_data = 0x1262dafc0}, {pos = 784, events = 0, fd = 597372780, user_data = 0x563026308410}, {pos = 1415981568, events = 2671113480, fd = 4, user_data = 0x563026309390}, {pos = 640713744, events = 22064, fd = 640713944, 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 = 640713944, user_data = 0x400}, {pos = 0, events = 0, fd = 595181604, user_data = 0x56302432af70 }, {pos = 595115280, events = 22064, fd = 640713744, user_data = 0x5630262dd190}, {pos = 640713744, events = 22064, fd = 15, user_data = 0x4a}, {pos = 595183372, events = 22064, fd = 640713744, user_data = 0x56302379c84e }, {pos = 640528320, events = 22064, fd = 2139954171, user_data = 0x0}, {pos = 588672831, events = 22064, fd = 640702352, user_data = 0x1262dafc0}, {pos = 1765821560, events = 32767, fd = 0, user_data = 0x563026308410}, {pos = 2139939242, events = 32522, fd = 1024, user_data = 0x5630262dafc0}, {pos = 2139932912, events = 32522, fd = 0, user_data = 0x563000000000}, {pos = 0, events = 0, fd = 640528320, user_data = 0xb}, {pos = 0, events = 0, fd = 0, user_data = 0x3c66}, {pos = 2140236549, events = 32522, fd = 8, user_data = 0x9f35f50854662a00}, {pos = 1, events = 0, fd = 590621760, user_data = 0x400000}, {pos = 1, events = 0, fd = 0, user_data = 0x56302379c70c }, {pos = 640702352, events = 22064, fd = 595183694, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x563023166b12 }, {pos = 0, events = 0, fd = 588695784, user_data = 0x5630262dd190}, {pos = 590649053, events = 22064, fd = 0, user_data = 0x0}} [13:16:52.005] nevents = 1 [13:16:52.005] __func__ = "ServerLoop" [13:16:52.005] #21 0x000056302334c79e in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x5630262d6e80) at ../src/backend/postmaster/postmaster.c:1468 [13:16:52.005] opt = [13:16:52.005] status = [13:16:52.005] userDoption = [13:16:52.005] listen_addr_saved = false [13:16:52.005] output_config_variable = [13:16:52.005] __func__ = "PostmasterMain" [13:16:52.005] #22 0x000056302317790c in main (argc=8, argv=0x5630262d6e80) at ../src/backend/main/main.c:197 [13:16:52.005] do_check_root = [13:16:52.024] -e [13:16:52.024] [13:16:52.024] [13:16:52.568] dumping /tmp/cores/postgres-6-24641.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [13:16:52.890] [New LWP 24641] [13:16:54.059] [Thread debugging using libthread_db enabled] [13:16:54.059] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [13:16:55.514] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [13:16:55.514] Program terminated with signal SIGABRT, Aborted. [13:16:55.514] #0 0x00007f50aae1bce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [13:16:55.733] [13:16:55.733] Thread 1 (Thread 0x7f50a87b2a40 (LWP 24641)): [13:16:55.733] #0 0x00007f50aae1bce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [13:16:55.733] No symbol table info available. [13:16:55.733] #1 0x00007f50aae05537 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [13:16:55.733] No symbol table info available. [13:16:55.733] #2 0x000055e770b46572 in ExceptionalCondition (conditionName=conditionName@entry=0x55e770d86e08 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55e770daac98 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1649) at ../src/backend/utils/error/assert.c:66 [13:16:55.733] No locals. [13:16:55.733] #3 0x000055e7704b5ce4 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffc0a751d70, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffc0a751c2f) at ../src/backend/executor/execTuples.c:1649 [13:16:55.733] No locals. [13:16:55.733] #4 0x000055e77043c45b in ExecIRDeleteTriggers (estate=estate@entry=0x55e772c84de0, relinfo=relinfo@entry=0x55e772c85390, slot=slot@entry=0x7ffc0a751d70) at ../src/backend/commands/trigger.c:2841 [13:16:55.733] trigger = 0x55e772c855f0 [13:16:55.733] oldtuple = [13:16:55.733] trigdesc = 0x55e772c855a0 [13:16:55.733] newtuple = 0x0 [13:16:55.733] should_free = false [13:16:55.733] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f50a6971630, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [13:16:55.733] i = 0 [13:16:55.733] #5 0x000055e770518bb7 in ExecMergeMatched (context=0x7ffc0a751d90, resultRelInfo=resultRelInfo@entry=0x55e772c85390, tupleid=0x0, oldtuple=0x7ffc0a751d70, canSetTag=true) at ../src/backend/executor/nodeModifyTable.c:2977 [13:16:55.733] relaction = 0x55e772c737e8 [13:16:55.733] commandType = CMD_DELETE [13:16:55.733] result = TM_Ok [13:16:55.733] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [13:16:55.733] l__state = {l = , i = } [13:16:55.733] mtstate = 0x55e772c85180 [13:16:55.733] newslot = [13:16:55.733] estate = 0x55e772c84de0 [13:16:55.733] econtext = 0x55e772c735a8 [13:16:55.733] isNull = false [13:16:55.733] epqstate = 0x55e772c85268 [13:16:55.733] l = [13:16:55.733] lmerge_matched = [13:16:55.733] __func__ = "ExecMergeMatched" [13:16:55.733] #6 0x000055e77051989c in ExecMerge (context=context@entry=0x7ffc0a751d90, resultRelInfo=resultRelInfo@entry=0x55e772c85390, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffc0a751d70, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2774 [13:16:55.733] matched = true [13:16:55.733] #7 0x000055e77051b1a4 in ExecModifyTable (pstate=0x55e772c85180) at ../src/backend/executor/nodeModifyTable.c:3950 [13:16:55.733] node = 0x55e772c85180 [13:16:55.733] context = {mtstate = 0x55e772c85180, epqstate = 0x55e772c85268, estate = 0x55e772c84de0, planSlot = 0x55e772c723c8, relaction = 0x55e772c737e8, tmfd = {ctid = {ip_blkid = {bi_hi = 42608, bi_lo = 29375}, ip_posid = 21991}, xmax = 1925657912, cmax = 21991, traversed = 112}, cpUpdateReturningSlot = 0x55e772c85180} [13:16:55.733] estate = 0x55e772c84de0 [13:16:55.733] operation = CMD_MERGE [13:16:55.733] resultRelInfo = 0x55e772c85390 [13:16:55.733] subplanstate = 0x55e772c85ac0 [13:16:55.733] slot = [13:16:55.733] oldSlot = [13:16:55.733] tuple_ctid = {ip_blkid = {bi_hi = 29384, bi_lo = 21991}, ip_posid = 0} [13:16:55.733] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55e772bb7108} [13:16:55.733] oldtuple = 0x7ffc0a751d70 [13:16:55.733] tupleid = 0x0 [13:16:55.733] __func__ = "ExecModifyTable" [13:16:55.733] #8 0x000055e7704a8243 in ExecProcNodeFirst (node=0x55e772c85180) at ../src/backend/executor/execProcnode.c:464 [13:16:55.733] No locals. [13:16:55.733] #9 0x000055e770494c07 in ExecProcNode (node=0x55e772c85180) at ../src/include/executor/executor.h:274 [13:16:55.733] No locals. [13:16:55.733] #10 ExecutePlan (estate=estate@entry=0x55e772c84de0, planstate=0x55e772c85180, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=false, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55e772bfd020, execute_once=true) at ../src/backend/executor/execMain.c:1638 [13:16:55.733] slot = [13:16:55.733] current_tuple_count = 0 [13:16:55.733] #11 0x000055e770494f2a in standard_ExecutorRun (queryDesc=queryDesc@entry=0x55e772be73d0, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:357 [13:16:55.733] estate = 0x55e772c84de0 [13:16:55.733] operation = CMD_MERGE [13:16:55.733] dest = 0x55e772bfd020 [13:16:55.733] sendTuples = false [13:16:55.733] oldcontext = 0x55e772be72d0 [13:16:55.733] __func__ = "standard_ExecutorRun" [13:16:55.733] #12 0x00007f50a85d77fc in pgss_ExecutorRun (queryDesc=0x55e772be73d0, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1032 [13:16:55.733] _save_exception_stack = 0x7ffc0a752140 [13:16:55.733] _save_context_stack = 0x0 [13:16:55.733] _local_sigjmp_buf = {{__jmpbuf = {94452550890448, 7322627738290512537, 94452549284544, 94452550979616, 0, 0, 7322627739985011353, 7261622776956871321}, __mask_was_saved = 0, __saved_mask = {__val = {94452551536096, 94452550890448, 0, 94452550890192, 94452517048482, 0, 1, 0, 94452509841722, 94452550890448, 94452529160128, 94452550890192, 139984398816290, 94452550890448, 0, 94452549284544}}}} [13:16:55.733] _do_rethrow = false [13:16:55.733] #13 0x000055e770495088 in ExecutorRun (queryDesc=queryDesc@entry=0x55e772be73d0, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [13:16:55.733] No locals. [13:16:55.733] #14 0x000055e7708a64d2 in ProcessQuery (plan=plan@entry=0x55e772bfcec0, sourceText=0x55e772a5f2c0 "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=0x55e772bfd020, qc=qc@entry=0x7ffc0a752280) at ../src/backend/tcop/pquery.c:160 [13:16:55.733] queryDesc = 0x55e772be73d0 [13:16:55.733] #15 0x000055e7708a821b in PortalRunMulti (portal=portal@entry=0x55e772ae0fd0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55e772bfd020, altdest=altdest@entry=0x55e772bfd020, qc=qc@entry=0x7ffc0a752280) at ../src/backend/tcop/pquery.c:1277 [13:16:55.733] pstmt = 0x55e772bfcec0 [13:16:55.733] stmtlist_item__state = {l = , i = } [13:16:55.733] active_snapshot_set = true [13:16:55.733] stmtlist_item = 0x55e772bfcfe8 [13:16:55.733] #16 0x000055e7708a8c36 in PortalRun (portal=portal@entry=0x55e772ae0fd0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55e772bfd020, altdest=altdest@entry=0x55e772bfd020, qc=0x7ffc0a752280) at ../src/backend/tcop/pquery.c:791 [13:16:55.733] _save_exception_stack = 0x7ffc0a752330 [13:16:55.733] _save_context_stack = 0x0 [13:16:55.733] _local_sigjmp_buf = {{__jmpbuf = {1, -7320838912975674727, 94452550979616, 94452551495312, 94452549816272, 94452551495240, 7322627738363912857, 3578610039347241625}, __mask_was_saved = 0, __saved_mask = {__val = {140720483934735, 94452519763038, 94452549824480, 94452519763038, 1, 140720483934735, 94452551495288, 94452551495240, 94452516789297, 94452519351987, 94452549816272, 94452519763038, 1, 1, 94452517048482, 163}}}} [13:16:55.733] _do_rethrow = [13:16:55.733] result = [13:16:55.733] nprocessed = [13:16:55.733] saveTopTransactionResourceOwner = 0x55e772aa2a68 [13:16:55.733] saveTopTransactionContext = 0x55e772a8b8b0 [13:16:55.733] saveActivePortal = 0x0 [13:16:55.733] saveResourceOwner = 0x55e772aa2a68 [13:16:55.733] savePortalContext = 0x0 [13:16:55.733] saveMemoryContext = 0x55e772a8b8b0 [13:16:55.733] __func__ = "PortalRun" [13:16:55.733] #17 0x000055e7708a1eb5 in exec_simple_query (query_string=query_string@entry=0x55e772a5f2c0 "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:1273 [13:16:55.733] cmdtaglen = 5 [13:16:55.733] snapshot_set = [13:16:55.733] per_parsetree_context = 0x0 [13:16:55.733] plantree_list = 0x55e772bfcfd0 [13:16:55.733] parsetree = 0x55e772c7ae48 [13:16:55.733] commandTag = [13:16:55.733] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [13:16:55.733] querytree_list = [13:16:55.733] portal = 0x55e772ae0fd0 [13:16:55.733] receiver = 0x55e772bfd020 [13:16:55.733] format = 0 [13:16:55.733] cmdtagname = [13:16:55.733] parsetree_item__state = {l = , i = } [13:16:55.733] dest = DestRemote [13:16:55.733] oldcontext = 0x55e772a8b8b0 [13:16:55.733] parsetree_list = 0x55e772c7ae78 [13:16:55.733] parsetree_item = 0x55e772c7ae90 [13:16:55.733] save_log_statement_stats = false [13:16:55.733] was_logged = true [13:16:55.733] use_implicit_block = false [13:16:55.733] msec_str = "\004\000\000\000\000\000\000\000\312\362\266p\347U\000\000\020#u\n\374\177\000\000\361\000\000\000\000\000\000" [13:16:55.733] __func__ = "exec_simple_query" [13:16:55.733] #18 0x000055e7708a4c6d in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4675 [13:16:55.733] query_string = 0x55e772a5f2c0 "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"... [13:16:55.733] firstchar = [13:16:55.733] input_message = {data = 0x55e772a5f2c0 "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 = 241, maxlen = 1024, cursor = 241} [13:16:55.733] local_sigjmp_buf = {{__jmpbuf = {94452529160120, 3578608182189777561, 0, 4, 140720483935396, 1, 7322627738300998297, 3578610041158525593}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94452549259120, 16384, 8248, 94452516961579, 0, 0, 0, 94452529160128, 94452549284288, 94452529154232, 4, 140720483935396, 1, 94452516964629, 1}}}} [13:16:55.733] send_ready_for_query = false [13:16:55.733] idle_in_transaction_timeout_enabled = false [13:16:55.733] idle_session_timeout_enabled = false [13:16:55.733] __func__ = "PostgresMain" [13:16:55.733] #19 0x000055e7707480a7 in BackendRun (port=port@entry=0x55e772a8e220) at ../src/backend/postmaster/postmaster.c:4475 [13:16:55.733] No locals. [13:16:55.733] #20 0x000055e77074d98f in BackendStartup (port=port@entry=0x55e772a8e220) at ../src/backend/postmaster/postmaster.c:4151 [13:16:55.733] bn = 0x55e772a8ba28 [13:16:55.733] pid = 0 [13:16:55.733] __func__ = "BackendStartup" [13:16:55.733] #21 0x000055e77074dd0c in ServerLoop () at ../src/backend/postmaster/postmaster.c:1769 [13:16:55.733] port = 0x55e772a8e220 [13:16:55.733] i = 0 [13:16:55.733] now = [13:16:55.733] last_lockfile_recheck_time = 1709903616 [13:16:55.733] last_touch_time = 1709903616 [13:16:55.733] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 1508362478, events = 0, fd = 23568163, user_data = 0x7ffc0a752504}, {pos = 1923650832, events = 21991, fd = 175449552, user_data = 0x7f50aafb8320}, {pos = 175449536, events = 32764, fd = 46, user_data = 0x7f50ac784180}, {pos = 64, events = 0, fd = 0, user_data = 0x7f50ac784180}, {pos = 1508362478, events = 0, fd = -1414588536, user_data = 0x7f50aafbafea}, {pos = 175449704, events = 32764, fd = 175449536, user_data = 0x7ffc0a7525d0}, {pos = -1401541407, events = 32592, fd = 18, user_data = 0x7f50a87b8618}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = -1414589408, events = 32592, fd = 7, user_data = 0x7f50a87b8618}, {pos = -1414589408, events = 32592, fd = 1896298664, user_data = 0x7f50abaf1788}, {pos = 0, events = 0, fd = 1923656592, user_data = 0x55e772a8f598}, {pos = -1, events = 0, fd = -1401522653, user_data = 0x7f50aade7418}, {pos = -1414588128, events = 32592, fd = 8, user_data = 0x7f50aadf29f8}, {pos = 175450512, events = 32764, fd = -1401493878, user_data = 0x10}, {pos = 16777343, events = 0, fd = 16, user_data = 0x7f50aafd40f8 <__libc_fork@got.plt>}, {pos = 4, events = 0, fd = 1923481056, user_data = 0x1}, {pos = 1, events = 0, fd = 1923485984, user_data = 0x7f50ac767623 <_dl_fixup+211>}, {pos = 1, events = 0, fd = 0, user_data = 0x55e772a94940}, {pos = -1428261864, events = 32592, fd = 175450624, user_data = 0x7f50ac76e68a <_dl_runtime_resolve_xsavec+122>}, {pos = 0, events = 0, fd = 0, user_data = 0x7ffc0a752a20}, {pos = 1903295872, events = 21991, fd = 2, user_data = 0x55e77171fd80 }, {pos = 0, events = 0, fd = 64, user_data = 0x7000000101}, {pos = 111, events = 124, fd = 1, user_data = 0x2ffff00001fa0}, {pos = 8, events = 0, fd = 0, user_data = 0x100007f00000002}, {pos = 255, events = 0, fd = 4096, user_data = 0xffffffffffffff08}, {pos = 0, events = 0, fd = 1923697016, user_data = 0x3ff}, {pos = 4096, events = 0, fd = 1923469328, user_data = 0x55e772a5d010}, {pos = 0, events = 0, fd = -1427821099, user_data = 0x801}, {pos = 704176, 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 = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = 811562031, user_data = 0x65725f6d61657274}, {pos = 1868785010, events = 2037540214, fd = 926036015, 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 = 784, events = 0, fd = 1893425004, user_data = 0x55e772a8f0e0}, {pos = -596686336, events = 3215677913, fd = 4, user_data = 0x55e772a94940}, {pos = 1923674336, events = 21991, fd = 1923674536, user_data = 0x400}, {pos = 1923674536, events = 21991, fd = 0, user_data = 0x55e770b8ea69 }, {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 = 0x55e77172df70 }, {pos = 1891167504, events = 21991, fd = 1923674336, user_data = 0x55e772a5f1c0}, {pos = 1923674336, events = 21991, fd = 15, user_data = 0x4a}, {pos = 1891235596, events = 21991, fd = 1923674336, user_data = 0x55e770b9f84e }, {pos = 1923469328, events = 21991, fd = -1427743442, user_data = 0x0}, {pos = 1884725055, events = 21991, fd = 1923648496, user_data = 0x172a5d010}, {pos = 175450776, events = 32764, fd = 0, user_data = 0x55e772a8f0e0}, {pos = -1427758678, events = 32592, fd = 1024, user_data = 0x55e772a5d010}, {pos = -1427765008, events = 32592, fd = 0, user_data = 0x55e700000000}, {pos = 0, events = 0, fd = 1923469328, user_data = 0xb}, {pos = 0, events = 0, fd = 0, user_data = 0x5858}, {pos = -1427461371, events = 32592, fd = 4, user_data = 0xbfab59d9dc6f4a00}, {pos = 1, events = 0, fd = 1886673984, user_data = 0x400000}, {pos = 1, events = 0, fd = 0, user_data = 0x55e770b9f70c }, {pos = 1923648496, events = 21991, fd = 1891235918, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x55e770569b12 }, {pos = 0, events = 0, fd = 1884748008, user_data = 0x55e772a5f1c0}, {pos = 1886701277, events = 21991, fd = 0, user_data = 0x0}} [13:16:55.734] nevents = 1 [13:16:55.734] __func__ = "ServerLoop" [13:16:55.734] #22 0x000055e77074f79e in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55e772a58e70) at ../src/backend/postmaster/postmaster.c:1468 [13:16:55.734] opt = [13:16:55.734] status = [13:16:55.734] userDoption = [13:16:55.734] listen_addr_saved = false [13:16:55.734] output_config_variable = [13:16:55.734] __func__ = "PostmasterMain" [13:16:55.734] #23 0x000055e77057a90c in main (argc=4, argv=0x55e772a58e70) at ../src/backend/main/main.c:197 [13:16:55.734] do_check_root = [13:16:55.753] -e [13:16:55.753] [13:16:55.753] [13:16:56.300] dumping /tmp/cores/postgres-6-18375.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [13:16:56.621] [New LWP 18375] [13:16:57.789] [Thread debugging using libthread_db enabled] [13:16:57.789] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [13:16:59.231] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [13:16:59.231] Program terminated with signal SIGABRT, Aborted. [13:16:59.231] #0 0x00007f9540f69ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [13:16:59.498] [13:16:59.498] Thread 1 (Thread 0x7f953e900a40 (LWP 18375)): [13:16:59.498] #0 0x00007f9540f69ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [13:16:59.498] No symbol table info available. [13:16:59.498] #1 0x00007f9540f53537 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [13:16:59.498] No symbol table info available. [13:16:59.498] #2 0x000055b8e27e5572 in ExceptionalCondition (conditionName=conditionName@entry=0x55b8e2a25e08 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55b8e2a49c98 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1649) at ../src/backend/utils/error/assert.c:66 [13:16:59.498] No locals. [13:16:59.498] #3 0x000055b8e2154ce4 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffdf7782970, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffdf778282f) at ../src/backend/executor/execTuples.c:1649 [13:16:59.498] No locals. [13:16:59.498] #4 0x000055b8e20db45b in ExecIRDeleteTriggers (estate=estate@entry=0x55b8e53f89f0, relinfo=relinfo@entry=0x55b8e53f8fa0, slot=slot@entry=0x7ffdf7782970) at ../src/backend/commands/trigger.c:2841 [13:16:59.498] trigger = 0x55b8e53f9200 [13:16:59.498] oldtuple = [13:16:59.498] trigdesc = 0x55b8e53f91b0 [13:16:59.498] newtuple = 0x0 [13:16:59.498] should_free = false [13:16:59.498] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f953595b0a8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [13:16:59.498] i = 0 [13:16:59.498] #5 0x000055b8e21b7bb7 in ExecMergeMatched (context=0x7ffdf7782990, resultRelInfo=resultRelInfo@entry=0x55b8e53f8fa0, tupleid=0x0, oldtuple=0x7ffdf7782970, canSetTag=true) at ../src/backend/executor/nodeModifyTable.c:2977 [13:16:59.498] relaction = 0x55b8e5347568 [13:16:59.498] commandType = CMD_DELETE [13:16:59.498] result = TM_Ok [13:16:59.498] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [13:16:59.498] l__state = {l = , i = } [13:16:59.498] mtstate = 0x55b8e53f8d90 [13:16:59.498] newslot = [13:16:59.498] estate = 0x55b8e53f89f0 [13:16:59.498] econtext = 0x55b8e5347328 [13:16:59.498] isNull = false [13:16:59.498] epqstate = 0x55b8e53f8e78 [13:16:59.498] l = [13:16:59.498] lmerge_matched = [13:16:59.498] __func__ = "ExecMergeMatched" [13:16:59.498] #6 0x000055b8e21b889c in ExecMerge (context=context@entry=0x7ffdf7782990, resultRelInfo=resultRelInfo@entry=0x55b8e53f8fa0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffdf7782970, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2774 [13:16:59.498] matched = true [13:16:59.498] #7 0x000055b8e21ba1a4 in ExecModifyTable (pstate=0x55b8e53f8d90) at ../src/backend/executor/nodeModifyTable.c:3950 [13:16:59.498] node = 0x55b8e53f8d90 [13:16:59.498] context = {mtstate = 0x55b8e53f8d90, epqstate = 0x55b8e53f8e78, estate = 0x55b8e53f89f0, planSlot = 0x55b8e5346148, relaction = 0x55b8e5347568, tmfd = {ctid = {ip_blkid = {bi_hi = 35386, bi_lo = 57847}, ip_posid = 21944}, xmax = 1, cmax = 0, traversed = 24}, cpUpdateReturningSlot = 0x55b8e53b7c48} [13:16:59.498] estate = 0x55b8e53f89f0 [13:16:59.498] operation = CMD_MERGE [13:16:59.498] resultRelInfo = 0x55b8e53f8fa0 [13:16:59.498] subplanstate = 0x55b8e53f96d0 [13:16:59.498] slot = [13:16:59.498] oldSlot = [13:16:59.498] tuple_ctid = {ip_blkid = {bi_hi = 58683, bi_lo = 21944}, ip_posid = 0} [13:16:59.498] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55b8e536d628} [13:16:59.498] oldtuple = 0x7ffdf7782970 [13:16:59.498] tupleid = 0x0 [13:16:59.498] __func__ = "ExecModifyTable" [13:16:59.498] #8 0x000055b8e2147243 in ExecProcNodeFirst (node=0x55b8e53f8d90) at ../src/backend/executor/execProcnode.c:464 [13:16:59.498] No locals. [13:16:59.498] #9 0x000055b8e2133c07 in ExecProcNode (node=0x55b8e53f8d90) at ../src/include/executor/executor.h:274 [13:16:59.498] No locals. [13:16:59.498] #10 ExecutePlan (estate=estate@entry=0x55b8e53f89f0, planstate=0x55b8e53f8d90, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=false, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55b8e53b8d18, execute_once=true) at ../src/backend/executor/execMain.c:1638 [13:16:59.498] slot = [13:16:59.498] current_tuple_count = 0 [13:16:59.498] #11 0x000055b8e2133f2a in standard_ExecutorRun (queryDesc=0x55b8e5399190, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:357 [13:16:59.498] estate = 0x55b8e53f89f0 [13:16:59.498] operation = CMD_MERGE [13:16:59.498] dest = 0x55b8e53b8d18 [13:16:59.498] sendTuples = false [13:16:59.498] oldcontext = 0x55b8e5399090 [13:16:59.498] __func__ = "standard_ExecutorRun" [13:16:59.498] #12 0x000055b8e2134095 in ExecutorRun (queryDesc=queryDesc@entry=0x55b8e5399190, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:301 [13:16:59.498] No locals. [13:16:59.498] #13 0x000055b8e25454d2 in ProcessQuery (plan=plan@entry=0x55b8e53b8bb8, sourceText=0x55b8e520a280 "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=0x55b8e53b8d18, qc=qc@entry=0x7ffdf7782d70) at ../src/backend/tcop/pquery.c:160 [13:16:59.498] queryDesc = 0x55b8e5399190 [13:16:59.498] #14 0x000055b8e254721b in PortalRunMulti (portal=portal@entry=0x55b8e528d310, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55b8e53b8d18, altdest=altdest@entry=0x55b8e53b8d18, qc=qc@entry=0x7ffdf7782d70) at ../src/backend/tcop/pquery.c:1277 [13:16:59.498] pstmt = 0x55b8e53b8bb8 [13:16:59.498] stmtlist_item__state = {l = , i = } [13:16:59.498] active_snapshot_set = true [13:16:59.498] stmtlist_item = 0x55b8e53b8ce0 [13:16:59.498] #15 0x000055b8e2547c36 in PortalRun (portal=portal@entry=0x55b8e528d310, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55b8e53b8d18, altdest=altdest@entry=0x55b8e53b8d18, qc=0x7ffdf7782d70) at ../src/backend/tcop/pquery.c:791 [13:16:59.498] _save_exception_stack = 0x7ffdf7782e20 [13:16:59.498] _save_context_stack = 0x0 [13:16:59.498] _local_sigjmp_buf = {{__jmpbuf = {1, 785970897463590056, 94252608228632, 94252607720480, 94252607001360, 94252607720408, -787080254905860952, -6802246380127077208}, __mask_was_saved = 0, __saved_mask = {__val = {140728755301631, 94252565359710, 94252607009568, 94252565359710, 1, 140728755301631, 94252607720456, 94252607720408, 94252562385969, 94252564948659, 94252607001360, 94252565359710, 1, 1, 94252562645154, 163}}}} [13:16:59.498] _do_rethrow = [13:16:59.498] result = [13:16:59.498] nprocessed = [13:16:59.498] saveTopTransactionResourceOwner = 0x55b8e5256e08 [13:16:59.498] saveTopTransactionContext = 0x55b8e523d440 [13:16:59.498] saveActivePortal = 0x0 [13:16:59.498] saveResourceOwner = 0x55b8e5256e08 [13:16:59.498] savePortalContext = 0x0 [13:16:59.498] saveMemoryContext = 0x55b8e523d440 [13:16:59.498] __func__ = "PortalRun" [13:16:59.498] #16 0x000055b8e2540eb5 in exec_simple_query (query_string=query_string@entry=0x55b8e520a280 "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:1273 [13:16:59.498] cmdtaglen = 5 [13:16:59.498] snapshot_set = [13:16:59.498] per_parsetree_context = 0x0 [13:16:59.498] plantree_list = 0x55b8e53b8cc8 [13:16:59.498] parsetree = 0x55b8e533cbd8 [13:16:59.498] commandTag = [13:16:59.498] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [13:16:59.498] querytree_list = [13:16:59.498] portal = 0x55b8e528d310 [13:16:59.498] receiver = 0x55b8e53b8d18 [13:16:59.498] format = 0 [13:16:59.498] cmdtagname = [13:16:59.498] parsetree_item__state = {l = , i = } [13:16:59.498] dest = DestRemote [13:16:59.498] oldcontext = 0x55b8e523d440 [13:16:59.498] parsetree_list = 0x55b8e533cc08 [13:16:59.498] parsetree_item = 0x55b8e533cc20 [13:16:59.498] save_log_statement_stats = false [13:16:59.498] was_logged = true [13:16:59.498] use_implicit_block = false [13:16:59.498] msec_str = "\004\000\000\000\000\000\000\000\312\342\200\342\270U\000\000\000.x\367\375\177\000\000\361\000\000\000\000\000\000" [13:16:59.498] __func__ = "exec_simple_query" [13:16:59.498] #17 0x000055b8e2543c6d in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4675 [13:16:59.498] query_string = 0x55b8e520a280 "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"... [13:16:59.498] firstchar = [13:16:59.498] input_message = {data = 0x55b8e520a280 "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 = 241, maxlen = 1024, cursor = 241} [13:16:59.498] local_sigjmp_buf = {{__jmpbuf = {94252574756792, -6802245077027734360, 0, 4, 140728755302292, 1, -787080254834557784, -6802246377645491032}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 14344, 0, 1, 140279017074148, 94252606439216, 14336, 14400, 94252562556544, 94252574756800, 94252606464384, 94252574750904, 4, 140728755302292, 94252562560612, 1}}}} [13:16:59.498] send_ready_for_query = false [13:16:59.498] idle_in_transaction_timeout_enabled = false [13:16:59.498] idle_session_timeout_enabled = false [13:16:59.498] __func__ = "PostgresMain" [13:16:59.498] #18 0x000055b8e23e70a7 in BackendRun (port=port@entry=0x55b8e5235640) at ../src/backend/postmaster/postmaster.c:4475 [13:16:59.498] No locals. [13:16:59.498] #19 0x000055b8e23ec98f in BackendStartup (port=port@entry=0x55b8e5235640) at ../src/backend/postmaster/postmaster.c:4151 [13:16:59.498] bn = 0x55b8e523fa78 [13:16:59.498] pid = 0 [13:16:59.498] __func__ = "BackendStartup" [13:16:59.498] #20 0x000055b8e23ecd0c in ServerLoop () at ../src/backend/postmaster/postmaster.c:1769 [13:16:59.498] port = 0x55b8e5235640 [13:16:59.498] i = 0 [13:16:59.498] now = [13:16:59.498] last_lockfile_recheck_time = 1709903596 [13:16:59.498] last_touch_time = 1709903596 [13:16:59.498] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = -143118208, events = 32765, fd = 45, user_data = 0x7ffdf7783040}, {pos = -143118256, events = 0, fd = 0, user_data = 0x12}, {pos = 1508362478, events = 0, fd = 1103361928, user_data = 0x7f9541108fea}, {pos = -143118040, events = 32765, fd = -143118208, user_data = 0x7ffdf7783090}, {pos = 1116409057, events = 32661, fd = 18, user_data = 0x7f953e906618}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = 1103361056, events = 32661, fd = -1, user_data = 0x7f953e906618}, {pos = 1103361056, events = 32661, fd = 1024, user_data = 0x7f9541c3f788}, {pos = 0, events = 0, fd = 7, user_data = 0x7ffdf7783090}, {pos = -1, events = 0, fd = 1090469050, user_data = 0x7f9540f35418}, {pos = 1103362336, events = 32661, fd = -450677720, user_data = 0x55b8e52332b8}, {pos = -450684240, events = 21944, fd = -450677688, user_data = 0x55b8e52343a1}, {pos = 1116427811, events = 32661, fd = 1, user_data = 0x7f95411220f8 <__libc_fork@got.plt>}, {pos = 4, events = 0, fd = -450838464, user_data = 0x1}, {pos = 1, events = 0, fd = -450838496, user_data = 0x7f95428b5623 <_dl_fixup+211>}, {pos = 1, events = 0, fd = 0, user_data = 0x55b8e5231ab0}, {pos = 1089688600, events = 32661, fd = -143117072, user_data = 0x7f95428bc68a <_dl_runtime_resolve_xsavec+122>}, {pos = 0, events = 0, fd = 0, user_data = 0x7ffdf7783510}, {pos = -482611840, events = 21944, fd = 2, user_data = 0x55b8e33bed80 }, {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 = -450677800, user_data = 0x3ff}, {pos = 4096, 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 = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = 794915937, user_data = 0x6770755f67705f32}, {pos = 1853190772, events = 1600614447, fd = 1919381621, user_data = 0x3437343736202020}, {pos = 538976308, events = 538976288, 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 = 1090207022, user_data = 0x400}, {pos = -450854960, events = 21944, fd = 1091552384, user_data = 0x1e5207fd0}, {pos = 784, events = 0, fd = -492482708, user_data = 0x55b8e5232f90}, {pos = 2035688448, events = 972168812, fd = 4, user_data = 0x55b8e52333a0}, {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 = 0x55b8e5232f90}, {pos = 1, events = 0, fd = -450678696, user_data = 0x400}, {pos = 0, events = 0, fd = -494673884, user_data = 0x55b8e33ccf70 }, {pos = -494740208, events = 21944, fd = -450678896, user_data = 0x55b8e520a180}, {pos = -450678896, events = 21944, fd = 15, user_data = 0x4a}, {pos = -494672116, events = 21944, fd = -450678896, user_data = 0x55b8e283e84e }, {pos = -450854960, events = 21944, fd = 1090207022, user_data = 0x0}, {pos = -501182657, events = 21944, fd = -450684048, user_data = 0x1e5207fd0}, {pos = -143116920, events = 32765, fd = 0, user_data = 0x55b8e5232f90}, {pos = 1090191786, events = 32661, fd = 1024, user_data = 0x55b8e5207fd0}, {pos = 1090185456, events = 32661, fd = 0, user_data = 0x55b800000000}, {pos = 0, events = 0, fd = -450854960, user_data = 0xb}, {pos = 0, events = 0, fd = 0, user_data = 0x3f00}, {pos = 1090489093, events = 32661, fd = 4, user_data = 0x39f21e6c79562400}, {pos = 1, events = 0, fd = -499233728, user_data = 0x400000}, {pos = 1, events = 0, fd = 0, user_data = 0x55b8e283e70c }, {pos = -450684048, events = 21944, fd = -494671794, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x55b8e2208b12 }, {pos = 0, events = 0, fd = -501159704, user_data = 0x55b8e520a180}, {pos = -499206435, events = 21944, fd = 0, user_data = 0x0}} [13:16:59.500] nevents = 1 [13:16:59.500] __func__ = "ServerLoop" [13:16:59.500] #21 0x000055b8e23ee79e in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55b8e5203e40) at ../src/backend/postmaster/postmaster.c:1468 [13:16:59.500] opt = [13:16:59.500] status = [13:16:59.500] userDoption = [13:16:59.500] listen_addr_saved = false [13:16:59.500] output_config_variable = [13:16:59.500] __func__ = "PostmasterMain" [13:16:59.500] #22 0x000055b8e221990c in main (argc=4, argv=0x55b8e5203e40) at ../src/backend/main/main.c:197 [13:16:59.500] do_check_root =