[14:44:17.560] src/tools/ci/cores_backtrace.sh linux /tmp/cores [14:44:18.395] dumping /tmp/cores/postgres-6-27309.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [14:44:20.077] [New LWP 27309] [14:44:20.077] Downloading separate debug info for /lib/x86_64-linux-gnu/libm.so.6... [14:44:20.841] Downloading separate debug info for /lib/x86_64-linux-gnu/libdl.so.2... [14:44:21.605] Downloading separate debug info for /lib/x86_64-linux-gnu/librt.so.1... [14:44:22.826] Downloading separate debug info for /lib/x86_64-linux-gnu/libgssapi_krb5.so.2... [14:44:25.391] Downloading separate debug info for /lib/x86_64-linux-gnu/libicuuc.so.67... [14:44:25.391] Downloading separate debug info for /.cache/debuginfod_client/f871bbd529a02abd860f0d16b842b5b20234cb49/debuginfo... [14:44:27.265] Downloading separate debug info for /lib/x86_64-linux-gnu/libicui18n.so.67... [14:44:28.478] Downloading separate debug info for /lib/x86_64-linux-gnu/libldap_r-2.4.so.2... [14:44:30.052] Downloading separate debug info for /lib/x86_64-linux-gnu/libxml2.so.2... [14:44:31.116] Downloading separate debug info for /lib/x86_64-linux-gnu/liblz4.so.1... [14:44:31.879] Downloading separate debug info for /lib/x86_64-linux-gnu/libpam.so.0... [14:44:33.105] Downloading separate debug info for /lib/x86_64-linux-gnu/libssl.so.1.1... [14:44:34.715] Downloading separate debug info for /lib/x86_64-linux-gnu/libcrypto.so.1.1... [14:44:36.129] Downloading separate debug info for /lib/x86_64-linux-gnu/libsystemd.so.0... [14:44:37.036] Downloading separate debug info for /lib/x86_64-linux-gnu/libz.so.1... [14:44:38.568] Downloading separate debug info for /lib/x86_64-linux-gnu/libzstd.so.1... [14:44:39.953] Downloading separate debug info for /lib/x86_64-linux-gnu/libpthread.so.0... [14:44:40.424] [Thread debugging using libthread_db enabled] [14:44:40.424] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [14:44:41.485] Downloading separate debug info for /lib64/ld-linux-x86-64.so.2... [14:44:42.874] Downloading separate debug info for /lib/x86_64-linux-gnu/libkrb5.so.3... [14:44:43.936] Downloading separate debug info for /lib/x86_64-linux-gnu/libk5crypto.so.3... [14:44:44.550] Downloading separate debug info for /lib/x86_64-linux-gnu/libcom_err.so.2... [14:44:45.316] Downloading separate debug info for /lib/x86_64-linux-gnu/libkrb5support.so.0... [14:44:47.598] Downloading separate debug info for /lib/x86_64-linux-gnu/libstdc++.so.6... [14:44:48.521] Downloading separate debug info for /lib/x86_64-linux-gnu/libgcc_s.so.1... [14:44:49.284] Downloading separate debug info for /lib/x86_64-linux-gnu/liblber-2.4.so.2... [14:44:50.196] Downloading separate debug info for /lib/x86_64-linux-gnu/libresolv.so.2... [14:44:51.107] Downloading separate debug info for /lib/x86_64-linux-gnu/libsasl2.so.2... [14:44:52.693] Downloading separate debug info for /lib/x86_64-linux-gnu/libgnutls.so.30... [14:44:53.755] Downloading separate debug info for /lib/x86_64-linux-gnu/liblzma.so.5... [14:44:54.520] Downloading separate debug info for /lib/x86_64-linux-gnu/libaudit.so.1... [14:44:55.902] Downloading separate debug info for /lib/x86_64-linux-gnu/libgcrypt.so.20... [14:44:56.519] Downloading separate debug info for /lib/x86_64-linux-gnu/libkeyutils.so.1... [14:44:58.052] Downloading separate debug info for /lib/x86_64-linux-gnu/libp11-kit.so.0... [14:44:58.816] Downloading separate debug info for /lib/x86_64-linux-gnu/libidn2.so.0... [14:45:00.041] Downloading separate debug info for /lib/x86_64-linux-gnu/libunistring.so.2... [14:45:00.809] Downloading separate debug info for /lib/x86_64-linux-gnu/libtasn1.so.6... [14:45:01.874] Downloading separate debug info for /lib/x86_64-linux-gnu/libnettle.so.8... [14:45:02.943] Downloading separate debug info for /lib/x86_64-linux-gnu/libhogweed.so.6... [14:45:04.161] Downloading separate debug info for /lib/x86_64-linux-gnu/libgmp.so.10... [14:45:04.780] Downloading separate debug info for /lib/x86_64-linux-gnu/libcap-ng.so.0... [14:45:05.699] Downloading separate debug info for /lib/x86_64-linux-gnu/libgpg-error.so.0... [14:45:06.463] Downloading separate debug info for /lib/x86_64-linux-gnu/libffi.so.7... [14:45:06.974] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [14:45:06.974] Program terminated with signal SIGABRT, Aborted. [14:45:06.974] #0 0x00007f36b8f42ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [14:45:07.296] [14:45:07.296] Thread 1 (Thread 0x7f36b68d9a40 (LWP 27309)): [14:45:07.296] #0 0x00007f36b8f42ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [14:45:07.296] No symbol table info available. [14:45:07.296] #1 0x00007f36b8f2c537 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [14:45:07.296] No symbol table info available. [14:45:07.296] #2 0x0000564ba6c2c87a in ExceptionalCondition (conditionName=conditionName@entry=0x564ba6e81538 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x564ba6ea5e38 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [14:45:07.296] No locals. [14:45:07.296] #3 0x0000564ba657e67a in ExecFetchSlotHeapTuple (slot=slot@entry=0x7fff16e51b80, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7fff16e51a1f) at ../src/backend/executor/execTuples.c:1737 [14:45:07.296] No locals. [14:45:07.296] #4 0x0000564ba6502073 in ExecIRDeleteTriggers (estate=estate@entry=0x564ba996b900, relinfo=relinfo@entry=0x564ba996beb0, slot=slot@entry=0x7fff16e51b80) at ../src/backend/commands/trigger.c:2841 [14:45:07.296] trigger = 0x564ba996c110 [14:45:07.296] oldtuple = [14:45:07.296] trigdesc = 0x564ba996c0c0 [14:45:07.296] newtuple = 0x0 [14:45:07.296] should_free = false [14:45:07.296] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f36b4ab95d8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [14:45:07.296] i = 0 [14:45:07.296] #5 0x0000564ba65e158e in ExecMergeMatched (context=0x7fff16e51ba0, resultRelInfo=resultRelInfo@entry=0x564ba996beb0, tupleid=0x0, oldtuple=0x7fff16e51b80, canSetTag=true, matched=matched@entry=0x7fff16e51b2f) at ../src/backend/executor/nodeModifyTable.c:3027 [14:45:07.296] relaction = 0x564ba9a0b5d8 [14:45:07.296] commandType = CMD_DELETE [14:45:07.296] result = TM_Ok [14:45:07.296] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [14:45:07.296] l__state = {l = , i = } [14:45:07.296] mtstate = 0x564ba996bca0 [14:45:07.296] mergeActions = 0x564ba996bfc0 [14:45:07.296] actionStates = 0x564ba9a0bb98 [14:45:07.296] newslot = 0x0 [14:45:07.296] rslot = 0x0 [14:45:07.296] estate = 0x564ba996b900 [14:45:07.296] econtext = 0x564ba9a0abe8 [14:45:07.296] isNull = false [14:45:07.296] epqstate = 0x564ba996bd88 [14:45:07.296] l = [14:45:07.296] __func__ = "ExecMergeMatched" [14:45:07.296] lmerge_matched = [14:45:07.296] #6 0x0000564ba65e2676 in ExecMerge (context=context@entry=0x7fff16e51ba0, resultRelInfo=resultRelInfo@entry=0x564ba996beb0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7fff16e51b80, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2791 [14:45:07.296] rslot = 0x0 [14:45:07.296] matched = true [14:45:07.296] #7 0x0000564ba65e43cd in ExecModifyTable (pstate=0x564ba996bca0) at ../src/backend/executor/nodeModifyTable.c:4112 [14:45:07.296] node = 0x564ba996bca0 [14:45:07.296] context = {mtstate = 0x564ba996bca0, epqstate = 0x564ba996bd88, estate = 0x564ba996b900, planSlot = 0x564ba9a095f8, tmfd = {ctid = {ip_blkid = {bi_hi = 46152, bi_lo = 43424}, ip_posid = 22091}, xmax = 2845924792, cmax = 22091, traversed = 160}, cpUpdateReturningSlot = 0x564ba6564504 } [14:45:07.296] estate = 0x564ba996b900 [14:45:07.296] operation = CMD_MERGE [14:45:07.296] resultRelInfo = 0x564ba996beb0 [14:45:07.296] subplanstate = 0x564ba996c5e0 [14:45:07.296] slot = [14:45:07.296] oldSlot = [14:45:07.296] tuple_ctid = {ip_blkid = {bi_hi = 0, bi_lo = 1}, ip_posid = 0} [14:45:07.296] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x564ba99b7468} [14:45:07.296] oldtuple = 0x7fff16e51b80 [14:45:07.296] tupleid = 0x0 [14:45:07.296] __func__ = "ExecModifyTable" [14:45:07.296] #8 0x0000564ba6570845 in ExecProcNodeFirst (node=0x564ba996bca0) at ../src/backend/executor/execProcnode.c:464 [14:45:07.296] No locals. [14:45:07.296] #9 0x0000564ba655cf40 in ExecProcNode (node=0x564ba996bca0) at ../src/include/executor/executor.h:274 [14:45:07.296] No locals. [14:45:07.296] #10 ExecutePlan (estate=estate@entry=0x564ba996b900, planstate=0x564ba996bca0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x564ba99cb650, execute_once=true) at ../src/backend/executor/execMain.c:1646 [14:45:07.296] slot = [14:45:07.296] current_tuple_count = 0 [14:45:07.296] #11 0x0000564ba655d28a in standard_ExecutorRun (queryDesc=queryDesc@entry=0x564ba99cf848, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:363 [14:45:07.296] estate = 0x564ba996b900 [14:45:07.296] operation = CMD_MERGE [14:45:07.296] dest = 0x564ba99cb650 [14:45:07.296] sendTuples = true [14:45:07.296] oldcontext = 0x564ba99cb340 [14:45:07.296] __func__ = "standard_ExecutorRun" [14:45:07.296] #12 0x00007f36b66fe7fc in pgss_ExecutorRun (queryDesc=0x564ba99cf848, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1032 [14:45:07.296] _save_exception_stack = 0x7fff16e51f70 [14:45:07.296] _save_context_stack = 0x0 [14:45:07.296] _local_sigjmp_buf = {{__jmpbuf = {94882968172616, -6808394875374534548, 94882966725136, 94882968155728, 0, 0, -6808394875334688660, -6912750571174100884}, __mask_was_saved = 0, __saved_mask = {__val = {94882967763200, 94882968172616, 0, 94882968154944, 94882920700354, 0, 1, 0, 94882913362611, 94882968172616, 94882933170880, 94882968154944, 139872965755938, 94882968172616, 0, 94882966725136}}}} [14:45:07.296] _do_rethrow = false [14:45:07.296] #13 0x0000564ba655d3e8 in ExecutorRun (queryDesc=queryDesc@entry=0x564ba99cf848, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:302 [14:45:07.296] No locals. [14:45:07.296] #14 0x0000564ba6982624 in ProcessQuery (plan=plan@entry=0x564ba9a18fb0, sourceText=0x564ba986e210 "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=0x564ba99cb650, qc=qc@entry=0x7fff16e51ed0) at ../src/backend/tcop/pquery.c:160 [14:45:07.296] queryDesc = 0x564ba99cf848 [14:45:07.296] #15 0x0000564ba6984373 in PortalRunMulti (portal=portal@entry=0x564ba98eff20, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x564ba99cb650, altdest=0x564ba716a380 , qc=qc@entry=0x7fff16e51ed0) at ../src/backend/tcop/pquery.c:1277 [14:45:07.296] pstmt = 0x564ba9a18fb0 [14:45:07.296] stmtlist_item__state = {l = , i = } [14:45:07.296] active_snapshot_set = true [14:45:07.296] stmtlist_item = 0x564ba9a190d8 [14:45:07.296] #16 0x0000564ba6984a19 in FillPortalStore (portal=portal@entry=0x564ba98eff20, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [14:45:07.296] treceiver = 0x564ba99cb650 [14:45:07.296] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [14:45:07.296] __func__ = "FillPortalStore" [14:45:07.296] #17 0x0000564ba6985078 in PortalRun (portal=portal@entry=0x564ba98eff20, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x564ba9a19110, altdest=altdest@entry=0x564ba9a19110, qc=0x7fff16e520b0) at ../src/backend/tcop/pquery.c:763 [14:45:07.296] _save_exception_stack = 0x7fff16e52160 [14:45:07.296] _save_context_stack = 0x0 [14:45:07.296] _local_sigjmp_buf = {{__jmpbuf = {1, 6808762197113962604, 94882968473872, 94882968294608, 94882967256864, 94882968294536, -6808394875401797524, -942703590254051220}, __mask_was_saved = 0, __saved_mask = {__val = {94882967268424, 94882923499262, 94882967265072, 94882923499262, 1, 140733577502783, 94882968294584, 94882968294536, 94882920431553, 94882923084841, 94882967256864, 94882923499262, 1, 1, 94882920700354, 163}}}} [14:45:07.296] _do_rethrow = [14:45:07.296] result = [14:45:07.296] nprocessed = [14:45:07.296] saveTopTransactionResourceOwner = 0x564ba98af3f0 [14:45:07.296] saveTopTransactionContext = 0x564ba989a800 [14:45:07.296] saveActivePortal = 0x0 [14:45:07.296] saveResourceOwner = 0x564ba98af3f0 [14:45:07.296] savePortalContext = 0x0 [14:45:07.296] saveMemoryContext = 0x564ba989a800 [14:45:07.296] __func__ = "PortalRun" [14:45:07.296] #18 0x0000564ba697e001 in exec_simple_query (query_string=query_string@entry=0x564ba986e210 "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 [14:45:07.296] cmdtaglen = 5 [14:45:07.296] snapshot_set = [14:45:07.296] per_parsetree_context = 0x0 [14:45:07.296] plantree_list = 0x564ba9a190c0 [14:45:07.296] parsetree = 0x564ba99ed488 [14:45:07.296] commandTag = [14:45:07.296] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [14:45:07.296] querytree_list = [14:45:07.296] portal = 0x564ba98eff20 [14:45:07.296] receiver = 0x564ba9a19110 [14:45:07.296] format = 0 [14:45:07.296] cmdtagname = [14:45:07.296] parsetree_item__state = {l = , i = } [14:45:07.296] dest = DestRemote [14:45:07.296] oldcontext = 0x564ba989a800 [14:45:07.296] parsetree_list = 0x564ba99ed4b8 [14:45:07.296] parsetree_item = 0x564ba99ed4d0 [14:45:07.296] save_log_statement_stats = false [14:45:07.296] was_logged = true [14:45:07.296] use_implicit_block = false [14:45:07.296] msec_str = "\020#\345\026\377\177\000\000Z\\ŦKV\000\000@!\345\026\377\177\000\000\026\001\000\000\000\000\000" [14:45:07.296] __func__ = "exec_simple_query" [14:45:07.296] #19 0x0000564ba6980dbf in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4680 [14:45:07.296] query_string = 0x564ba986e210 "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"... [14:45:07.296] firstchar = [14:45:07.296] input_message = {data = 0x564ba986e210 "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} [14:45:07.296] local_sigjmp_buf = {{__jmpbuf = {94882933170872, -942701302040362900, 4, 140733577503504, 140733577503652, 1, -6808394876806889364, -942703587902488468}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94882966699744, 16384, 8248, 94882920605457, 0, 0, 0, 94882933170880, 94882966699744, 94882933164952, 140733577503504, 140733577503652, 1, 94882920608507, 140733577503280}}}} [14:45:07.296] send_ready_for_query = false [14:45:07.296] idle_in_transaction_timeout_enabled = false [14:45:07.296] idle_session_timeout_enabled = false [14:45:07.296] __func__ = "PostgresMain" [14:45:07.296] #20 0x0000564ba6977561 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:105 [14:45:07.296] bsdata = [14:45:07.296] #21 0x0000564ba681b875 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7fff16e522bc "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7fff16e52310) at ../src/backend/postmaster/launch_backend.c:265 [14:45:07.296] pid = [14:45:07.296] #22 0x0000564ba6821ba3 in BackendStartup (client_sock=client_sock@entry=0x7fff16e52310) at ../src/backend/postmaster/postmaster.c:3593 [14:45:07.296] bn = 0x564ba989ac48 [14:45:07.296] pid = [14:45:07.296] startup_data = {canAcceptConnections = CAC_OK} [14:45:07.296] __func__ = "BackendStartup" [14:45:07.296] #23 0x0000564ba6822151 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1674 [14:45:07.296] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\210\272\066\177\000\000-\000\000\000\000\000\000\000\020\276\361\270\066\177\000\000 \211\301\271\066\177\000\000\310#\345\026\377\177\000\000\304#\345\026\377\177\000\000\204#\345\026\377\177\000\000`\204\211\251KV\000\000\000\000\000\000\377\177\000\000\020\276\361\270\066\177\000\000\340\337\360\270\066\177\000\000\352\037\016\271\066\177\000\000\356\310\347Y\000\000\000\000#\237g\001\000\000\000\000\304#\345\026\377\177\000", __ss_align = 94882966897760}, salen = 2}} [14:45:07.296] i = 0 [14:45:07.296] now = [14:45:07.296] last_lockfile_recheck_time = 1713278505 [14:45:07.296] last_touch_time = 1713278505 [14:45:07.296] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 384115776, events = 32767, fd = 384115792, user_data = 0x0}, {pos = 18, events = 0, fd = 1508362478, user_data = 0x7f36b9c18788}, {pos = -1190256662, events = 32566, fd = 384116008, user_data = 0x7fff16e52480}, {pos = 384115856, events = 32767, fd = -1165452063, user_data = 0x12}, {pos = -1232210408, events = 32566, fd = 1, user_data = 0x0}, {pos = 1, events = 0, fd = -1178500064, user_data = 0xffffffff}, {pos = -1232210408, events = 32566, fd = -1178500064, user_data = 0x1b9c18920}, {pos = -1178499192, events = 32566, fd = 0, user_data = 0x7fff16e5259e}, {pos = 384116112, events = 32767, fd = -1, user_data = 0x7fff16e524a0}, {pos = -1192172520, events = 32566, fd = -1178498784, user_data = 0x564ba989e4c8}, {pos = -1450581160, events = 22091, fd = -1450599712, user_data = 0x564ba989e4e8}, {pos = -1450581999, events = 22091, fd = -1165433309, user_data = 0x1}, {pos = -1190153992, events = 32566, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1, user_data = 0x564ba9870070}, {pos = -1165433309, events = 32566, fd = 1, user_data = 0x0}, {pos = -1450599712, events = 22091, fd = -1192172520, user_data = 0x7fff16e528e0}, {pos = -1165404534, events = 32566, fd = 0, user_data = 0x0}, {pos = 384116992, events = 32767, fd = -1484390304, user_data = 0x2}, {pos = -1484390304, events = 22091, fd = 0, user_data = 0x7f36b90d8be0}, {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 = -1450559288, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -1, events = 4294967295, fd = -1, user_data = 0x735f3732305f742f}, {pos = 1634038388, events = 1701994349, fd = 1868785010, user_data = 0x7274735f3732302f}, {pos = 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 = -1190311808, user_data = 0x7f36b8f8751a <_IO_file_underflow+378>}, {pos = 7, events = 0, fd = -1191654405, user_data = 0x400}, {pos = -1450786944, events = 22091, fd = -1190308736, user_data = 0x1a986bf80}, {pos = 784, events = 0, fd = -1494543700, user_data = 0x564ba989e030}, {pos = -133734912, events = 592999641, fd = 2, user_data = 0x8000000000000006}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -1450581968, events = 22091, fd = -1450581968, user_data = 0x564ba989e030}, {pos = 1, events = 0, fd = -1450581768, user_data = 0x400}, {pos = 0, events = 0, fd = -1496811371, user_data = 0x564ba786e270 }, {pos = -1496885489, events = 22091, fd = -1450581968, user_data = 0x564ba986e110}, {pos = -1450581968, events = 22091, fd = 15, user_data = 0x4a}, {pos = -1496809561, events = 22091, fd = -1450581968, user_data = 0x564ba6c880f0 }, {pos = -1450786944, events = 22091, fd = -1191654098, user_data = 0x0}, {pos = -1503448159, events = 22091, fd = -1450607808, user_data = 0x7f36b8f891aa}, {pos = 384117144, events = 1, fd = 0, user_data = 0x7f36b8f878f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 11, user_data = 0x0}, {pos = 0, events = 0, fd = 24995, user_data = 0x7f36b8fd1b05 }, {pos = 0, events = 0, fd = -133734912, user_data = 0x0}, {pos = -1501448805, events = 22091, fd = 4194304, user_data = 0x564ba6c755a3 }, {pos = -1450607808, events = 22091, fd = -1450778352, user_data = 0x564ba9897b40}, {pos = 1, events = 0, fd = 0, user_data = 0x564ba6c87fa7 }, {pos = -1450607808, events = 22091, fd = -1496809232, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x564ba6632f74 }, {pos = 0, events = 0, fd = -1503425206, user_data = 0xb}, {pos = -1501426955, events = 22091, fd = 0, user_data = 0x0}} [14:45:07.298] nevents = 1 [14:45:07.298] __func__ = "ServerLoop" [14:45:07.298] #24 0x0000564ba6823b73 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x564ba9867de0) at ../src/backend/postmaster/postmaster.c:1372 [14:45:07.298] opt = [14:45:07.298] status = [14:45:07.298] userDoption = [14:45:07.298] listen_addr_saved = false [14:45:07.298] output_config_variable = [14:45:07.298] __func__ = "PostmasterMain" [14:45:07.298] #25 0x0000564ba66445d7 in main (argc=4, argv=0x564ba9867de0) at ../src/backend/main/main.c:197 [14:45:07.298] do_check_root = [14:45:07.318] -e [14:45:07.318] [14:45:07.318] [14:45:07.859] dumping /tmp/cores/postgres-6-21372.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [14:45:08.183] [New LWP 21372] [14:45:09.355] [Thread debugging using libthread_db enabled] [14:45:09.355] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [14:45:10.796] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [14:45:10.796] Program terminated with signal SIGABRT, Aborted. [14:45:10.796] #0 0x00007eff45797ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [14:45:11.053] [14:45:11.053] Thread 1 (Thread 0x7eff4312ea40 (LWP 21372)): [14:45:11.053] #0 0x00007eff45797ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [14:45:11.053] No symbol table info available. [14:45:11.053] #1 0x00007eff45781537 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [14:45:11.053] No symbol table info available. [14:45:11.053] #2 0x000056205dc0287a in ExceptionalCondition (conditionName=conditionName@entry=0x56205de57538 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x56205de7be38 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [14:45:11.053] No locals. [14:45:11.053] #3 0x000056205d55467a in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffc5a960770, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffc5a96060f) at ../src/backend/executor/execTuples.c:1737 [14:45:11.053] No locals. [14:45:11.053] #4 0x000056205d4d8073 in ExecIRDeleteTriggers (estate=estate@entry=0x56205f74e8a0, relinfo=relinfo@entry=0x56205f74ee50, slot=slot@entry=0x7ffc5a960770) at ../src/backend/commands/trigger.c:2841 [14:45:11.053] trigger = 0x56205f74f0b0 [14:45:11.053] oldtuple = [14:45:11.053] trigdesc = 0x56205f74f060 [14:45:11.053] newtuple = 0x0 [14:45:11.053] should_free = false [14:45:11.053] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7eff3a187a58, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [14:45:11.053] i = 0 [14:45:11.053] #5 0x000056205d5b758e in ExecMergeMatched (context=0x7ffc5a960790, resultRelInfo=resultRelInfo@entry=0x56205f74ee50, tupleid=0x0, oldtuple=0x7ffc5a960770, canSetTag=true, matched=matched@entry=0x7ffc5a96071f) at ../src/backend/executor/nodeModifyTable.c:3027 [14:45:11.053] relaction = 0x56205f795508 [14:45:11.053] commandType = CMD_DELETE [14:45:11.053] result = TM_Ok [14:45:11.053] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [14:45:11.053] l__state = {l = , i = } [14:45:11.053] mtstate = 0x56205f74ec40 [14:45:11.053] mergeActions = 0x56205f74ef60 [14:45:11.053] actionStates = 0x56205f795ac8 [14:45:11.053] newslot = 0x0 [14:45:11.053] rslot = 0x0 [14:45:11.053] estate = 0x56205f74e8a0 [14:45:11.053] econtext = 0x56205f794b18 [14:45:11.053] isNull = false [14:45:11.053] epqstate = 0x56205f74ed28 [14:45:11.053] l = [14:45:11.053] __func__ = "ExecMergeMatched" [14:45:11.053] lmerge_matched = [14:45:11.053] #6 0x000056205d5b8676 in ExecMerge (context=context@entry=0x7ffc5a960790, resultRelInfo=resultRelInfo@entry=0x56205f74ee50, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffc5a960770, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2791 [14:45:11.053] rslot = 0x0 [14:45:11.053] matched = true [14:45:11.053] #7 0x000056205d5ba3cd in ExecModifyTable (pstate=0x56205f74ec40) at ../src/backend/executor/nodeModifyTable.c:4112 [14:45:11.053] node = 0x56205f74ec40 [14:45:11.053] context = {mtstate = 0x56205f74ec40, epqstate = 0x56205f74ed28, estate = 0x56205f74e8a0, planSlot = 0x56205f793528, tmfd = {ctid = {ip_blkid = {bi_hi = 1, bi_lo = 0}, ip_posid = 0}, xmax = 1565725265, cmax = 22048, traversed = 104}, cpUpdateReturningSlot = 0x56205f83a9d0} [14:45:11.053] estate = 0x56205f74e8a0 [14:45:11.053] operation = CMD_MERGE [14:45:11.053] resultRelInfo = 0x56205f74ee50 [14:45:11.053] subplanstate = 0x56205f74f580 [14:45:11.053] slot = [14:45:11.053] oldSlot = [14:45:11.053] tuple_ctid = {ip_blkid = {bi_hi = 24451, bi_lo = 22048}, ip_posid = 0} [14:45:11.053] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x56205f7b09e8} [14:45:11.053] oldtuple = 0x7ffc5a960770 [14:45:11.053] tupleid = 0x0 [14:45:11.053] __func__ = "ExecModifyTable" [14:45:11.053] #8 0x000056205d546845 in ExecProcNodeFirst (node=0x56205f74ec40) at ../src/backend/executor/execProcnode.c:464 [14:45:11.053] No locals. [14:45:11.053] #9 0x000056205d532f40 in ExecProcNode (node=0x56205f74ec40) at ../src/include/executor/executor.h:274 [14:45:11.053] No locals. [14:45:11.053] #10 ExecutePlan (estate=estate@entry=0x56205f74e8a0, planstate=0x56205f74ec40, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x56205f7dded0, execute_once=true) at ../src/backend/executor/execMain.c:1646 [14:45:11.053] slot = [14:45:11.053] current_tuple_count = 0 [14:45:11.053] #11 0x000056205d53328a in standard_ExecutorRun (queryDesc=0x56205f7d44d8, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:363 [14:45:11.053] estate = 0x56205f74e8a0 [14:45:11.053] operation = CMD_MERGE [14:45:11.053] dest = 0x56205f7dded0 [14:45:11.053] sendTuples = true [14:45:11.053] oldcontext = 0x56205f7ddbc0 [14:45:11.053] __func__ = "standard_ExecutorRun" [14:45:11.053] #12 0x000056205d5333f5 in ExecutorRun (queryDesc=queryDesc@entry=0x56205f7d44d8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:304 [14:45:11.053] No locals. [14:45:11.053] #13 0x000056205d958624 in ProcessQuery (plan=plan@entry=0x56205f83d8d8, sourceText=0x56205f64b1d0 "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=0x56205f7dded0, qc=qc@entry=0x7ffc5a9609b0) at ../src/backend/tcop/pquery.c:160 [14:45:11.053] queryDesc = 0x56205f7d44d8 [14:45:11.053] #14 0x000056205d95a373 in PortalRunMulti (portal=portal@entry=0x56205f6ceed0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x56205f7dded0, altdest=0x56205e140380 , qc=qc@entry=0x7ffc5a9609b0) at ../src/backend/tcop/pquery.c:1277 [14:45:11.053] pstmt = 0x56205f83d8d8 [14:45:11.053] stmtlist_item__state = {l = , i = } [14:45:11.053] active_snapshot_set = true [14:45:11.053] stmtlist_item = 0x56205f83da00 [14:45:11.053] #15 0x000056205d95aa19 in FillPortalStore (portal=portal@entry=0x56205f6ceed0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [14:45:11.053] treceiver = 0x56205f7dded0 [14:45:11.053] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [14:45:11.053] __func__ = "FillPortalStore" [14:45:11.053] #16 0x000056205d95b078 in PortalRun (portal=portal@entry=0x56205f6ceed0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x56205f83da38, altdest=altdest@entry=0x56205f83da38, qc=0x7ffc5a960b90) at ../src/backend/tcop/pquery.c:763 [14:45:11.053] _save_exception_stack = 0x7ffc5a960c40 [14:45:11.053] _save_context_stack = 0x0 [14:45:11.053] _local_sigjmp_buf = {{__jmpbuf = {1, -7413194368354435393, 94697041418808, 94697041740368, 94697039916752, 94697041740296, 7415106227611287231, 3845988135019527871}, __mask_was_saved = 0, __saved_mask = {__val = {94697039928312, 94697014996734, 94697039924960, 94697014996734, 1, 140721828268831, 94697041740344, 94697041740296, 94697011929025, 94697014582313, 94697039916752, 94697014996734, 1, 1, 94697012197826, 163}}}} [14:45:11.053] _do_rethrow = [14:45:11.053] result = [14:45:11.053] nprocessed = [14:45:11.053] saveTopTransactionResourceOwner = 0x56205f68c088 [14:45:11.053] saveTopTransactionContext = 0x56205f7252d0 [14:45:11.053] saveActivePortal = 0x0 [14:45:11.053] saveResourceOwner = 0x56205f68c088 [14:45:11.053] savePortalContext = 0x0 [14:45:11.053] saveMemoryContext = 0x56205f7252d0 [14:45:11.053] __func__ = "PortalRun" [14:45:11.053] #17 0x000056205d954001 in exec_simple_query (query_string=query_string@entry=0x56205f64b1d0 "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 [14:45:11.053] cmdtaglen = 5 [14:45:11.053] snapshot_set = [14:45:11.053] per_parsetree_context = 0x0 [14:45:11.053] plantree_list = 0x56205f83d9e8 [14:45:11.053] parsetree = 0x56205f88c208 [14:45:11.053] commandTag = [14:45:11.053] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [14:45:11.053] querytree_list = [14:45:11.053] portal = 0x56205f6ceed0 [14:45:11.053] receiver = 0x56205f83da38 [14:45:11.053] format = 0 [14:45:11.053] cmdtagname = [14:45:11.053] parsetree_item__state = {l = , i = } [14:45:11.053] dest = DestRemote [14:45:11.053] oldcontext = 0x56205f7252d0 [14:45:11.053] parsetree_list = 0x56205f88c238 [14:45:11.053] parsetree_item = 0x56205f88c250 [14:45:11.053] save_log_statement_stats = false [14:45:11.053] was_logged = true [14:45:11.053] use_implicit_block = false [14:45:11.053] msec_str = "\360\r\226Z\374\177\000\000Z\274\302] V\000\000 \f\226Z\374\177\000\000\026\001\000\000\000\000\000" [14:45:11.053] __func__ = "exec_simple_query" [14:45:11.053] #18 0x000056205d956dbf in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4680 [14:45:11.053] query_string = 0x56205f64b1d0 "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"... [14:45:11.053] firstchar = [14:45:11.053] input_message = {data = 0x56205f64b1d0 "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} [14:45:11.053] local_sigjmp_buf = {{__jmpbuf = {94697024668344, 3845994879000690367, 4, 140721828269552, 140721828269700, 1, 7415106227523206847, 3845988136841559743}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 14344, 0, 1, 139634847665636, 94697039351456, 14336, 14400, 94697012101222, 94697024668352, 94697039351456, 94697024662424, 140721828269552, 140721828269700, 94697012105290, 140721828269328}}}} [14:45:11.053] send_ready_for_query = false [14:45:11.053] idle_in_transaction_timeout_enabled = false [14:45:11.053] idle_session_timeout_enabled = false [14:45:11.053] __func__ = "PostgresMain" [14:45:11.053] #19 0x000056205d94d561 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:105 [14:45:11.053] bsdata = [14:45:11.053] #20 0x000056205d7f1875 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffc5a960d9c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffc5a960df0) at ../src/backend/postmaster/launch_backend.c:265 [14:45:11.053] pid = [14:45:11.053] #21 0x000056205d7f7ba3 in BackendStartup (client_sock=client_sock@entry=0x7ffc5a960df0) at ../src/backend/postmaster/postmaster.c:3593 [14:45:11.053] bn = 0x56205f6815e8 [14:45:11.053] pid = [14:45:11.053] startup_data = {canAcceptConnections = CAC_OK} [14:45:11.053] __func__ = "BackendStartup" [14:45:11.053] #22 0x000056205d7f8151 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1674 [14:45:11.053] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\000\000\000\000\000\000\210\vvE\377~\000\000 C\223E\377~\000\000\001\000\000\000\000\000\000\000\244\343\rG\377~\000\000-\000\000\000\000\000\000\000\020\016wE\377~\000\000 \331FF\377~\000\000\310\016\226Z\374\177\000\000\304\016\226Z\374\177\000\000\300ag_ V", '\000' , "\020\016wE\377~\000\000\340/vE\377~\000", __ss_align = 139634849050602}, salen = 2}} [14:45:11.053] i = 0 [14:45:11.053] now = [14:45:11.053] last_lockfile_recheck_time = 1713278483 [14:45:11.053] last_touch_time = 1713278483 [14:45:11.053] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 1519783824, events = 32764, fd = 1167278880, user_data = 0x7ffc5a960f80}, {pos = 45, events = 0, fd = 1192231296, user_data = 0x5a960f50}, {pos = 0, events = 0, fd = 1192231296, user_data = 0x59e7c8ee}, {pos = 1179047816, events = 32511, fd = 1167290346, user_data = 0x7ffc5a961028}, {pos = 1519783808, events = 32764, fd = 1519783824, user_data = 0x7eff470dece1 <_dl_lookup_symbol_x+289>}, {pos = 18, events = 0, fd = 1125336600, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7eff4646d420}, {pos = 1519783760, events = 32764, fd = 1125336600, user_data = 0x7eff4646d420}, {pos = 1578498216, events = 1, fd = 1179047816, user_data = 0x0}, {pos = 1600610320, events = 22048, fd = 1600603032, user_data = 0xffffffff}, {pos = 1192113699, events = 32511, fd = 1165374488, user_data = 0x7eff4646d920}, {pos = 1600603000, events = 22048, fd = 1165421048, user_data = 0x7ffc5a961370}, {pos = 1192142474, events = 32511, fd = 16, user_data = 0x100007f}, {pos = 16, events = 0, fd = 1167393016, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x1}, {pos = 1600442224, events = 22048, fd = 1192113699, user_data = 0x1}, {pos = 0, events = 0, fd = 1600606952, user_data = 0x7eff45763418}, {pos = 1519784896, events = 32764, fd = 1192142474, user_data = 0x0}, {pos = 0, events = 0, fd = 1519784928, user_data = 0x56205e836060 }, {pos = 2, events = 0, fd = 1585668192, 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 = 1600602920, user_data = 0x3ff}, {pos = 4096, events = 0, fd = 1600425792, user_data = 0x56205f648f40}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xffffff0000000000}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1, user_data = 0xffffffffffffffff}, {pos = 794915937, events = 808476532, fd = 1735417650, user_data = 0x5f67702f6e757274}, {pos = 1919381621, events = 795173985, fd = 171061792, 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 = 1600425792, events = 22048, fd = 1167238272, user_data = 0x15f648f40}, {pos = 784, events = 0, fd = 1575514796, user_data = 0x56205f673ee0}, {pos = -536389888, events = 3892090164, fd = 4, user_data = 0x56205f6742f0}, {pos = 1600601824, events = 22048, fd = 1600602024, 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 = 1600602024, user_data = 0x400}, {pos = 0, events = 0, fd = 1573247125, user_data = 0x56205e844270 }, {pos = 1573173007, events = 22048, fd = 1600601824, user_data = 0x56205f64b0d0}, {pos = 1600601824, events = 22048, fd = 15, user_data = 0x4a}, {pos = 1573248935, events = 22048, fd = 1600601824, user_data = 0x56205dc5e0f0 }, {pos = 1600425792, events = 22048, fd = 1165892910, user_data = 0x0}, {pos = 1566610337, events = 22048, fd = 1600596672, user_data = 0x7eff457de1aa}, {pos = 1519785080, events = 1, fd = 0, user_data = 0x7eff457dc8f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 11, user_data = 0x0}, {pos = 0, events = 0, fd = 18507, user_data = 0x7eff45826b05 }, {pos = 0, events = 0, fd = -536389888, user_data = 0x0}, {pos = 1568609691, events = 22048, fd = 4194304, user_data = 0x56205dc4b5a3 }, {pos = 1600596672, events = 22048, fd = 1600434384, user_data = 0x56205f672ac0}, {pos = 1, events = 0, fd = 0, user_data = 0x56205dc5dfa7 }, {pos = 1600596672, events = 22048, fd = 1573249264, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x56205d608f74 }, {pos = 0, events = 0, fd = 1566633290, user_data = 0xb}, {pos = 1568631541, events = 22048, fd = 0, user_data = 0x0}} [14:45:11.054] nevents = 1 [14:45:11.054] __func__ = "ServerLoop" [14:45:11.054] #23 0x000056205d7f9b73 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x56205f644db0) at ../src/backend/postmaster/postmaster.c:1372 [14:45:11.054] opt = [14:45:11.054] status = [14:45:11.054] userDoption = [14:45:11.054] listen_addr_saved = false [14:45:11.054] output_config_variable = [14:45:11.054] __func__ = "PostmasterMain" [14:45:11.054] #24 0x000056205d61a5d7 in main (argc=4, argv=0x56205f644db0) at ../src/backend/main/main.c:197 [14:45:11.054] do_check_root = [14:45:11.075] -e [14:45:11.075] [14:45:11.075] [14:45:11.608] dumping /tmp/cores/postgres-6-20266.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [14:45:11.934] [New LWP 20266] [14:45:13.097] [Thread debugging using libthread_db enabled] [14:45:13.097] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [14:45:14.531] Core was generated by `postgres: postgres regression [local] MERGE '. [14:45:14.531] Program terminated with signal SIGABRT, Aborted. [14:45:14.531] #0 0x00007f8a0978bce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [14:45:14.804] [14:45:14.804] Thread 1 (Thread 0x7f8a07122a40 (LWP 20266)): [14:45:14.804] #0 0x00007f8a0978bce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [14:45:14.804] No symbol table info available. [14:45:14.804] #1 0x00007f8a09775537 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [14:45:14.804] No symbol table info available. [14:45:14.804] #2 0x000056303424987a in ExceptionalCondition (conditionName=conditionName@entry=0x56303449e538 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x5630344c2e38 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [14:45:14.804] No locals. [14:45:14.804] #3 0x0000563033b9b67a in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffffd5c1270, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffffd5c110f) at ../src/backend/executor/execTuples.c:1737 [14:45:14.804] No locals. [14:45:14.804] #4 0x0000563033b1f073 in ExecIRDeleteTriggers (estate=estate@entry=0x563035ef0180, relinfo=relinfo@entry=0x563035ef0730, slot=slot@entry=0x7ffffd5c1270) at ../src/backend/commands/trigger.c:2841 [14:45:14.804] trigger = 0x563035ef0990 [14:45:14.804] oldtuple = [14:45:14.804] trigdesc = 0x563035ef0940 [14:45:14.804] newtuple = 0x0 [14:45:14.804] should_free = false [14:45:14.804] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f89fde3f120, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [14:45:14.804] i = 0 [14:45:14.804] #5 0x0000563033bfe58e in ExecMergeMatched (context=0x7ffffd5c1290, resultRelInfo=resultRelInfo@entry=0x563035ef0730, tupleid=0x0, oldtuple=0x7ffffd5c1270, canSetTag=true, matched=matched@entry=0x7ffffd5c121f) at ../src/backend/executor/nodeModifyTable.c:3027 [14:45:14.804] relaction = 0x563035f26d78 [14:45:14.804] commandType = CMD_DELETE [14:45:14.804] result = TM_Ok [14:45:14.804] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [14:45:14.804] l__state = {l = , i = } [14:45:14.804] mtstate = 0x563035ef0520 [14:45:14.804] mergeActions = 0x563035ef0840 [14:45:14.804] actionStates = 0x563035f27338 [14:45:14.804] newslot = 0x0 [14:45:14.804] rslot = 0x0 [14:45:14.804] estate = 0x563035ef0180 [14:45:14.804] econtext = 0x563035f26388 [14:45:14.804] isNull = false [14:45:14.804] epqstate = 0x563035ef0608 [14:45:14.804] l = [14:45:14.804] __func__ = "ExecMergeMatched" [14:45:14.804] lmerge_matched = [14:45:14.804] #6 0x0000563033bff676 in ExecMerge (context=context@entry=0x7ffffd5c1290, resultRelInfo=resultRelInfo@entry=0x563035ef0730, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffffd5c1270, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2791 [14:45:14.804] rslot = 0x0 [14:45:14.804] matched = true [14:45:14.804] #7 0x0000563033c013cd in ExecModifyTable (pstate=0x563035ef0520) at ../src/backend/executor/nodeModifyTable.c:4112 [14:45:14.804] node = 0x563035ef0520 [14:45:14.804] context = {mtstate = 0x563035ef0520, epqstate = 0x563035ef0608, estate = 0x563035ef0180, planSlot = 0x563035f24d98, tmfd = {ctid = {ip_blkid = {bi_hi = 1, bi_lo = 0}, ip_posid = 0}, xmax = 867664465, cmax = 22064, traversed = 120}, cpUpdateReturningSlot = 0x563035f8e5e0} [14:45:14.804] estate = 0x563035ef0180 [14:45:14.804] operation = CMD_MERGE [14:45:14.804] resultRelInfo = 0x563035ef0730 [14:45:14.804] subplanstate = 0x563035ef0e60 [14:45:14.804] slot = [14:45:14.804] oldSlot = [14:45:14.804] tuple_ctid = {ip_blkid = {bi_hi = 13816, bi_lo = 22064}, ip_posid = 0} [14:45:14.804] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x563035f522c8} [14:45:14.804] oldtuple = 0x7ffffd5c1270 [14:45:14.804] tupleid = 0x0 [14:45:14.804] __func__ = "ExecModifyTable" [14:45:14.804] #8 0x0000563033b8d845 in ExecProcNodeFirst (node=0x563035ef0520) at ../src/backend/executor/execProcnode.c:464 [14:45:14.804] No locals. [14:45:14.804] #9 0x0000563033b79f40 in ExecProcNode (node=0x563035ef0520) at ../src/include/executor/executor.h:274 [14:45:14.804] No locals. [14:45:14.804] #10 ExecutePlan (estate=estate@entry=0x563035ef0180, planstate=0x563035ef0520, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x563035f76080, execute_once=true) at ../src/backend/executor/execMain.c:1646 [14:45:14.804] slot = [14:45:14.804] current_tuple_count = 0 [14:45:14.804] #11 0x0000563033b7a28a in standard_ExecutorRun (queryDesc=0x563035f79ca8, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:363 [14:45:14.804] estate = 0x563035ef0180 [14:45:14.804] operation = CMD_MERGE [14:45:14.804] dest = 0x563035f76080 [14:45:14.804] sendTuples = true [14:45:14.804] oldcontext = 0x563035f75d70 [14:45:14.804] __func__ = "standard_ExecutorRun" [14:45:14.804] #12 0x0000563033b7a3f5 in ExecutorRun (queryDesc=queryDesc@entry=0x563035f79ca8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:304 [14:45:14.804] No locals. [14:45:14.804] #13 0x0000563033f9f624 in ProcessQuery (plan=plan@entry=0x563035f914e8, sourceText=0x563035ded1e0 "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=0x563035f76080, qc=qc@entry=0x7ffffd5c14b0) at ../src/backend/tcop/pquery.c:160 [14:45:14.804] queryDesc = 0x563035f79ca8 [14:45:14.804] #14 0x0000563033fa1373 in PortalRunMulti (portal=portal@entry=0x563035e6df10, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x563035f76080, altdest=0x563034787380 , qc=qc@entry=0x7ffffd5c14b0) at ../src/backend/tcop/pquery.c:1277 [14:45:14.804] pstmt = 0x563035f914e8 [14:45:14.804] stmtlist_item__state = {l = , i = } [14:45:14.804] active_snapshot_set = true [14:45:14.804] stmtlist_item = 0x563035f91610 [14:45:14.804] #15 0x0000563033fa1a19 in FillPortalStore (portal=portal@entry=0x563035e6df10, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [14:45:14.804] treceiver = 0x563035f76080 [14:45:14.804] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [14:45:14.804] __func__ = "FillPortalStore" [14:45:14.804] #16 0x0000563033fa2078 in PortalRun (portal=portal@entry=0x563035e6df10, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x563035f91648, altdest=altdest@entry=0x563035f91648, qc=0x7ffffd5c1690) at ../src/backend/tcop/pquery.c:763 [14:45:14.804] _save_exception_stack = 0x7ffffd5c1740 [14:45:14.804] _save_context_stack = 0x0 [14:45:14.804] _local_sigjmp_buf = {{__jmpbuf = {1, -7728664381092752607, 94765063935560, 94765063444512, 94765062741776, 94765063444440, 7728667384512287521, 4097751493061022497}, __mask_was_saved = 0, __saved_mask = {__val = {94765062753336, 94765036412670, 94765062749984, 94765036412670, 1, 140737444058655, 94765063444488, 94765063444440, 94765033344961, 94765035998249, 94765062741776, 94765036412670, 1, 1, 94765033613762, 163}}}} [14:45:14.804] _do_rethrow = [14:45:14.804] result = [14:45:14.804] nprocessed = [14:45:14.804] saveTopTransactionResourceOwner = 0x563035e2cbd8 [14:45:14.804] saveTopTransactionContext = 0x563035e15af0 [14:45:14.804] saveActivePortal = 0x0 [14:45:14.804] saveResourceOwner = 0x563035e2cbd8 [14:45:14.804] savePortalContext = 0x0 [14:45:14.804] saveMemoryContext = 0x563035e15af0 [14:45:14.804] __func__ = "PortalRun" [14:45:14.804] #17 0x0000563033f9b001 in exec_simple_query (query_string=query_string@entry=0x563035ded1e0 "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 [14:45:14.804] cmdtaglen = 5 [14:45:14.804] snapshot_set = [14:45:14.804] per_parsetree_context = 0x0 [14:45:14.804] plantree_list = 0x563035f915f8 [14:45:14.804] parsetree = 0x563035f197d8 [14:45:14.804] commandTag = [14:45:14.804] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [14:45:14.804] querytree_list = [14:45:14.804] portal = 0x563035e6df10 [14:45:14.804] receiver = 0x563035f91648 [14:45:14.804] format = 0 [14:45:14.804] cmdtagname = [14:45:14.804] parsetree_item__state = {l = , i = } [14:45:14.804] dest = DestRemote [14:45:14.804] oldcontext = 0x563035e15af0 [14:45:14.804] parsetree_list = 0x563035f19808 [14:45:14.804] parsetree_item = 0x563035f19820 [14:45:14.804] save_log_statement_stats = false [14:45:14.804] was_logged = false [14:45:14.804] use_implicit_block = false [14:45:14.804] msec_str = "\360\030\\\375\377\177\000\000Z,'40V\000\000 \027\\\375\377\177\000\000\026\001\000\000\000\000\000" [14:45:14.804] __func__ = "exec_simple_query" [14:45:14.804] #18 0x0000563033f9ddbf in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4680 [14:45:14.804] query_string = 0x563035ded1e0 "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"... [14:45:14.804] firstchar = [14:45:14.804] input_message = {data = 0x563035ded1e0 "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} [14:45:14.804] local_sigjmp_buf = {{__jmpbuf = {94765046084280, 4097762605408490273, 4, 140737444059376, 140737444059524, 1, 7728667384608756513, 4097751478356185889}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 15624, 0, 1, 140230841437668, 94765062188688, 15616, 15680, 94765033517158, 94765046084288, 94765062188688, 94765046078360, 140737444059376, 140737444059524, 94765033521226, 140737444059152}}}} [14:45:14.804] send_ready_for_query = false [14:45:14.804] idle_in_transaction_timeout_enabled = false [14:45:14.804] idle_session_timeout_enabled = false [14:45:14.804] __func__ = "PostgresMain" [14:45:14.804] #19 0x0000563033f94561 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:105 [14:45:14.804] bsdata = [14:45:14.804] #20 0x0000563033e38875 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffffd5c189c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffffd5c18f0) at ../src/backend/postmaster/launch_backend.c:265 [14:45:14.804] pid = [14:45:14.804] #21 0x0000563033e3eba3 in BackendStartup (client_sock=client_sock@entry=0x7ffffd5c18f0) at ../src/backend/postmaster/postmaster.c:3593 [14:45:14.804] bn = 0x563035e15f38 [14:45:14.804] pid = [14:45:14.804] startup_data = {canAcceptConnections = CAC_OK} [14:45:14.804] __func__ = "BackendStartup" [14:45:14.804] #22 0x0000563033e3f151 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1674 [14:45:14.804] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "\000\000\000\000\000\000\210Ku\t\212\177\000\000 \203\222\t\212\177\000\000\001\000\000\000\000\000\000\000\244#\r\v\212\177\000\000-\000\000\000\000\000\000\000\020Nv\t\212\177\000\000 \031F\n\212\177\000\000\310\031\\\375\377\177\000\000\304\031\\\375\377\177\000\000Ј\341\065\060V", '\000' , "\020Nv\t\212\177\000\000\340ou\t\212\177\000", __ss_align = 140230842822634}, salen = 2}} [14:45:14.804] i = 0 [14:45:14.804] now = [14:45:14.804] last_lockfile_recheck_time = 1713278481 [14:45:14.804] last_touch_time = 1713278481 [14:45:14.804] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = -44295536, events = 32767, fd = 160596768, user_data = 0x7ffffd5c1a80}, {pos = 45, events = 0, fd = 185549184, user_data = 0xfd5c1a50}, {pos = 0, events = 0, fd = 185549184, user_data = 0x59e7c8ee}, {pos = 172365704, events = 32650, fd = 160608234, user_data = 0x7ffffd5c1b28}, {pos = -44295552, events = 32767, fd = -44295536, user_data = 0x7f8a0b0d2ce1 <_dl_lookup_symbol_x+289>}, {pos = 18, events = 0, fd = 118654488, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7f8a0a461420}, {pos = -44295600, events = 32767, fd = 118654488, user_data = 0x7f8a0a461420}, {pos = 880437416, events = 1, fd = 172365704, user_data = 0x0}, {pos = 903948656, events = 22064, fd = 903981992, user_data = 0xffffffff}, {pos = 185431587, events = 32650, fd = 158692376, user_data = 0x7f8a0a461920}, {pos = 903981960, events = 22064, fd = 158738936, user_data = 0x7ffffd5c1e70}, {pos = 185460362, events = 32650, fd = 16, user_data = 0x100007f}, {pos = 16, events = 0, fd = 160710904, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x1}, {pos = 903802800, events = 22064, fd = 185431587, user_data = 0x1}, {pos = 0, events = 0, fd = 903981784, user_data = 0x7f8a09757418}, {pos = -44294464, events = 32767, fd = 185460362, user_data = 0x0}, {pos = 0, events = 0, fd = -44294432, user_data = 0x563034e7d060 }, {pos = 2, events = 0, fd = 887607392, 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 = 903975704, user_data = 0x3ff}, {pos = 4096, events = 0, fd = 903786288, user_data = 0x563035deaf30}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 4294901760, fd = -1, user_data = 0xffffffffffffffff}, {pos = 1734701663, events = 1936942450, fd = 1264145453, user_data = 0x4d4b59542d737365}, {pos = 168455801, events = 908075040, fd = 822763892, user_data = 0x30340a3138343837}, {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 = 903786288, events = 22064, fd = 160556160, user_data = 0x135deaf30}, {pos = 784, events = 0, fd = 877453996, user_data = 0x563035e18360}, {pos = 320526592, events = 2530293784, fd = 4, user_data = 0x563035e192e0}, {pos = 903971680, events = 22064, fd = 903971880, 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 = 903971880, user_data = 0x400}, {pos = 0, events = 0, fd = 875186325, user_data = 0x563034e8b270 }, {pos = 875112207, events = 22064, fd = 903971680, user_data = 0x563035ded0e0}, {pos = 903971680, events = 22064, fd = 15, user_data = 0x4a}, {pos = 875188135, events = 22064, fd = 903971680, user_data = 0x5630342a50f0 }, {pos = 903786288, events = 22064, fd = 159210491, user_data = 0x0}, {pos = 868549537, events = 22064, fd = 903960288, user_data = 0x7f8a097d21aa}, {pos = -44294280, events = 1, fd = 0, user_data = 0x7f8a097d08f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 11, user_data = 0x0}, {pos = 0, events = 0, fd = 17873, user_data = 0x7f8a0981ab05 }, {pos = 0, events = 0, fd = 320526592, user_data = 0x0}, {pos = 870548891, events = 22064, fd = 4194304, user_data = 0x5630342925a3 }, {pos = 903960288, events = 22064, fd = 903794912, user_data = 0x563035e156e0}, {pos = 1, events = 0, fd = 0, user_data = 0x5630342a4fa7 }, {pos = 903960288, events = 22064, fd = 875188464, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x563033c4ff74 }, {pos = 0, events = 0, fd = 868572490, user_data = 0xb}, {pos = 870570741, events = 22064, fd = 0, user_data = 0x0}} [14:45:14.805] nevents = 1 [14:45:14.805] __func__ = "ServerLoop" [14:45:14.805] #23 0x0000563033e40b73 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x563035de6df0) at ../src/backend/postmaster/postmaster.c:1372 [14:45:14.805] opt = [14:45:14.805] status = [14:45:14.805] userDoption = [14:45:14.805] listen_addr_saved = false [14:45:14.805] output_config_variable = [14:45:14.805] __func__ = "PostmasterMain" [14:45:14.805] #24 0x0000563033c615d7 in main (argc=8, argv=0x563035de6df0) at ../src/backend/main/main.c:197 [14:45:14.805] do_check_root =