[20:15:15.258] src/tools/ci/cores_backtrace.sh linux /tmp/cores [20:15:15.476] dumping /tmp/cores/postgres-6-26006.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [20:15:15.722] [New LWP 26006] [20:15:15.722] [20:15:15.722] This GDB supports auto-downloading debuginfo from the following URLs: [20:15:15.722] [20:15:15.722] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [20:15:15.722] Debuginfod has been disabled. [20:15:15.722] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [20:15:15.851] [Thread debugging using libthread_db enabled] [20:15:15.851] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [20:15:15.851] Core was generated by `postgres: postgres regression [local] MERGE '. [20:15:15.851] Program terminated with signal SIGABRT, Aborted. [20:15:15.851] #0 0x00007fdd210a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [20:15:16.696] [20:15:16.696] Thread 1 (Thread 0x7fdd1ec21f00 (LWP 26006)): [20:15:16.696] #0 0x00007fdd210a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [20:15:16.696] No symbol table info available. [20:15:16.696] #1 0x00007fdd2105afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [20:15:16.696] No symbol table info available. [20:15:16.696] #2 0x00007fdd21045472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [20:15:16.696] No symbol table info available. [20:15:16.696] #3 0x000055ad134b6784 in ExceptionalCondition (conditionName=conditionName@entry=0x55ad13703e45 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55ad13728218 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [20:15:16.696] No locals. [20:15:16.696] #4 0x000055ad12e6636d in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffcf6f148b0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffcf6f1474f) at ../src/backend/executor/execTuples.c:1737 [20:15:16.696] No locals. [20:15:16.696] #5 0x000055ad12dea467 in ExecIRDeleteTriggers (estate=estate@entry=0x55ad15661320, relinfo=relinfo@entry=0x55ad156618d0, slot=slot@entry=0x7ffcf6f148b0) at ../src/backend/commands/trigger.c:2841 [20:15:16.696] trigger = 0x55ad15661b30 [20:15:16.696] oldtuple = [20:15:16.696] trigdesc = 0x55ad15661ae0 [20:15:16.696] newtuple = 0x0 [20:15:16.696] should_free = false [20:15:16.696] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fdd156cf2e0, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [20:15:16.696] i = 0 [20:15:16.696] #6 0x000055ad12ec326a in ExecMergeMatched (context=0x7ffcf6f148d0, resultRelInfo=resultRelInfo@entry=0x55ad156618d0, tupleid=0x0, oldtuple=0x7ffcf6f148b0, canSetTag=true, matched=matched@entry=0x7ffcf6f1485f) at ../src/backend/executor/nodeModifyTable.c:3043 [20:15:16.696] relaction = 0x55ad15696380 [20:15:16.696] commandType = CMD_DELETE [20:15:16.696] result = TM_Ok [20:15:16.696] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [20:15:16.696] l__state = [20:15:16.696] mtstate = 0x55ad156616c0 [20:15:16.696] mergeActions = 0x55ad156619e0 [20:15:16.696] actionStates = 0x55ad15696940 [20:15:16.696] newslot = 0x0 [20:15:16.696] rslot = 0x0 [20:15:16.696] estate = 0x55ad15661320 [20:15:16.696] econtext = 0x55ad15695990 [20:15:16.696] isNull = false [20:15:16.696] epqstate = 0x55ad156617a8 [20:15:16.696] l = [20:15:16.696] __func__ = "ExecMergeMatched" [20:15:16.696] lmerge_matched = [20:15:16.696] #7 0x000055ad12ec3e28 in ExecMerge (context=context@entry=0x7ffcf6f148d0, resultRelInfo=resultRelInfo@entry=0x55ad156618d0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffcf6f148b0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [20:15:16.696] rslot = 0x0 [20:15:16.696] matched = true [20:15:16.696] #8 0x000055ad12ec55ed in ExecModifyTable (pstate=0x55ad156616c0) at ../src/backend/executor/nodeModifyTable.c:4133 [20:15:16.696] node = 0x55ad156616c0 [20:15:16.696] context = {mtstate = 0x55ad156616c0, epqstate = 0x55ad156617a8, estate = 0x55ad15661320, planSlot = 0x55ad15693d78, tmfd = {ctid = {ip_blkid = {bi_hi = 4640, bi_lo = 5478}, ip_posid = 21933}, xmax = 323982981, cmax = 21933, traversed = 32}, cpUpdateReturningSlot = 0x55ad134f9685 } [20:15:16.696] estate = 0x55ad15661320 [20:15:16.696] operation = CMD_MERGE [20:15:16.696] resultRelInfo = 0x55ad156618d0 [20:15:16.696] subplanstate = 0x55ad15662000 [20:15:16.696] slot = [20:15:16.696] oldSlot = [20:15:16.696] tuple_ctid = {ip_blkid = {bi_hi = 5490, bi_lo = 21933}, ip_posid = 0} [20:15:16.696] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55ad156c3f68} [20:15:16.696] oldtuple = 0x7ffcf6f148b0 [20:15:16.696] tupleid = 0x0 [20:15:16.696] __func__ = "ExecModifyTable" [20:15:16.696] #9 0x000055ad12e588b9 in ExecProcNodeFirst (node=0x55ad156616c0) at ../src/backend/executor/execProcnode.c:469 [20:15:16.696] No locals. [20:15:16.696] #10 0x000055ad12e43db7 in ExecProcNode (node=node@entry=0x55ad156616c0) at ../src/include/executor/executor.h:278 [20:15:16.696] No locals. [20:15:16.696] #11 0x000055ad12e43f6c in ExecutePlan (estate=estate@entry=0x55ad15661320, planstate=0x55ad156616c0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55ad156e60d0, execute_once=true) at ../src/backend/executor/execMain.c:1641 [20:15:16.696] slot = [20:15:16.696] current_tuple_count = 0 [20:15:16.696] #12 0x000055ad12e45ce4 in standard_ExecutorRun (queryDesc=0x55ad156eee58, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [20:15:16.696] estate = 0x55ad15661320 [20:15:16.696] operation = CMD_MERGE [20:15:16.696] dest = 0x55ad156e60d0 [20:15:16.696] sendTuples = [20:15:16.696] oldcontext = 0x55ad156e5dc0 [20:15:16.696] __func__ = "standard_ExecutorRun" [20:15:16.696] #13 0x000055ad12e45f17 in ExecutorRun (queryDesc=queryDesc@entry=0x55ad156eee58, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [20:15:16.696] No locals. [20:15:16.696] #14 0x000055ad1322b082 in ProcessQuery (plan=plan@entry=0x55ad157210c8, sourceText=0x55ad1555db40 "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=0x55ad156e60d0, qc=qc@entry=0x7ffcf6f14b00) at ../src/backend/tcop/pquery.c:160 [20:15:16.696] queryDesc = 0x55ad156eee58 [20:15:16.696] #15 0x000055ad1322ccb7 in PortalRunMulti (portal=portal@entry=0x55ad155e00e0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55ad156e60d0, altdest=0x55ad13a011e0 , qc=qc@entry=0x7ffcf6f14b00) at ../src/backend/tcop/pquery.c:1278 [20:15:16.696] pstmt = 0x55ad157210c8 [20:15:16.696] stmtlist_item__state = [20:15:16.696] active_snapshot_set = true [20:15:16.696] stmtlist_item = 0x55ad157211f0 [20:15:16.696] #16 0x000055ad1322d209 in FillPortalStore (portal=portal@entry=0x55ad155e00e0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [20:15:16.696] treceiver = 0x55ad156e60d0 [20:15:16.696] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [20:15:16.696] __func__ = "FillPortalStore" [20:15:16.696] #17 0x000055ad1322d7da in PortalRun (portal=portal@entry=0x55ad155e00e0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55ad15721228, altdest=altdest@entry=0x55ad15721228, qc=0x7ffcf6f14ce0) at ../src/backend/tcop/pquery.c:763 [20:15:16.696] _save_exception_stack = 0x7ffcf6f14d90 [20:15:16.696] _save_context_stack = 0x0 [20:15:16.696] _local_sigjmp_buf = {{__jmpbuf = {0, -1665856338840046698, 94201876185312, 94201877876432, 94201876185312, 94201877876360, -4881207676644936810, -1665842725867539562}, __mask_was_saved = 0, __saved_mask = {__val = {94201841686149, 94201875651136, 112, 4, 94201841690566, 4143008879, 4, 94201877876360, 112, 163, 94201876185312, 94201877876432, 94201877876408, 94201877876360, 94201841777769, 1}}}} [20:15:16.696] _do_rethrow = [20:15:16.696] result = [20:15:16.696] nprocessed = [20:15:16.696] saveTopTransactionResourceOwner = 0x55ad1559cd98 [20:15:16.696] saveTopTransactionContext = 0x55ad155f1cf0 [20:15:16.696] saveActivePortal = 0x0 [20:15:16.696] saveResourceOwner = 0x55ad1559cd98 [20:15:16.696] savePortalContext = 0x0 [20:15:16.696] saveMemoryContext = 0x55ad155f1cf0 [20:15:16.696] __func__ = "PortalRun" [20:15:16.696] #18 0x000055ad13226b87 in exec_simple_query (query_string=query_string@entry=0x55ad1555db40 "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:1284 [20:15:16.696] cmdtaglen = 5 [20:15:16.696] snapshot_set = [20:15:16.696] per_parsetree_context = 0x0 [20:15:16.696] plantree_list = 0x55ad157211d8 [20:15:16.696] parsetree = 0x55ad1577ce88 [20:15:16.696] commandTag = [20:15:16.696] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [20:15:16.696] querytree_list = [20:15:16.696] portal = 0x55ad155e00e0 [20:15:16.696] receiver = 0x55ad15721228 [20:15:16.696] format = 0 [20:15:16.696] cmdtagname = [20:15:16.696] parsetree_item__state = [20:15:16.696] dest = DestRemote [20:15:16.696] oldcontext = 0x55ad155f1cf0 [20:15:16.696] parsetree_list = 0x55ad1577ceb8 [20:15:16.696] parsetree_item = 0x55ad1577ced0 [20:15:16.696] save_log_statement_stats = false [20:15:16.696] was_logged = false [20:15:16.696] use_implicit_block = false [20:15:16.696] msec_str = "@O\361\366\374\177\000\000\213\304M\023\255U\000\000pM\361\366\374\177\000\000\026\001\000\000\000\000\000" [20:15:16.696] __func__ = "exec_simple_query" [20:15:16.696] #19 0x000055ad13229660 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [20:15:16.696] query_string = 0x55ad1555db40 "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"... [20:15:16.696] firstchar = [20:15:16.696] input_message = {data = 0x55ad1555db40 "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} [20:15:16.696] local_sigjmp_buf = {{__jmpbuf = {94201854009304, -1665854057768864874, 4, 140724451495744, 140724451495888, 140724451495892, -4881207676582022250, -1665842728226835562}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94201875381824, 15616, 94201854003392, 94201875905872, 140724451495888, 94201841690114, 0, 9, 2, 94201854009312, 94201875381824, 94201854003392, 140724451495744, 140724451495888, 140724451495892}}}} [20:15:16.696] send_ready_for_query = false [20:15:16.696] idle_in_transaction_timeout_enabled = false [20:15:16.696] idle_session_timeout_enabled = false [20:15:16.696] __func__ = "PostgresMain" [20:15:16.696] #20 0x000055ad1321f782 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [20:15:16.696] bsdata = [20:15:16.696] #21 0x000055ad130d7f15 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffcf6f14eec "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffcf6f14f40) at ../src/backend/postmaster/launch_backend.c:274 [20:15:16.696] pid = [20:15:16.696] #22 0x000055ad130dd9c1 in BackendStartup (client_sock=client_sock@entry=0x7ffcf6f14f40) at ../src/backend/postmaster/postmaster.c:3414 [20:15:16.696] bn = 0x55ad15586518 [20:15:16.696] pid = [20:15:16.696] startup_data = {canAcceptConnections = CAC_OK} [20:15:16.696] __func__ = "BackendStartup" [20:15:16.696] #23 0x000055ad130ddf23 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [20:15:16.696] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "\233\"\335\177\000\000=\004\000\000\000\000\000\000\220\227\003!\335\177\000\000\240\257R\"\335\177\000\000\370O\361\366\374\177\000\000\364O\361\366\374\177", '\000' , "\253\353*\022\255U\000\000\020\327&\022\255U\000\000\300P\361\366\374\177\000\000\270P\361\366\374\177\000\000\225[\362\001H\005\317頄\375 \335\177\000\000+\000\000\000\000\000\000", __ss_align = 0}, salen = 2}} [20:15:16.696] i = 0 [20:15:16.696] now = [20:15:16.696] last_lockfile_recheck_time = 1724875727 [20:15:16.696] last_touch_time = 1724875727 [20:15:16.696] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = 1382427086, events = 0, fd = -151957248, user_data = 0x0}, {pos = 15, events = 0, fd = 304802731, user_data = 0x7fdd229dc668}, {pos = 553485872, events = 32733, fd = 580764384, user_data = 0x7c96e577}, {pos = -151957184, events = 32764, fd = 580594248, user_data = 0xf}, {pos = 553485872, events = 32733, fd = 1, user_data = 0x0}, {pos = 1, events = 0, fd = 580764384, user_data = 0x7ffcf6f150b8}, {pos = -151957312, events = 32764, fd = 580765288, user_data = 0x0}, {pos = 32768, events = 0, fd = 8, user_data = 0x55ad1555f940}, {pos = 1, events = 32733, fd = -151955997, user_data = 0xffffffff}, {pos = 553836544, events = 32733, fd = 575844256, user_data = 0x55ad1558a7d8}, {pos = 358131384, events = 21933, fd = 358140113, user_data = 0x7fdd229b8ebe}, {pos = 1, events = 0, fd = 580764384, user_data = 0x1b7}, {pos = 329387448, events = 21933, fd = 0, user_data = 0x1}, {pos = 357948416, events = 21933, fd = 580619966, user_data = 0x1}, {pos = 0, events = 0, fd = 553836544, user_data = 0x7fdd210f2dc0 }, {pos = 16, events = 0, fd = -151956208, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x7fdd229bb1aa}, {pos = 0, events = 0, fd = 554364180, user_data = 0x0}, {pos = 336247200, events = 21933, fd = 2, user_data = 0x7}, {pos = 357695200, events = 21933, fd = 320595247, user_data = 0x7367702f65736162}, {pos = 1952410737, events = 28781, fd = 8, user_data = 0x2ffff00001fa0}, {pos = 357948416, events = 21933, fd = 580619966, user_data = 0x1}, {pos = 554397661, events = 32733, fd = 553870504, user_data = 0x55ad155894a0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = 555687008, events = 32733, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x55ad1551fee0}, {pos = 554400250, events = 32733, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = -1, user_data = 0xffffffffffffffff}, {pos = 762540901, events = 875711041, fd = 168453743, user_data = 0x38343237310a6174}, {pos = 842478903, events = 808716855, fd = 795768178, user_data = 0x726765722f737365}, {pos = 1836330762, events = 1768107888, fd = 1937076850, user_data = 0x0}, {pos = 0, events = 21760, 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 = 555669984, events = 32733, fd = 554307950, user_data = 0x100000400}, {pos = 7, events = 0, fd = 2, user_data = 0xe9cf0548669f6500}, {pos = 555673056, events = 32733, fd = -328, user_data = 0x0}, {pos = 358131064, events = 21933, fd = 1024, user_data = 0x55ad1558a578}, {pos = 2, events = 0, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 3, user_data = 0x0}, {pos = 23731, events = 0, fd = -328, user_data = 0x0}, {pos = 357948416, events = 21933, fd = 554643411, user_data = 0x7ffcf6f155c8}, {pos = 324066297, events = 21933, fd = 336306064, user_data = 0x55ad134fc6b6 }, {pos = 358130864, events = 21933, fd = 357947968, user_data = 0x55ad1558a4b0}, {pos = 554391598, events = 32733, fd = 0, user_data = 0x55ad1350e320 }, {pos = 358130864, events = 1, fd = 324068457, user_data = 0x55ad1555da40}, {pos = 1721722112, events = 3922658632, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 554314417, user_data = 0x7fdd210a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1721722112, user_data = 0x55ad15535170}, {pos = 1721722112, events = 3922658632, fd = 11, user_data = 0xe9cf0548669f6500}, {pos = 0, events = 0, fd = 554021433, user_data = 0x1}, {pos = 319650834, events = 21933, fd = 4194304, user_data = 0x55ad134fc54a }, {pos = 357781872, events = 21933, fd = 357947968, user_data = 0x55ad15535170}, {pos = 1, events = 0, fd = 0, user_data = 0x55ad1350e320 }, {pos = 357781872, events = 21933, fd = 324068457, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x55ad12f108d1 }, {pos = 0, events = 0, fd = 317807643, user_data = 0xb}, {pos = 319671983, events = 21933, fd = 332720304, user_data = 0x55ad1555e418}} [20:15:16.696] nevents = 1 [20:15:16.696] __func__ = "ServerLoop" [20:15:16.696] #24 0x000055ad130df699 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x55ad1551bda0) at ../src/backend/postmaster/postmaster.c:1346 [20:15:16.696] opt = [20:15:16.696] status = [20:15:16.696] userDoption = [20:15:16.696] listen_addr_saved = false [20:15:16.696] output_config_variable = [20:15:16.696] __func__ = "PostmasterMain" [20:15:16.696] #25 0x000055ad12f20cfc in main (argc=8, argv=0x55ad1551bda0) at ../src/backend/main/main.c:197 [20:15:16.696] do_check_root = [20:15:16.730] -e [20:15:16.730] [20:15:16.730] [20:15:16.792] dumping /tmp/cores/postgres-6-33168.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [20:15:17.035] [New LWP 33168] [20:15:17.035] [20:15:17.035] This GDB supports auto-downloading debuginfo from the following URLs: [20:15:17.035] [20:15:17.035] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [20:15:17.035] Debuginfod has been disabled. [20:15:17.035] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [20:15:17.139] [Thread debugging using libthread_db enabled] [20:15:17.139] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [20:15:17.139] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [20:15:17.139] Program terminated with signal SIGABRT, Aborted. [20:15:17.139] #0 0x00007f056c0a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [20:15:17.981] [20:15:17.981] Thread 1 (Thread 0x7f056c833f00 (LWP 33168)): [20:15:17.981] #0 0x00007f056c0a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [20:15:17.981] No symbol table info available. [20:15:17.981] #1 0x00007f056c05afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [20:15:17.981] No symbol table info available. [20:15:17.981] #2 0x00007f056c045472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [20:15:17.981] No symbol table info available. [20:15:17.981] #3 0x0000563c73b40784 in ExceptionalCondition (conditionName=conditionName@entry=0x563c73d8de45 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x563c73db2218 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [20:15:17.981] No locals. [20:15:17.981] #4 0x0000563c734f036d in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffc78bd93b0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffc78bd924f) at ../src/backend/executor/execTuples.c:1737 [20:15:17.981] No locals. [20:15:17.981] #5 0x0000563c73474467 in ExecIRDeleteTriggers (estate=estate@entry=0x563c75e9de60, relinfo=relinfo@entry=0x563c75e9e410, slot=slot@entry=0x7ffc78bd93b0) at ../src/backend/commands/trigger.c:2841 [20:15:17.981] trigger = 0x563c75e9e670 [20:15:17.981] oldtuple = [20:15:17.981] trigdesc = 0x563c75e9e620 [20:15:17.981] newtuple = 0x0 [20:15:17.981] should_free = false [20:15:17.981] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f0567b02798, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [20:15:17.981] i = 0 [20:15:17.981] #6 0x0000563c7354d26a in ExecMergeMatched (context=0x7ffc78bd93d0, resultRelInfo=resultRelInfo@entry=0x563c75e9e410, tupleid=0x0, oldtuple=0x7ffc78bd93b0, canSetTag=true, matched=matched@entry=0x7ffc78bd935f) at ../src/backend/executor/nodeModifyTable.c:3043 [20:15:17.981] relaction = 0x563c75f43400 [20:15:17.981] commandType = CMD_DELETE [20:15:17.981] result = TM_Ok [20:15:17.981] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [20:15:17.981] l__state = [20:15:17.981] mtstate = 0x563c75e9e200 [20:15:17.981] mergeActions = 0x563c75e9e520 [20:15:17.981] actionStates = 0x563c75f439c0 [20:15:17.981] newslot = 0x0 [20:15:17.981] rslot = 0x0 [20:15:17.981] estate = 0x563c75e9de60 [20:15:17.981] econtext = 0x563c75f42a10 [20:15:17.981] isNull = false [20:15:17.981] epqstate = 0x563c75e9e2e8 [20:15:17.981] l = [20:15:17.981] __func__ = "ExecMergeMatched" [20:15:17.981] lmerge_matched = [20:15:17.981] #7 0x0000563c7354de28 in ExecMerge (context=context@entry=0x7ffc78bd93d0, resultRelInfo=resultRelInfo@entry=0x563c75e9e410, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffc78bd93b0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [20:15:17.981] rslot = 0x0 [20:15:17.981] matched = true [20:15:17.981] #8 0x0000563c7354f5ed in ExecModifyTable (pstate=0x563c75e9e200) at ../src/backend/executor/nodeModifyTable.c:4133 [20:15:17.981] node = 0x563c75e9e200 [20:15:17.981] context = {mtstate = 0x563c75e9e200, epqstate = 0x563c75e9e2e8, estate = 0x563c75e9de60, planSlot = 0x563c75f40df8, tmfd = {ctid = {ip_blkid = {bi_hi = 12912, bi_lo = 30196}, ip_posid = 22076}, xmax = 1979232360, cmax = 22076, traversed = 5}, cpUpdateReturningSlot = 0x563c75f8b068} [20:15:17.981] estate = 0x563c75e9de60 [20:15:17.981] operation = CMD_MERGE [20:15:17.981] resultRelInfo = 0x563c75e9e410 [20:15:17.981] subplanstate = 0x563c75e9eb40 [20:15:17.981] slot = [20:15:17.981] oldSlot = [20:15:17.981] tuple_ctid = {ip_blkid = {bi_hi = 30196, bi_lo = 22076}, ip_posid = 0} [20:15:17.981] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x563c75f01fb8} [20:15:17.981] oldtuple = 0x7ffc78bd93b0 [20:15:17.981] tupleid = 0x0 [20:15:17.981] __func__ = "ExecModifyTable" [20:15:17.981] #9 0x0000563c734e28b9 in ExecProcNodeFirst (node=0x563c75e9e200) at ../src/backend/executor/execProcnode.c:469 [20:15:17.981] No locals. [20:15:17.981] #10 0x0000563c734cddb7 in ExecProcNode (node=node@entry=0x563c75e9e200) at ../src/include/executor/executor.h:278 [20:15:17.981] No locals. [20:15:17.981] #11 0x0000563c734cdf6c in ExecutePlan (estate=estate@entry=0x563c75e9de60, planstate=0x563c75e9e200, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x563c75f25d70, execute_once=true) at ../src/backend/executor/execMain.c:1641 [20:15:17.981] slot = [20:15:17.981] current_tuple_count = 0 [20:15:17.981] #12 0x0000563c734cfce4 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x563c75f31a38, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [20:15:17.981] estate = 0x563c75e9de60 [20:15:17.981] operation = CMD_MERGE [20:15:17.981] dest = 0x563c75f25d70 [20:15:17.981] sendTuples = [20:15:17.981] oldcontext = 0x563c75f25a60 [20:15:17.981] __func__ = "standard_ExecutorRun" [20:15:17.981] #13 0x00007f0569760813 in pgss_ExecutorRun (queryDesc=0x563c75f31a38, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1031 [20:15:17.981] _save_exception_stack = 0x7ffc78bd97b0 [20:15:17.981] _save_context_stack = 0x0 [20:15:17.981] _local_sigjmp_buf = {{__jmpbuf = {94817676892728, 5013703011210492838, 94817675246320, 94817676844400, 0, 0, 5013703011271310246, 4928736535956421542}, __mask_was_saved = 0, __saved_mask = {__val = {2147483647, 94817676844400, 0, 0, 94817639570537, 0, 1, 0, 94817632630768, 94817676892728, 94817651802080, 94817676843616, 139661220911052, 94817676892728, 0, 94817675246320}}}} [20:15:17.981] _do_rethrow = false [20:15:17.981] #14 0x0000563c734cff0a in ExecutorRun (queryDesc=queryDesc@entry=0x563c75f31a38, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:297 [20:15:17.981] No locals. [20:15:17.981] #15 0x0000563c738b5082 in ProcessQuery (plan=plan@entry=0x563c75f8e260, sourceText=0x563c75d9faf0 "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=0x563c75f25d70, qc=qc@entry=0x7ffc78bd9710) at ../src/backend/tcop/pquery.c:160 [20:15:17.981] queryDesc = 0x563c75f31a38 [20:15:17.981] #16 0x0000563c738b6cb7 in PortalRunMulti (portal=portal@entry=0x563c75e21030, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x563c75f25d70, altdest=0x563c7408b1e0 , qc=qc@entry=0x7ffc78bd9710) at ../src/backend/tcop/pquery.c:1278 [20:15:17.981] pstmt = 0x563c75f8e260 [20:15:17.981] stmtlist_item__state = [20:15:17.981] active_snapshot_set = true [20:15:17.981] stmtlist_item = 0x563c75f8e388 [20:15:17.981] #17 0x0000563c738b7209 in FillPortalStore (portal=portal@entry=0x563c75e21030, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [20:15:17.981] treceiver = 0x563c75f25d70 [20:15:17.981] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [20:15:17.981] __func__ = "FillPortalStore" [20:15:17.981] #18 0x0000563c738b77da in PortalRun (portal=portal@entry=0x563c75e21030, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x563c75f8e3c0, altdest=altdest@entry=0x563c75f8e3c0, qc=0x7ffc78bd98f0) at ../src/backend/tcop/pquery.c:763 [20:15:17.981] _save_exception_stack = 0x7ffc78bd99a0 [20:15:17.981] _save_context_stack = 0x0 [20:15:17.981] _local_sigjmp_buf = {{__jmpbuf = {0, 1590996460065913766, 94817675776048, 94817676506384, 94817675776048, 94817676506312, 5013703011204201382, 1590991396793613222}, __mask_was_saved = 0, __saved_mask = {__val = {94817639478917, 94817675246064, 112, 4, 94817639483334, 2025691263, 4, 94817676506312, 112, 163, 94817675776048, 94817676506384, 94817676506360, 94817676506312, 94817639570537, 1}}}} [20:15:17.981] _do_rethrow = [20:15:17.981] result = [20:15:17.981] nprocessed = [20:15:17.981] saveTopTransactionResourceOwner = 0x563c75de04f0 [20:15:17.981] saveTopTransactionContext = 0x563c75e33460 [20:15:17.981] saveActivePortal = 0x0 [20:15:17.981] saveResourceOwner = 0x563c75de04f0 [20:15:17.981] savePortalContext = 0x0 [20:15:17.981] saveMemoryContext = 0x563c75e33460 [20:15:17.981] __func__ = "PortalRun" [20:15:17.981] #19 0x0000563c738b0b87 in exec_simple_query (query_string=query_string@entry=0x563c75d9faf0 "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:1284 [20:15:17.981] cmdtaglen = 5 [20:15:17.981] snapshot_set = [20:15:17.981] per_parsetree_context = 0x0 [20:15:17.981] plantree_list = 0x563c75f8e370 [20:15:17.981] parsetree = 0x563c75ed34c8 [20:15:17.981] commandTag = [20:15:17.981] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [20:15:17.981] querytree_list = [20:15:17.981] portal = 0x563c75e21030 [20:15:17.981] receiver = 0x563c75f8e3c0 [20:15:17.981] format = 0 [20:15:17.981] cmdtagname = [20:15:17.981] parsetree_item__state = [20:15:17.981] dest = DestRemote [20:15:17.981] oldcontext = 0x563c75e33460 [20:15:17.981] parsetree_list = 0x563c75ed34f8 [20:15:17.981] parsetree_item = 0x563c75ed3510 [20:15:17.981] save_log_statement_stats = false [20:15:17.981] was_logged = true [20:15:17.981] use_implicit_block = false [20:15:17.981] msec_str = "P\233\275x\374\177\000\000\213d\266s, username=) at ../src/backend/tcop/postgres.c:4766 [20:15:17.981] query_string = 0x563c75d9faf0 "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"... [20:15:17.981] firstchar = [20:15:17.981] input_message = {data = 0x563c75d9faf0 "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} [20:15:17.981] local_sigjmp_buf = {{__jmpbuf = {94817651802072, 1590995251171031974, 4, 140722334178128, 140722334178272, 140722334178276, 5013703011141286822, 1590991393767422886}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 6016, 10, 94817675495904, 0, 168, 94817639483436, 0, 10, 2, 94817651802080, 94817674976912, 94817651796160, 140722334178128, 140722334178272, 140722334178276}}}} [20:15:17.981] send_ready_for_query = false [20:15:17.981] idle_in_transaction_timeout_enabled = false [20:15:17.981] idle_session_timeout_enabled = false [20:15:17.981] __func__ = "PostgresMain" [20:15:17.981] #21 0x0000563c738a9782 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [20:15:17.981] bsdata = [20:15:17.981] #22 0x0000563c73761f15 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffc78bd9afc "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffc78bd9b50) at ../src/backend/postmaster/launch_backend.c:274 [20:15:17.981] pid = [20:15:17.981] #23 0x0000563c737679c1 in BackendStartup (client_sock=client_sock@entry=0x7ffc78bd9b50) at ../src/backend/postmaster/postmaster.c:3414 [20:15:17.981] bn = 0x563c75dcc798 [20:15:17.981] pid = [20:15:17.981] startup_data = {canAcceptConnections = CAC_OK} [20:15:17.981] __func__ = "BackendStartup" [20:15:17.981] #24 0x0000563c73767f23 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [20:15:17.981] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\003l\005\177\000\000\240\377Xm\005\177\000\000\370\233\275x\374\177\000\000\364\233\275x\374\177", '\000' , "\253\213\223r, " [20:15:17.981] last_lockfile_recheck_time = 1724875758 [20:15:17.981] last_touch_time = 1724875758 [20:15:17.981] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 15, user_data = 0x563c72938bab}, {pos = 1838777960, events = 32517, fd = 1820567088, user_data = 0x7f056d9982e0}, {pos = 2090263927, events = 0, fd = 2025692480, user_data = 0x7f056d96ea48}, {pos = 15, events = 0, fd = 1820567088, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7f056d9982e0}, {pos = 2025692344, events = 32764, fd = 2025692352, user_data = 0x7f056d998668}, {pos = 0, events = 0, fd = 1977227568, user_data = 0x563c73bd1dc0 }, {pos = 32768, events = 0, fd = 1, user_data = 0x563c75da0610}, {pos = -1, events = 0, fd = 1812127744, user_data = 0x7f056d58ffa0}, {pos = 1977398184, events = 22076, fd = 1977397896, user_data = 0x563c75dcf931}, {pos = 1838632638, events = 32517, fd = 1, user_data = 0x7f056d9982e0}, {pos = 439, events = 0, fd = 1946856888, user_data = 0x0}, {pos = 1, events = 0, fd = 1977227568, user_data = 0x7f056d974ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f056c02e000}, {pos = 1812934080, events = 32517, fd = 16, user_data = 0x7ffc78bda120}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1838641578, events = 32517, fd = 0, user_data = 0x7f056c0aed14 }, {pos = 0, events = 0, fd = 1953716640, user_data = 0x2}, {pos = 7, events = 0, fd = 1976966960, user_data = 0x563c7384490d }, {pos = 1977436667, events = 22076, fd = 1938064687, user_data = 0x7367702f65736162}, {pos = 8096, events = 196607, fd = 1977227568, user_data = 0x7f056d974ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f056c0364a8}, {pos = 1812688861, events = 32517, fd = 1953767136, user_data = 0x563c75dd49a0}, {pos = 255, events = 0, fd = 0, user_data = 0x100007f00000002}, {pos = 1813978208, events = 32517, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, 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 = -1, events = 4294967295, fd = -1, user_data = 0x735f3732305f742f}, {pos = 1634038388, events = 1701994349, fd = 1868785010, user_data = 0x7274735f3732302f}, {pos = 1827157312, events = 32517, fd = 1827158656, 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 = 1977411888, user_data = 0x7f056c0b582e}, {pos = 1813961184, events = 32517, fd = 1812599150, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xc6a2f6027fc11800}, {pos = 1813964256, events = 32517, fd = -328, user_data = 0x0}, {pos = 1977397576, events = 22076, fd = 2, user_data = 0x8000000000000006}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1977397376, events = 22076, fd = 3, user_data = 0x0}, {pos = 30870, events = 0, fd = -328, user_data = 0x0}, {pos = 1977227568, events = 22076, fd = 1812934611, user_data = 0x7ffc78bda1d8}, {pos = 1941535737, events = 22076, fd = 1953775504, user_data = 0x563c73b866b6 }, {pos = 1977397376, events = 22076, fd = 1977219568, user_data = 0x563c75dcb080}, {pos = 1812682798, events = 32517, fd = 0, user_data = 0x563c73b98320 }, {pos = 1977397376, events = 1, fd = 1941537897, user_data = 0x563c75d9f9f0}, {pos = 2143361024, events = 3332568578, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 1812605617, user_data = 0x7f056c0a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 2143361024, user_data = 0x563c75d77120}, {pos = 2143361024, events = 3332568578, fd = 11, user_data = 0xc6a2f6027fc11800}, {pos = 0, events = 0, fd = 1812312633, user_data = 0x1}, {pos = 1937120274, events = 22076, fd = 4194304, user_data = 0x563c73b8654a }, {pos = 1977053472, events = 22076, fd = 1977219568, user_data = 0x563c75d77120}, {pos = 1, events = 0, fd = 0, user_data = 0x563c73b98320 }, {pos = 1977053472, events = 22076, fd = 1941537897, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x563c7359a8d1 }, {pos = 0, events = 0, fd = 1935277083, user_data = 0xb}, {pos = 1937141423, events = 22076, fd = 1950189744, user_data = 0x563c75da03a8}} [20:15:17.981] nevents = 1 [20:15:17.981] __func__ = "ServerLoop" [20:15:17.981] #25 0x0000563c73769699 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x563c75d5dd90) at ../src/backend/postmaster/postmaster.c:1346 [20:15:17.981] opt = [20:15:17.981] status = [20:15:17.981] userDoption = [20:15:17.981] listen_addr_saved = false [20:15:17.981] output_config_variable = [20:15:17.981] __func__ = "PostmasterMain" [20:15:17.981] #26 0x0000563c735aacfc in main (argc=4, argv=0x563c75d5dd90) at ../src/backend/main/main.c:197 [20:15:17.981] do_check_root = [20:15:18.014] -e [20:15:18.014] [20:15:18.014] [20:15:18.077] dumping /tmp/cores/postgres-6-26670.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [20:15:18.326] [New LWP 26670] [20:15:18.326] [20:15:18.326] This GDB supports auto-downloading debuginfo from the following URLs: [20:15:18.326] [20:15:18.326] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [20:15:18.326] Debuginfod has been disabled. [20:15:18.326] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [20:15:18.430] [Thread debugging using libthread_db enabled] [20:15:18.430] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [20:15:18.430] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [20:15:18.430] Program terminated with signal SIGABRT, Aborted. [20:15:18.430] #0 0x00007f61c0ca9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [20:15:19.250] [20:15:19.250] Thread 1 (Thread 0x7f61c1a83f00 (LWP 26670)): [20:15:19.250] #0 0x00007f61c0ca9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [20:15:19.250] No symbol table info available. [20:15:19.250] #1 0x00007f61c0c5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [20:15:19.250] No symbol table info available. [20:15:19.250] #2 0x00007f61c0c45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [20:15:19.250] No symbol table info available. [20:15:19.250] #3 0x000056533d983784 in ExceptionalCondition (conditionName=conditionName@entry=0x56533dbd0e45 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x56533dbf5218 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [20:15:19.250] No locals. [20:15:19.250] #4 0x000056533d33336d in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffe619b8fe0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffe619b8e7f) at ../src/backend/executor/execTuples.c:1737 [20:15:19.250] No locals. [20:15:19.250] #5 0x000056533d2b7467 in ExecIRDeleteTriggers (estate=estate@entry=0x56533efb6500, relinfo=relinfo@entry=0x56533efb6ab0, slot=slot@entry=0x7ffe619b8fe0) at ../src/backend/commands/trigger.c:2841 [20:15:19.250] trigger = 0x56533efb6d10 [20:15:19.250] oldtuple = [20:15:19.250] trigdesc = 0x56533efb6cc0 [20:15:19.250] newtuple = 0x0 [20:15:19.250] should_free = false [20:15:19.250] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f61b55446e8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [20:15:19.250] i = 0 [20:15:19.250] #6 0x000056533d39026a in ExecMergeMatched (context=0x7ffe619b9000, resultRelInfo=resultRelInfo@entry=0x56533efb6ab0, tupleid=0x0, oldtuple=0x7ffe619b8fe0, canSetTag=true, matched=matched@entry=0x7ffe619b8f8f) at ../src/backend/executor/nodeModifyTable.c:3043 [20:15:19.250] relaction = 0x56533f0baf40 [20:15:19.250] commandType = CMD_DELETE [20:15:19.250] result = TM_Ok [20:15:19.250] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [20:15:19.250] l__state = [20:15:19.250] mtstate = 0x56533efb68a0 [20:15:19.250] mergeActions = 0x56533efb6bc0 [20:15:19.250] actionStates = 0x56533f0bb500 [20:15:19.250] newslot = 0x0 [20:15:19.250] rslot = 0x0 [20:15:19.250] estate = 0x56533efb6500 [20:15:19.250] econtext = 0x56533f0ba550 [20:15:19.250] isNull = false [20:15:19.250] epqstate = 0x56533efb6988 [20:15:19.250] l = [20:15:19.250] __func__ = "ExecMergeMatched" [20:15:19.250] lmerge_matched = [20:15:19.250] #7 0x000056533d390e28 in ExecMerge (context=context@entry=0x7ffe619b9000, resultRelInfo=resultRelInfo@entry=0x56533efb6ab0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffe619b8fe0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [20:15:19.250] rslot = 0x0 [20:15:19.250] matched = true [20:15:19.250] #8 0x000056533d3925ed in ExecModifyTable (pstate=0x56533efb68a0) at ../src/backend/executor/nodeModifyTable.c:4133 [20:15:19.250] node = 0x56533efb68a0 [20:15:19.250] context = {mtstate = 0x56533efb68a0, epqstate = 0x56533efb6988, estate = 0x56533efb6500, planSlot = 0x56533f0b8938, tmfd = {ctid = {ip_blkid = {bi_hi = 25600, bi_lo = 16123}, ip_posid = 22099}, xmax = 1033660037, cmax = 22099, traversed = false}, cpUpdateReturningSlot = 0x56533d9c6685 } [20:15:19.250] estate = 0x56533efb6500 [20:15:19.250] operation = CMD_MERGE [20:15:19.250] resultRelInfo = 0x56533efb6ab0 [20:15:19.250] subplanstate = 0x56533efb71e0 [20:15:19.250] slot = [20:15:19.250] oldSlot = [20:15:19.250] tuple_ctid = {ip_blkid = {bi_hi = 16132, bi_lo = 22099}, ip_posid = 0} [20:15:19.250] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x56533f019148} [20:15:19.250] oldtuple = 0x7ffe619b8fe0 [20:15:19.250] tupleid = 0x0 [20:15:19.250] __func__ = "ExecModifyTable" [20:15:19.250] #9 0x000056533d3258b9 in ExecProcNodeFirst (node=0x56533efb68a0) at ../src/backend/executor/execProcnode.c:469 [20:15:19.250] No locals. [20:15:19.250] #10 0x000056533d310db7 in ExecProcNode (node=node@entry=0x56533efb68a0) at ../src/include/executor/executor.h:278 [20:15:19.250] No locals. [20:15:19.250] #11 0x000056533d310f6c in ExecutePlan (estate=estate@entry=0x56533efb6500, planstate=0x56533efb68a0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x56533f03b2b0, execute_once=true) at ../src/backend/executor/execMain.c:1641 [20:15:19.250] slot = [20:15:19.250] current_tuple_count = 0 [20:15:19.250] #12 0x000056533d312ce4 in standard_ExecutorRun (queryDesc=0x56533f0338f8, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [20:15:19.250] estate = 0x56533efb6500 [20:15:19.250] operation = CMD_MERGE [20:15:19.250] dest = 0x56533f03b2b0 [20:15:19.250] sendTuples = [20:15:19.250] oldcontext = 0x56533f03afa0 [20:15:19.250] __func__ = "standard_ExecutorRun" [20:15:19.250] #13 0x000056533d312f17 in ExecutorRun (queryDesc=queryDesc@entry=0x56533f0338f8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [20:15:19.250] No locals. [20:15:19.250] #14 0x000056533d6f8082 in ProcessQuery (plan=plan@entry=0x56533f04de78, sourceText=0x56533eeb3ad0 "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=0x56533f03b2b0, qc=qc@entry=0x7ffe619b9230) at ../src/backend/tcop/pquery.c:160 [20:15:19.250] queryDesc = 0x56533f0338f8 [20:15:19.250] #15 0x000056533d6f9cb7 in PortalRunMulti (portal=portal@entry=0x56533ef36720, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x56533f03b2b0, altdest=0x56533dece1e0 , qc=qc@entry=0x7ffe619b9230) at ../src/backend/tcop/pquery.c:1278 [20:15:19.250] pstmt = 0x56533f04de78 [20:15:19.250] stmtlist_item__state = [20:15:19.250] active_snapshot_set = true [20:15:19.250] stmtlist_item = 0x56533f04dfa0 [20:15:19.250] #16 0x000056533d6fa209 in FillPortalStore (portal=portal@entry=0x56533ef36720, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [20:15:19.250] treceiver = 0x56533f03b2b0 [20:15:19.250] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [20:15:19.250] __func__ = "FillPortalStore" [20:15:19.250] #17 0x000056533d6fa7da in PortalRun (portal=portal@entry=0x56533ef36720, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x56533f04dfd8, altdest=altdest@entry=0x56533f04dfd8, qc=0x7ffe619b9410) at ../src/backend/tcop/pquery.c:763 [20:15:19.250] _save_exception_stack = 0x7ffe619b94c0 [20:15:19.250] _save_context_stack = 0x0 [20:15:19.250] _local_sigjmp_buf = {{__jmpbuf = {0, -6743688289242683030, 94915538413344, 94915540134928, 94915538413344, 94915540134856, -1066466881276581526, -6743683122656810646}, __mask_was_saved = 0, __saved_mask = {__val = {94915515934341, 94915537877456, 112, 4, 94915515938758, 1637585823, 4, 94915540134856, 112, 163, 94915538413344, 94915540134928, 94915540134904, 94915540134856, 94915516025961, 1}}}} [20:15:19.250] _do_rethrow = [20:15:19.250] result = [20:15:19.250] nprocessed = [20:15:19.250] saveTopTransactionResourceOwner = 0x56533eef38d8 [20:15:19.250] saveTopTransactionContext = 0x56533ef47700 [20:15:19.250] saveActivePortal = 0x0 [20:15:19.250] saveResourceOwner = 0x56533eef38d8 [20:15:19.250] savePortalContext = 0x0 [20:15:19.250] saveMemoryContext = 0x56533ef47700 [20:15:19.250] __func__ = "PortalRun" [20:15:19.250] #18 0x000056533d6f3b87 in exec_simple_query (query_string=query_string@entry=0x56533eeb3ad0 "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:1284 [20:15:19.250] cmdtaglen = 5 [20:15:19.250] snapshot_set = [20:15:19.250] per_parsetree_context = 0x0 [20:15:19.250] plantree_list = 0x56533f04df88 [20:15:19.250] parsetree = 0x56533f0dabc8 [20:15:19.250] commandTag = [20:15:19.250] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [20:15:19.250] querytree_list = [20:15:19.250] portal = 0x56533ef36720 [20:15:19.250] receiver = 0x56533f04dfd8 [20:15:19.250] format = 0 [20:15:19.250] cmdtagname = [20:15:19.250] parsetree_item__state = [20:15:19.250] dest = DestRemote [20:15:19.250] oldcontext = 0x56533ef47700 [20:15:19.250] parsetree_list = 0x56533f0dabf8 [20:15:19.250] parsetree_item = 0x56533f0dac10 [20:15:19.250] save_log_statement_stats = false [20:15:19.250] was_logged = true [20:15:19.250] use_implicit_block = false [20:15:19.250] msec_str = "p\226\233a\376\177\000\000\213\224\232=SV\000\000\240\224\233a\376\177\000\000\026\001\000\000\000\000\000" [20:15:19.250] __func__ = "exec_simple_query" [20:15:19.250] #19 0x000056533d6f6660 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [20:15:19.250] query_string = 0x56533eeb3ad0 "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"... [20:15:19.250] firstchar = [20:15:19.250] input_message = {data = 0x56533eeb3ad0 "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} [20:15:19.250] local_sigjmp_buf = {{__jmpbuf = {94915528257496, -6743690181711599254, 4, 140730536007280, 140730536007424, 140730536007428, -1066466881339496086, -6743683131039127190}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94915537608272, 14336, 94915528251584, 94915538135184, 140730536007424, 94915515938306, 0, 9, 2, 94915528257504, 94915537608272, 94915528251584, 140730536007280, 140730536007424, 140730536007428}}}} [20:15:19.250] send_ready_for_query = false [20:15:19.250] idle_in_transaction_timeout_enabled = false [20:15:19.250] idle_session_timeout_enabled = false [20:15:19.250] __func__ = "PostgresMain" [20:15:19.250] #20 0x000056533d6ec782 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [20:15:19.250] bsdata = [20:15:19.250] #21 0x000056533d5a4f15 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffe619b961c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe619b9670) at ../src/backend/postmaster/launch_backend.c:274 [20:15:19.250] pid = [20:15:19.250] #22 0x000056533d5aa9c1 in BackendStartup (client_sock=client_sock@entry=0x7ffe619b9670) at ../src/backend/postmaster/postmaster.c:3414 [20:15:19.250] bn = 0x56533eee8c08 [20:15:19.250] pid = [20:15:19.250] startup_data = {canAcceptConnections = CAC_OK} [20:15:19.250] __func__ = "BackendStartup" [20:15:19.250] #23 0x000056533d5aaf23 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [20:15:19.250] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\302\300a\177\000\0004\227\233a\376\177\000\000\312PW\302a\177\000\000=\004\000\000\000\000\000\000\220\227\303\300a\177\000\000\240o\031\302a\177\000\0008\227\233a\376\177\000\0004\227\233a\376\177\000\000\000\000\000\000\000\000\000\000Ж\233a\376\177\000\000\253\273w [20:15:19.250] last_lockfile_recheck_time = 1724875729 [20:15:19.250] last_touch_time = 1724875729 [20:15:19.250] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 1, user_data = 0x7f61c259f2e0}, {pos = 1637586808, events = 0, fd = 0, user_data = 0x7f61c259f668}, {pos = 1014479787, events = 22099, fd = -1034291608, user_data = 0x7f61c212d630}, {pos = -1034292512, events = 32609, fd = 2090263927, user_data = 0x7ffe619b9880}, {pos = -1034462648, events = 32609, fd = 15, user_data = 0x7f61c212d630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = -1034292512, events = 32609, fd = 1637586936, user_data = 0x7ffe619b9800}, {pos = -1034291608, events = 32609, fd = 0, user_data = 0x56533eee2408}, {pos = 1055793896, events = 22099, fd = 1055793345, user_data = 0x7f6100000001}, {pos = 1, events = 0, fd = -1, user_data = 0x7f61c0c2e000}, {pos = -1038520416, events = 32609, fd = 1055794184, user_data = 0x7ffe619b9bf0}, {pos = 1055765352, events = 22099, fd = 1055794416, user_data = 0x56533eee2408}, {pos = -1034292512, events = 32609, fd = 439, user_data = 0x56533deeddb8 }, {pos = 0, events = 0, fd = 1, user_data = 0x56533eeb3ae8}, {pos = -1034436930, events = 32609, fd = 1, user_data = 0x0}, {pos = -1060970496, events = 32609, fd = -1060164160, user_data = 0x7ffe619b9c60}, {pos = 1637588032, events = 32766, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1034427990, user_data = 0x0}, {pos = -1060442860, events = 32609, fd = 0, user_data = 0x56533e5789a0 }, {pos = 2, events = 0, fd = 7, user_data = 0x56533ee75ef0}, {pos = 1952410737, events = 28781, fd = -1060936536, user_data = 0x7f61c0c9c880 }, {pos = -1045938760, events = 32609, fd = 8096, user_data = 0x100007f00000002}, {pos = -1060409737, events = 32609, fd = 2, user_data = 0x7d0}, {pos = 255, events = 0, fd = 99, user_data = 0x2}, {pos = -1059120032, events = 32609, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x56533ee75ef0}, {pos = -1060406790, events = 32609, fd = 1663923061, user_data = 0x56533ee75ef0}, {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 = 0, user_data = 0x7f0000000000}, {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 = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xc9d4c7c4cfe52500}, {pos = -1059133984, events = 32609, fd = -328, user_data = 0x0}, {pos = 1055793576, events = 22099, fd = 1024, user_data = 0x56533eee21a8}, {pos = 1637588216, events = 32766, fd = -1060405617, user_data = 0x2}, {pos = 6, events = 2147483648, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 3, user_data = 0x0}, {pos = 24231, events = 0, fd = -328, user_data = 0x0}, {pos = 1055603432, events = 22099, fd = -1060163629, user_data = 0x7ffe619b9cf8}, {pos = 1033743353, events = 22099, fd = 1045983120, user_data = 0x56533d9c96b6 }, {pos = 1055793376, events = 22099, fd = 1055603152, user_data = 0x56533eee20e0}, {pos = -1060415781, events = 32609, fd = 0, user_data = 0x56533d9db320 }, {pos = 1055793376, events = 1, fd = 1033745513, user_data = 0x56533eeb39d0}, {pos = -807066368, events = 3386165188, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -1060492623, user_data = 0x7f61c0ca14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -807066368, user_data = 0x56533ee8b100}, {pos = -807066368, events = 3386165188, fd = 11, user_data = 0xc9d4c7c4cfe52500}, {pos = 0, events = 0, fd = -1060785607, user_data = 0x1}, {pos = 1029327890, events = 22099, fd = 4194304, user_data = 0x56533d9c954a }, {pos = 1055437056, events = 22099, fd = 1055603152, user_data = 0x56533ee8b100}, {pos = 1, events = 0, fd = 0, user_data = 0x56533d9db320 }, {pos = 1055437056, events = 22099, fd = 1033745513, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x56533d3dd8d1 }, {pos = 0, events = 0, fd = 1027484699, user_data = 0xb}, {pos = 1029349039, events = 22099, fd = 1042397360, user_data = 0x56533eeb4378}} [20:15:19.250] nevents = 1 [20:15:19.250] __func__ = "ServerLoop" [20:15:19.250] #24 0x000056533d5ac699 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x56533ee71d60) at ../src/backend/postmaster/postmaster.c:1346 [20:15:19.250] opt = [20:15:19.250] status = [20:15:19.250] userDoption = [20:15:19.250] listen_addr_saved = false [20:15:19.250] output_config_variable = [20:15:19.250] __func__ = "PostmasterMain" [20:15:19.250] #25 0x000056533d3edcfc in main (argc=4, argv=0x56533ee71d60) at ../src/backend/main/main.c:197 [20:15:19.250] do_check_root =