[08:39:18.473] src/tools/ci/cores_backtrace.sh linux /tmp/cores [08:39:19.184] dumping /tmp/cores/postgres-6-19473.core for /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/postgres [08:39:19.520] [New LWP 19473] [08:39:21.309] Downloading separate debug info for /lib/x86_64-linux-gnu/libzstd.so.1... [08:39:22.424] Downloading separate debug info for /lib/x86_64-linux-gnu/liblz4.so.1... [08:39:24.967] Downloading separate debug info for /lib/x86_64-linux-gnu/libxml2.so.2... [08:39:26.485] Downloading separate debug info for /lib/x86_64-linux-gnu/libpam.so.0... [08:39:30.033] Downloading separate debug info for /lib/x86_64-linux-gnu/libssl.so.1.1... [08:39:31.714] Downloading separate debug info for /lib/x86_64-linux-gnu/libcrypto.so.1.1... [08:39:34.549] Downloading separate debug info for /lib/x86_64-linux-gnu/libgssapi_krb5.so.2... [08:39:35.609] Downloading separate debug info for /lib/x86_64-linux-gnu/libz.so.1... [08:39:38.702] Downloading separate debug info for /lib/x86_64-linux-gnu/libpthread.so.0... [08:39:39.603] [Thread debugging using libthread_db enabled] [08:39:39.603] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [08:39:39.603] Downloading separate debug info for /lib/x86_64-linux-gnu/librt.so.1... [08:39:40.542] Downloading separate debug info for /lib/x86_64-linux-gnu/libdl.so.2... [08:39:42.058] Downloading separate debug info for /lib/x86_64-linux-gnu/libm.so.6... [08:39:44.437] Downloading separate debug info for /lib/x86_64-linux-gnu/libldap_r-2.4.so.2... [08:39:48.152] Downloading separate debug info for /lib/x86_64-linux-gnu/libicui18n.so.67... [08:39:48.152] Downloading separate debug info for /.cache/debuginfod_client/6bc1c815422672b74fde1b1c0803e4c9effae2a7/debuginfo... [08:39:49.970] Downloading separate debug info for /lib/x86_64-linux-gnu/libicuuc.so.67... [08:39:53.789] Downloading separate debug info for /lib/x86_64-linux-gnu/libsystemd.so.0... [08:39:55.211] Downloading separate debug info for /lib/x86_64-linux-gnu/libgcc_s.so.1... [08:39:56.321] Downloading separate debug info for /lib/x86_64-linux-gnu/liblzma.so.5... [08:39:57.213] Downloading separate debug info for /lib/x86_64-linux-gnu/libaudit.so.1... [08:39:58.666] Downloading separate debug info for /lib/x86_64-linux-gnu/libkrb5.so.3... [08:39:59.725] Downloading separate debug info for /lib/x86_64-linux-gnu/libk5crypto.so.3... [08:40:01.200] Downloading separate debug info for /lib/x86_64-linux-gnu/libcom_err.so.2... [08:40:02.042] Downloading separate debug info for /lib/x86_64-linux-gnu/libkrb5support.so.0... [08:40:03.241] Downloading separate debug info for /lib64/ld-linux-x86-64.so.2... [08:40:04.035] Downloading separate debug info for /lib/x86_64-linux-gnu/liblber-2.4.so.2... [08:40:06.656] Downloading separate debug info for /lib/x86_64-linux-gnu/libresolv.so.2... [08:40:07.591] Downloading separate debug info for /lib/x86_64-linux-gnu/libsasl2.so.2... [08:40:10.060] Downloading separate debug info for /lib/x86_64-linux-gnu/libgnutls.so.30... [08:40:14.231] Downloading separate debug info for /lib/x86_64-linux-gnu/libstdc++.so.6... [08:40:17.251] Downloading separate debug info for /lib/x86_64-linux-gnu/libgcrypt.so.20... [08:40:17.894] Downloading separate debug info for /lib/x86_64-linux-gnu/libcap-ng.so.0... [08:40:18.635] Downloading separate debug info for /lib/x86_64-linux-gnu/libkeyutils.so.1... [08:40:22.346] Downloading separate debug info for /lib/x86_64-linux-gnu/libp11-kit.so.0... [08:40:23.110] Downloading separate debug info for /lib/x86_64-linux-gnu/libidn2.so.0... [08:40:24.492] Downloading separate debug info for /lib/x86_64-linux-gnu/libunistring.so.2... [08:40:25.291] Downloading separate debug info for /lib/x86_64-linux-gnu/libtasn1.so.6... [08:40:26.683] Downloading separate debug info for /lib/x86_64-linux-gnu/libnettle.so.8... [08:40:27.637] Downloading separate debug info for /lib/x86_64-linux-gnu/libhogweed.so.6... [08:40:28.901] Downloading separate debug info for /lib/x86_64-linux-gnu/libgmp.so.10... [08:40:30.144] Downloading separate debug info for /lib/x86_64-linux-gnu/libgpg-error.so.0... [08:40:30.931] Downloading separate debug info for /lib/x86_64-linux-gnu/libffi.so.7... [08:40:31.438] Core was generated by `postgres: postgres regression [local] MERGE '. [08:40:31.438] Program terminated with signal SIGABRT, Aborted. [08:40:31.438] #0 0x00007f0536346ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [08:40:31.638] [08:40:31.638] Thread 1 (Thread 0x7f0533cdf380 (LWP 19473)): [08:40:31.638] #0 0x00007f0536346ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [08:40:31.638] No symbol table info available. [08:40:31.638] #1 0x00007f0536330537 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [08:40:31.638] No symbol table info available. [08:40:31.638] #2 0x000055f98c916ded in ExceptionalCondition (conditionName=conditionName@entry=0x55f98cbd4160 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55f98cbd4120 "execTuples.c", lineNumber=lineNumber@entry=1737) at assert.c:66 [08:40:31.638] No locals. [08:40:31.638] #3 0x000055f98c0ded86 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7fffd37c6730, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7fffd37c6400) at execTuples.c:1737 [08:40:31.638] No locals. [08:40:31.638] #4 0x000055f98c04c3bb in ExecIRDeleteTriggers (estate=estate@entry=0x625000069200, relinfo=relinfo@entry=0x6250000697b0, slot=slot@entry=0x7fffd37c6730) at trigger.c:2841 [08:40:31.638] trigger = 0x625000069a10 [08:40:31.638] oldtuple = [08:40:31.638] trigdesc = 0x6250000699c0 [08:40:31.638] newtuple = 0x0 [08:40:31.638] should_free = [08:40:31.638] LocTriggerData = {type = , tg_event = , tg_relation = , tg_trigtuple = , tg_newtuple = , tg_trigger = , tg_trigslot = , tg_newslot = , tg_oldtable = , tg_newtable = , tg_updatedcols = } [08:40:31.638] i = 0 [08:40:31.638] #5 0x000055f98c152bb9 in ExecMergeMatched (context=context@entry=0x7fffd37c6770, resultRelInfo=resultRelInfo@entry=0x6250000697b0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7fffd37c6730, canSetTag=canSetTag@entry=true, matched=matched@entry=0x7fffd37c6660) at nodeModifyTable.c:3027 [08:40:31.638] relaction = 0x6290009814c8 [08:40:31.638] commandType = CMD_DELETE [08:40:31.638] result = [08:40:31.638] updateCxt = {crossPartUpdate = , updateIndexes = , lockmode = } [08:40:31.638] l__state = {l = , i = } [08:40:31.638] mtstate = 0x6250000695a0 [08:40:31.638] mergeActions = 0x6250000698c0 [08:40:31.638] actionStates = 0x629000981a88 [08:40:31.638] newslot = 0x0 [08:40:31.638] rslot = 0x0 [08:40:31.638] estate = 0x625000069200 [08:40:31.638] econtext = 0x629000980ad8 [08:40:31.638] isNull = [08:40:31.638] epqstate = 0x625000069688 [08:40:31.638] l = [08:40:31.638] __func__ = "ExecMergeMatched" [08:40:31.638] lmerge_matched = [08:40:31.638] #6 0x000055f98c153f5a in ExecMerge (context=context@entry=0x7fffd37c6770, resultRelInfo=resultRelInfo@entry=0x6250000697b0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7fffd37c6730, canSetTag=) at nodeModifyTable.c:2791 [08:40:31.638] rslot = 0x0 [08:40:31.638] matched = [08:40:31.638] #7 0x000055f98c1563eb in ExecModifyTable (pstate=0x6250000695a0) at nodeModifyTable.c:4112 [08:40:31.638] node = 0x6250000695a0 [08:40:31.638] context = {mtstate = , epqstate = , estate = , planSlot = , tmfd = {ctid = {ip_blkid = {bi_hi = , bi_lo = }, ip_posid = }, xmax = , cmax = , traversed = }, cpUpdateReturningSlot = } [08:40:31.638] estate = 0x625000069200 [08:40:31.638] operation = CMD_MERGE [08:40:31.638] resultRelInfo = 0x6250000697b0 [08:40:31.638] subplanstate = 0x625000069ee0 [08:40:31.638] slot = 0x62900097f4e8 [08:40:31.638] oldSlot = [08:40:31.638] tuple_ctid = {ip_blkid = {bi_hi = , bi_lo = }, ip_posid = } [08:40:31.638] oldtupdata = {t_len = , t_self = {ip_blkid = {bi_hi = , bi_lo = }, ip_posid = }, t_tableOid = , t_data = } [08:40:31.638] oldtuple = 0x7fffd37c6730 [08:40:31.638] tupleid = 0x0 [08:40:31.638] __func__ = "ExecModifyTable" [08:40:31.638] #8 0x000055f98c0ce534 in ExecProcNodeFirst (node=0x6250000695a0) at execProcnode.c:464 [08:40:31.638] No locals. [08:40:31.638] #9 0x000055f98c0b8cf7 in ExecProcNode (node=0x6250000695a0) at ../../../src/include/executor/executor.h:274 [08:40:31.638] No locals. [08:40:31.638] #10 ExecutePlan (estate=estate@entry=0x625000069200, planstate=0x6250000695a0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x61900004c790, execute_once=true) at execMain.c:1646 [08:40:31.638] slot = [08:40:31.638] current_tuple_count = 0 [08:40:31.638] #11 0x000055f98c0b91bc in standard_ExecutorRun (queryDesc=0x61d00014e0c8, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at execMain.c:363 [08:40:31.638] estate = 0x625000069200 [08:40:31.638] operation = CMD_MERGE [08:40:31.638] dest = 0x61900004c790 [08:40:31.638] sendTuples = true [08:40:31.638] oldcontext = 0x61900004c480 [08:40:31.638] __func__ = "standard_ExecutorRun" [08:40:31.638] #12 0x000055f98c0b9386 in ExecutorRun (queryDesc=queryDesc@entry=0x61d00014e0c8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at execMain.c:304 [08:40:31.638] No locals. [08:40:31.638] #13 0x000055f98c5e954a in ProcessQuery (plan=plan@entry=0x631000490548, sourceText=0x625000005200 "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=0x61900004c790, qc=qc@entry=0x7fffd37c69e0) at pquery.c:160 [08:40:31.638] queryDesc = 0x61d00014e0c8 [08:40:31.638] #14 0x000055f98c5eb6f2 in PortalRunMulti (portal=portal@entry=0x62500002aa00, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x61900004c790, altdest=0x55f98cf75400 , qc=qc@entry=0x7fffd37c69e0) at pquery.c:1277 [08:40:31.638] pstmt = 0x631000490548 [08:40:31.638] stmtlist_item__state = {l = , i = } [08:40:31.638] active_snapshot_set = true [08:40:31.638] stmtlist_item = 0x631000490670 [08:40:31.638] #15 0x000055f98c5ebf24 in FillPortalStore (portal=portal@entry=0x62500002aa00, isTopLevel=isTopLevel@entry=true) at pquery.c:1026 [08:40:31.638] treceiver = 0x61900004c790 [08:40:31.638] qc = {commandTag = , nprocessed = } [08:40:31.638] __func__ = "FillPortalStore" [08:40:31.638] #16 0x000055f98c5ec953 in PortalRun (portal=portal@entry=0x62500002aa00, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x6310004906a8, altdest=altdest@entry=0x6310004906a8, qc=) at pquery.c:763 [08:40:31.638] _save_exception_stack = 0x7fffd37c6e70 [08:40:31.638] _save_context_stack = 0x0 [08:40:31.638] _local_sigjmp_buf = {{__jmpbuf = {, , , , , , , }, __mask_was_saved = , __saved_mask = {__val = { }}}} [08:40:31.638] _do_rethrow = [08:40:31.638] result = [08:40:31.638] nprocessed = [08:40:31.638] saveTopTransactionResourceOwner = 0x629000024248 [08:40:31.638] saveTopTransactionContext = 0x625000041100 [08:40:31.638] saveActivePortal = 0x0 [08:40:31.638] saveResourceOwner = 0x629000024248 [08:40:31.638] savePortalContext = 0x0 [08:40:31.638] saveMemoryContext = 0x625000041100 [08:40:31.638] __func__ = "PortalRun" [08:40:31.638] #17 0x000055f98c5e3b85 in exec_simple_query (query_string=query_string@entry=0x625000005200 "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 postgres.c:1274 [08:40:31.638] cmdtaglen = [08:40:31.638] snapshot_set = [08:40:31.638] per_parsetree_context = 0x0 [08:40:31.638] plantree_list = 0x631000490658 [08:40:31.638] parsetree = 0x6250004fde88 [08:40:31.638] commandTag = [08:40:31.638] qc = {commandTag = , nprocessed = } [08:40:31.638] querytree_list = [08:40:31.638] portal = 0x62500002aa00 [08:40:31.638] receiver = 0x6310004906a8 [08:40:31.638] format = [08:40:31.638] cmdtagname = [08:40:31.638] parsetree_item__state = {l = , i = } [08:40:31.638] dest = DestRemote [08:40:31.638] oldcontext = 0x625000041100 [08:40:31.638] parsetree_list = 0x6250004fdeb8 [08:40:31.638] parsetree_item = 0x6250004fded0 [08:40:31.638] save_log_statement_stats = false [08:40:31.638] was_logged = false [08:40:31.640] use_implicit_block = false [08:40:31.640] msec_str = { } [08:40:31.640] __func__ = "exec_simple_query" [08:40:31.640] #18 0x000055f98c5e7770 in PostgresMain (dbname=dbname@entry=0x6290000203a8 "regression", username=username@entry=0x629000020388 "postgres") at postgres.c:4680 [08:40:31.640] query_string = 0x625000005200 "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"... [08:40:31.640] firstchar = [08:40:31.640] input_message = {data = , len = , maxlen = , cursor = } [08:40:31.640] local_sigjmp_buf = {{__jmpbuf = {, , , , , , , }, __mask_was_saved = , __saved_mask = {__val = { }}}} [08:40:31.640] send_ready_for_query = [08:40:31.640] idle_in_transaction_timeout_enabled = [08:40:31.640] idle_session_timeout_enabled = [08:40:31.640] __func__ = "PostgresMain" [08:40:31.640] #19 0x000055f98c5da115 in BackendMain (startup_data=startup_data@entry=0x7fffd37c7040 "", startup_data_len=startup_data_len@entry=4) at backend_startup.c:105 [08:40:31.640] bsdata = 0x7fffd37c7040 [08:40:31.640] #20 0x000055f98c4269ae in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7fffd37c7040 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7fffd37c70d0) at launch_backend.c:265 [08:40:31.640] pid = [08:40:31.640] #21 0x000055f98c42e8bb in BackendStartup (client_sock=client_sock@entry=0x7fffd37c70d0) at postmaster.c:3593 [08:40:31.640] bn = 0x625000016b18 [08:40:31.640] pid = [08:40:31.640] startup_data = {canAcceptConnections = } [08:40:31.640] __func__ = "BackendStartup" [08:40:31.640] #22 0x000055f98c42efcf in ServerLoop () at postmaster.c:1674 [08:40:31.640] s = {sock = , raddr = {addr = {ss_family = , __ss_padding = { }, __ss_align = }, salen = }} [08:40:31.640] i = 0 [08:40:31.640] now = [08:40:31.640] last_lockfile_recheck_time = 1713429426 [08:40:31.640] last_touch_time = 1713429426 [08:40:31.640] events = {{pos = , events = , fd = , user_data = } } [08:40:31.640] nevents = 1 [08:40:31.640] __func__ = "ServerLoop" [08:40:31.640] #23 0x000055f98c43126f in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x607000000330) at postmaster.c:1372 [08:40:31.640] opt = [08:40:31.640] status = [08:40:31.640] userDoption = [08:40:31.640] listen_addr_saved = false [08:40:31.640] output_config_variable = [08:40:31.640] __func__ = "PostmasterMain" [08:40:31.640] #24 0x000055f98c1ca26b in main (argc=8, argv=0x607000000330) at main.c:197 [08:40:31.640] do_check_root = [08:40:31.657] -e [08:40:31.657] [08:40:31.657] [08:40:32.204] dumping /tmp/cores/postgres-6-28136.core for /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/postgres [08:40:32.510] [New LWP 28136] [08:40:32.796] [Thread debugging using libthread_db enabled] [08:40:32.796] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [08:40:35.081] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [08:40:35.081] Program terminated with signal SIGABRT, Aborted. [08:40:35.081] #0 0x00007fadd053bce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [08:40:35.254] [08:40:35.254] Thread 1 (Thread 0x7fadcded4380 (LWP 28136)): [08:40:35.254] #0 0x00007fadd053bce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [08:40:35.254] No symbol table info available. [08:40:35.254] #1 0x00007fadd0525537 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [08:40:35.254] No symbol table info available. [08:40:35.254] #2 0x000055ad1f38cded in ExceptionalCondition (conditionName=conditionName@entry=0x55ad1f64a160 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55ad1f64a120 "execTuples.c", lineNumber=lineNumber@entry=1737) at assert.c:66 [08:40:35.254] No locals. [08:40:35.254] #3 0x000055ad1eb54d86 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7fffe94463d0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7fffe94460a0) at execTuples.c:1737 [08:40:35.254] No locals. [08:40:35.254] #4 0x000055ad1eac23bb in ExecIRDeleteTriggers (estate=estate@entry=0x62500006ba00, relinfo=relinfo@entry=0x62500006bfb0, slot=slot@entry=0x7fffe94463d0) at trigger.c:2841 [08:40:35.254] trigger = 0x62500006c210 [08:40:35.254] oldtuple = [08:40:35.254] trigdesc = 0x62500006c1c0 [08:40:35.254] newtuple = 0x0 [08:40:35.254] should_free = [08:40:35.254] LocTriggerData = {type = , tg_event = , tg_relation = , tg_trigtuple = , tg_newtuple = , tg_trigger = , tg_trigslot = , tg_newslot = , tg_oldtable = , tg_newtable = , tg_updatedcols = } [08:40:35.254] i = 0 [08:40:35.254] #5 0x000055ad1ebc8bb9 in ExecMergeMatched (context=context@entry=0x7fffe9446410, resultRelInfo=resultRelInfo@entry=0x62500006bfb0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7fffe94463d0, canSetTag=canSetTag@entry=true, matched=matched@entry=0x7fffe9446300) at nodeModifyTable.c:3027 [08:40:35.254] relaction = 0x62900096d4c8 [08:40:35.254] commandType = CMD_DELETE [08:40:35.254] result = [08:40:35.254] updateCxt = {crossPartUpdate = , updateIndexes = , lockmode = } [08:40:35.254] l__state = {l = , i = } [08:40:35.254] mtstate = 0x62500006bda0 [08:40:35.254] mergeActions = 0x62500006c0c0 [08:40:35.254] actionStates = 0x62900096da88 [08:40:35.254] newslot = 0x0 [08:40:35.254] rslot = 0x0 [08:40:35.254] estate = 0x62500006ba00 [08:40:35.254] econtext = 0x62900096cad8 [08:40:35.254] isNull = [08:40:35.254] epqstate = 0x62500006be88 [08:40:35.254] l = [08:40:35.254] __func__ = "ExecMergeMatched" [08:40:35.254] lmerge_matched = [08:40:35.254] #6 0x000055ad1ebc9f5a in ExecMerge (context=context@entry=0x7fffe9446410, resultRelInfo=resultRelInfo@entry=0x62500006bfb0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7fffe94463d0, canSetTag=) at nodeModifyTable.c:2791 [08:40:35.254] rslot = 0x0 [08:40:35.254] matched = [08:40:35.254] #7 0x000055ad1ebcc3eb in ExecModifyTable (pstate=0x62500006bda0) at nodeModifyTable.c:4112 [08:40:35.254] node = 0x62500006bda0 [08:40:35.254] context = {mtstate = , epqstate = , estate = , planSlot = , tmfd = {ctid = {ip_blkid = {bi_hi = , bi_lo = }, ip_posid = }, xmax = , cmax = , traversed = }, cpUpdateReturningSlot = } [08:40:35.254] estate = 0x62500006ba00 [08:40:35.254] operation = CMD_MERGE [08:40:35.254] resultRelInfo = 0x62500006bfb0 [08:40:35.254] subplanstate = 0x62500006c6e0 [08:40:35.254] slot = 0x62900096b4e8 [08:40:35.254] oldSlot = [08:40:35.254] tuple_ctid = {ip_blkid = {bi_hi = , bi_lo = }, ip_posid = } [08:40:35.254] oldtupdata = {t_len = , t_self = {ip_blkid = {bi_hi = , bi_lo = }, ip_posid = }, t_tableOid = , t_data = } [08:40:35.254] oldtuple = 0x7fffe94463d0 [08:40:35.254] tupleid = 0x0 [08:40:35.254] __func__ = "ExecModifyTable" [08:40:35.254] #8 0x000055ad1eb44534 in ExecProcNodeFirst (node=0x62500006bda0) at execProcnode.c:464 [08:40:35.254] No locals. [08:40:35.254] #9 0x000055ad1eb2ecf7 in ExecProcNode (node=0x62500006bda0) at ../../../src/include/executor/executor.h:274 [08:40:35.254] No locals. [08:40:35.254] #10 ExecutePlan (estate=estate@entry=0x62500006ba00, planstate=0x62500006bda0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x61900004e590, execute_once=true) at execMain.c:1646 [08:40:35.254] slot = [08:40:35.254] current_tuple_count = 0 [08:40:35.254] #11 0x000055ad1eb2f1bc in standard_ExecutorRun (queryDesc=0x61d00014eac8, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at execMain.c:363 [08:40:35.254] estate = 0x62500006ba00 [08:40:35.254] operation = CMD_MERGE [08:40:35.254] dest = 0x61900004e590 [08:40:35.254] sendTuples = true [08:40:35.254] oldcontext = 0x61900004e280 [08:40:35.254] __func__ = "standard_ExecutorRun" [08:40:35.254] #12 0x000055ad1eb2f386 in ExecutorRun (queryDesc=queryDesc@entry=0x61d00014eac8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at execMain.c:304 [08:40:35.254] No locals. [08:40:35.254] #13 0x000055ad1f05f54a in ProcessQuery (plan=plan@entry=0x631000490548, sourceText=0x625000005200 "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=0x61900004e590, qc=qc@entry=0x7fffe9446680) at pquery.c:160 [08:40:35.254] queryDesc = 0x61d00014eac8 [08:40:35.254] #14 0x000055ad1f0616f2 in PortalRunMulti (portal=portal@entry=0x62500002fa00, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x61900004e590, altdest=0x55ad1f9eb400 , qc=qc@entry=0x7fffe9446680) at pquery.c:1277 [08:40:35.254] pstmt = 0x631000490548 [08:40:35.254] stmtlist_item__state = {l = , i = } [08:40:35.254] active_snapshot_set = true [08:40:35.254] stmtlist_item = 0x631000490670 [08:40:35.254] #15 0x000055ad1f061f24 in FillPortalStore (portal=portal@entry=0x62500002fa00, isTopLevel=isTopLevel@entry=true) at pquery.c:1026 [08:40:35.254] treceiver = 0x61900004e590 [08:40:35.254] qc = {commandTag = , nprocessed = } [08:40:35.254] __func__ = "FillPortalStore" [08:40:35.254] #16 0x000055ad1f062953 in PortalRun (portal=portal@entry=0x62500002fa00, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x6310004906a8, altdest=altdest@entry=0x6310004906a8, qc=) at pquery.c:763 [08:40:35.254] _save_exception_stack = 0x7fffe9446b10 [08:40:35.254] _save_context_stack = 0x0 [08:40:35.254] _local_sigjmp_buf = {{__jmpbuf = {, , , , , , , }, __mask_was_saved = , __saved_mask = {__val = { }}}} [08:40:35.254] _do_rethrow = [08:40:35.254] result = [08:40:35.254] nprocessed = [08:40:35.254] saveTopTransactionResourceOwner = 0x629000024248 [08:40:35.254] saveTopTransactionContext = 0x625000043900 [08:40:35.254] saveActivePortal = 0x0 [08:40:35.254] saveResourceOwner = 0x629000024248 [08:40:35.254] savePortalContext = 0x0 [08:40:35.254] saveMemoryContext = 0x625000043900 [08:40:35.254] __func__ = "PortalRun" [08:40:35.254] #17 0x000055ad1f059b85 in exec_simple_query (query_string=query_string@entry=0x625000005200 "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 postgres.c:1274 [08:40:35.254] cmdtaglen = [08:40:35.254] snapshot_set = [08:40:35.254] per_parsetree_context = 0x0 [08:40:35.254] plantree_list = 0x631000490658 [08:40:35.254] parsetree = 0x625000598e88 [08:40:35.254] commandTag = [08:40:35.254] qc = {commandTag = , nprocessed = } [08:40:35.254] querytree_list = [08:40:35.254] portal = 0x62500002fa00 [08:40:35.254] receiver = 0x6310004906a8 [08:40:35.254] format = [08:40:35.254] cmdtagname = [08:40:35.254] parsetree_item__state = {l = , i = } [08:40:35.254] dest = DestRemote [08:40:35.254] oldcontext = 0x625000043900 [08:40:35.254] parsetree_list = 0x625000598eb8 [08:40:35.254] parsetree_item = 0x625000598ed0 [08:40:35.254] save_log_statement_stats = false [08:40:35.254] was_logged = true [08:40:35.256] use_implicit_block = false [08:40:35.256] msec_str = { } [08:40:35.256] __func__ = "exec_simple_query" [08:40:35.256] #18 0x000055ad1f05d770 in PostgresMain (dbname=dbname@entry=0x6290000203a8 "regression", username=username@entry=0x629000020388 "postgres") at postgres.c:4680 [08:40:35.256] query_string = 0x625000005200 "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"... [08:40:35.256] firstchar = [08:40:35.256] input_message = {data = , len = , maxlen = , cursor = } [08:40:35.256] local_sigjmp_buf = {{__jmpbuf = {, , , , , , , }, __mask_was_saved = , __saved_mask = {__val = { }}}} [08:40:35.256] send_ready_for_query = [08:40:35.256] idle_in_transaction_timeout_enabled = [08:40:35.256] idle_session_timeout_enabled = [08:40:35.256] __func__ = "PostgresMain" [08:40:35.256] #19 0x000055ad1f050115 in BackendMain (startup_data=startup_data@entry=0x7fffe9446ce0 "", startup_data_len=startup_data_len@entry=4) at backend_startup.c:105 [08:40:35.256] bsdata = 0x7fffe9446ce0 [08:40:35.256] #20 0x000055ad1ee9c9ae in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7fffe9446ce0 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7fffe9446d70) at launch_backend.c:265 [08:40:35.256] pid = [08:40:35.256] #21 0x000055ad1eea48bb in BackendStartup (client_sock=client_sock@entry=0x7fffe9446d70) at postmaster.c:3593 [08:40:35.256] bn = 0x62500001bd98 [08:40:35.256] pid = [08:40:35.256] startup_data = {canAcceptConnections = } [08:40:35.256] __func__ = "BackendStartup" [08:40:35.256] #22 0x000055ad1eea4fcf in ServerLoop () at postmaster.c:1674 [08:40:35.256] s = {sock = , raddr = {addr = {ss_family = , __ss_padding = { }, __ss_align = }, salen = }} [08:40:35.256] i = 0 [08:40:35.256] now = [08:40:35.256] last_lockfile_recheck_time = 1713429472 [08:40:35.256] last_touch_time = 1713429472 [08:40:35.256] events = {{pos = , events = , fd = , user_data = } } [08:40:35.256] nevents = 1 [08:40:35.256] __func__ = "ServerLoop" [08:40:35.256] #23 0x000055ad1eea726f in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x604000000690) at postmaster.c:1372 [08:40:35.256] opt = [08:40:35.256] status = [08:40:35.256] userDoption = [08:40:35.256] listen_addr_saved = false [08:40:35.256] output_config_variable = [08:40:35.256] __func__ = "PostmasterMain" [08:40:35.256] #24 0x000055ad1ec4026b in main (argc=4, argv=0x604000000690) at main.c:197 [08:40:35.256] do_check_root =