[19:41:00.264] src/tools/ci/cores_backtrace.sh linux /tmp/cores [19:41:00.494] dumping /tmp/cores/postgres-6-27551.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [19:41:00.768] [New LWP 27551] [19:41:00.768] [19:41:00.768] This GDB supports auto-downloading debuginfo from the following URLs: [19:41:00.768] [19:41:00.768] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [19:41:00.768] Debuginfod has been disabled. [19:41:00.768] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [19:41:00.899] [Thread debugging using libthread_db enabled] [19:41:00.899] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [19:41:00.899] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [19:41:00.899] Program terminated with signal SIGABRT, Aborted. [19:41:00.899] #0 0x00007f804a2a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [19:41:01.794] [19:41:01.794] Thread 1 (Thread 0x7f8047e23f00 (LWP 27551)): [19:41:01.794] #0 0x00007f804a2a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [19:41:01.794] No symbol table info available. [19:41:01.794] #1 0x00007f804a25afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [19:41:01.794] No symbol table info available. [19:41:01.794] #2 0x00007f804a245472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [19:41:01.794] No symbol table info available. [19:41:01.794] #3 0x000055ac37f93ad3 in ExceptionalCondition (conditionName=conditionName@entry=0x55ac381dee05 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55ac382031d8 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [19:41:01.794] No locals. [19:41:01.794] #4 0x000055ac3794166c in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffd82f01450, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffd82f012ef) at ../src/backend/executor/execTuples.c:1737 [19:41:01.794] No locals. [19:41:01.794] #5 0x000055ac378c6a03 in ExecIRDeleteTriggers (estate=estate@entry=0x55ac3a84cce0, relinfo=relinfo@entry=0x55ac3a84d290, slot=slot@entry=0x7ffd82f01450) at ../src/backend/commands/trigger.c:2841 [19:41:01.794] trigger = 0x55ac3a84d4f0 [19:41:01.794] oldtuple = [19:41:01.794] trigdesc = 0x55ac3a84d4a0 [19:41:01.794] newtuple = 0x0 [19:41:01.794] should_free = false [19:41:01.794] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f803eae61a8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [19:41:01.794] i = 0 [19:41:01.794] #6 0x000055ac3799e504 in ExecMergeMatched (context=0x7ffd82f01470, resultRelInfo=resultRelInfo@entry=0x55ac3a84d290, tupleid=0x0, oldtuple=0x7ffd82f01450, canSetTag=true, matched=matched@entry=0x7ffd82f013ff) at ../src/backend/executor/nodeModifyTable.c:3040 [19:41:01.794] relaction = 0x55ac3a94a5c8 [19:41:01.794] commandType = CMD_DELETE [19:41:01.794] result = TM_Ok [19:41:01.794] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [19:41:01.794] l__state = [19:41:01.794] mtstate = 0x55ac3a84d080 [19:41:01.794] mergeActions = 0x55ac3a84d3a0 [19:41:01.794] actionStates = 0x55ac3a94ab88 [19:41:01.794] newslot = 0x0 [19:41:01.794] rslot = 0x0 [19:41:01.794] estate = 0x55ac3a84cce0 [19:41:01.794] econtext = 0x55ac3a949bd8 [19:41:01.794] isNull = false [19:41:01.794] epqstate = 0x55ac3a84d168 [19:41:01.794] l = [19:41:01.794] __func__ = "ExecMergeMatched" [19:41:01.794] lmerge_matched = [19:41:01.794] #7 0x000055ac3799f0c2 in ExecMerge (context=context@entry=0x7ffd82f01470, resultRelInfo=resultRelInfo@entry=0x55ac3a84d290, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffd82f01450, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2801 [19:41:01.794] rslot = 0x0 [19:41:01.794] matched = true [19:41:01.794] #8 0x000055ac379a0887 in ExecModifyTable (pstate=0x55ac3a84d080) at ../src/backend/executor/nodeModifyTable.c:4130 [19:41:01.794] node = 0x55ac3a84d080 [19:41:01.794] context = {mtstate = 0x55ac3a84d080, epqstate = 0x55ac3a84d168, estate = 0x55ac3a84cce0, planSlot = 0x55ac3a9485e8, tmfd = {ctid = {ip_blkid = {bi_hi = 52192, bi_lo = 14980}, ip_posid = 21932}, xmax = 939354369, cmax = 21932, traversed = 224}, cpUpdateReturningSlot = 0x55ac37fd6901 } [19:41:01.794] estate = 0x55ac3a84cce0 [19:41:01.794] operation = CMD_MERGE [19:41:01.794] resultRelInfo = 0x55ac3a84d290 [19:41:01.794] subplanstate = 0x55ac3a84d9c0 [19:41:01.794] slot = [19:41:01.794] oldSlot = [19:41:01.794] tuple_ctid = {ip_blkid = {bi_hi = 14995, bi_lo = 21932}, ip_posid = 0} [19:41:01.794] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55ac3a8af928} [19:41:01.794] oldtuple = 0x7ffd82f01450 [19:41:01.794] tupleid = 0x0 [19:41:01.794] __func__ = "ExecModifyTable" [19:41:01.794] #9 0x000055ac37933f67 in ExecProcNodeFirst (node=0x55ac3a84d080) at ../src/backend/executor/execProcnode.c:469 [19:41:01.794] No locals. [19:41:01.794] #10 0x000055ac3791f465 in ExecProcNode (node=node@entry=0x55ac3a84d080) at ../src/include/executor/executor.h:274 [19:41:01.794] No locals. [19:41:01.794] #11 0x000055ac3791f61a in ExecutePlan (estate=estate@entry=0x55ac3a84cce0, planstate=0x55ac3a84d080, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55ac3a8dd620, execute_once=true) at ../src/backend/executor/execMain.c:1646 [19:41:01.794] slot = [19:41:01.794] current_tuple_count = 0 [19:41:01.794] #12 0x000055ac37921833 in standard_ExecutorRun (queryDesc=0x55ac3a880cf8, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:363 [19:41:01.794] estate = 0x55ac3a84cce0 [19:41:01.794] operation = CMD_MERGE [19:41:01.794] dest = 0x55ac3a8dd620 [19:41:01.794] sendTuples = [19:41:01.794] oldcontext = 0x55ac3a8dd310 [19:41:01.794] __func__ = "standard_ExecutorRun" [19:41:01.794] #13 0x000055ac37921a66 in ExecutorRun (queryDesc=queryDesc@entry=0x55ac3a880cf8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:304 [19:41:01.794] No locals. [19:41:01.794] #14 0x000055ac37d0836c in ProcessQuery (plan=plan@entry=0x55ac3a93f038, sourceText=0x55ac3a74aad0 "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=0x55ac3a8dd620, qc=qc@entry=0x7ffd82f016a0) at ../src/backend/tcop/pquery.c:160 [19:41:01.794] queryDesc = 0x55ac3a880cf8 [19:41:01.794] #15 0x000055ac37d09fa1 in PortalRunMulti (portal=portal@entry=0x55ac3a7cd720, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55ac3a8dd620, altdest=0x55ac384dd1e0 , qc=qc@entry=0x7ffd82f016a0) at ../src/backend/tcop/pquery.c:1278 [19:41:01.794] pstmt = 0x55ac3a93f038 [19:41:01.794] stmtlist_item__state = [19:41:01.794] active_snapshot_set = true [19:41:01.794] stmtlist_item = 0x55ac3a93f160 [19:41:01.794] #16 0x000055ac37d0a4f3 in FillPortalStore (portal=portal@entry=0x55ac3a7cd720, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [19:41:01.794] treceiver = 0x55ac3a8dd620 [19:41:01.794] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [19:41:01.794] __func__ = "FillPortalStore" [19:41:01.794] #17 0x000055ac37d0aac4 in PortalRun (portal=portal@entry=0x55ac3a7cd720, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55ac3a93f198, altdest=altdest@entry=0x55ac3a93f198, qc=0x7ffd82f01880) at ../src/backend/tcop/pquery.c:763 [19:41:01.794] _save_exception_stack = 0x7ffd82f01930 [19:41:01.794] _save_context_stack = 0x0 [19:41:01.794] _local_sigjmp_buf = {{__jmpbuf = {0, -3722383513333242290, 94198203995936, 94198205823392, 94198203995936, 94198205823320, -7425275605805930930, -3722377460160371122}, __mask_was_saved = 0, __saved_mask = {__val = {94198162090241, 94198203460048, 112, 4, 94198162094658, 2196772879, 4, 94198205823320, 112, 163, 94198203995936, 94198205823392, 94198205823368, 94198205823320, 94198162181861, 1}}}} [19:41:01.794] _do_rethrow = [19:41:01.794] result = [19:41:01.794] nprocessed = [19:41:01.794] saveTopTransactionResourceOwner = 0x55ac3a78a8d8 [19:41:01.794] saveTopTransactionContext = 0x55ac3a7de700 [19:41:01.794] saveActivePortal = 0x0 [19:41:01.794] saveResourceOwner = 0x55ac3a78a8d8 [19:41:01.794] savePortalContext = 0x0 [19:41:01.794] saveMemoryContext = 0x55ac3a7de700 [19:41:01.794] __func__ = "PortalRun" [19:41:01.794] #18 0x000055ac37d03e71 in exec_simple_query (query_string=query_string@entry=0x55ac3a74aad0 "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 [19:41:01.794] cmdtaglen = 5 [19:41:01.794] snapshot_set = [19:41:01.794] per_parsetree_context = 0x0 [19:41:01.794] plantree_list = 0x55ac3a93f148 [19:41:01.794] parsetree = 0x55ac3a98b958 [19:41:01.794] commandTag = [19:41:01.794] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [19:41:01.794] querytree_list = [19:41:01.794] portal = 0x55ac3a7cd720 [19:41:01.794] receiver = 0x55ac3a93f198 [19:41:01.794] format = 0 [19:41:01.794] cmdtagname = [19:41:01.794] parsetree_item__state = [19:41:01.794] dest = DestRemote [19:41:01.794] oldcontext = 0x55ac3a7de700 [19:41:01.794] parsetree_list = 0x55ac3a98b988 [19:41:01.794] parsetree_item = 0x55ac3a98b9a0 [19:41:01.794] save_log_statement_stats = false [19:41:01.794] was_logged = true [19:41:01.794] use_implicit_block = false [19:41:01.794] msec_str = "\340\032\360\202\375\177\000\000\354\226\3737\254U\000\000\020\031\360\202\375\177\000\000\026\001\000\000\000\000\000" [19:41:01.794] __func__ = "exec_simple_query" [19:41:01.794] #19 0x000055ac37d0694a in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [19:41:01.794] query_string = 0x55ac3a74aad0 "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"... [19:41:01.794] firstchar = [19:41:01.794] input_message = {data = 0x55ac3a74aad0 "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} [19:41:01.794] local_sigjmp_buf = {{__jmpbuf = {94198174416728, -3722388095829514674, 4, 140726800227040, 140726800227184, 140726800227188, -7425275605466192306, -3722377453648714162}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94198203190864, 14336, 94198174410816, 94198203717776, 140726800227184, 94198162094206, 0, 9, 2, 94198174416736, 94198203190864, 94198174410816, 140726800227040, 140726800227184, 140726800227188}}}} [19:41:01.794] send_ready_for_query = false [19:41:01.794] idle_in_transaction_timeout_enabled = false [19:41:01.794] idle_session_timeout_enabled = false [19:41:01.794] __func__ = "PostgresMain" [19:41:01.794] #20 0x000055ac37cfca6c in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [19:41:01.794] bsdata = [19:41:01.794] #21 0x000055ac37bb6739 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffd82f01a8c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffd82f01ae0) at ../src/backend/postmaster/launch_backend.c:274 [19:41:01.794] pid = [19:41:01.794] #22 0x000055ac37bbc1e5 in BackendStartup (client_sock=client_sock@entry=0x7ffd82f01ae0) at ../src/backend/postmaster/postmaster.c:3414 [19:41:01.794] bn = 0x55ac3a77fe88 [19:41:01.794] pid = [19:41:01.794] startup_data = {canAcceptConnections = CAC_OK} [19:41:01.794] __func__ = "BackendStartup" [19:41:01.794] #23 0x000055ac37bbc747 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [19:41:01.794] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\360\202\375\177\000\000t\033\360\202\375\177", '\000' , "sK\3306\254U\000\000\b7\3246\254U\000\000@\034\360\202\375\177\000\0008\034\360\202\375\177\000\000\225[\362\001\000\000\000\000\2404\243J\200\177\000\000+", '\000' , "\210J\3306\254U\000\000hV\261K\200\177\000\00006\243J\200\177\000", __ss_align = 140189002453728}, salen = 2}} [19:41:01.794] i = 0 [19:41:01.794] now = [19:41:01.794] last_lockfile_recheck_time = 1724096233 [19:41:01.794] last_touch_time = 1724096233 [19:41:01.794] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 920144755, events = 21932, fd = 1269913192, user_data = 0x7f804aa33630}, {pos = 1269912288, events = 32640, fd = 2090263927, user_data = 0x7ffd82f01cc0}, {pos = 1269742152, events = 32640, fd = 15, user_data = 0x7f804aa33630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = 1269912288, events = 32640, fd = -2098193352, user_data = 0x7ffd82f01c40}, {pos = 1269913192, events = 32640, fd = 0, user_data = 0x55ac3a74aae8}, {pos = 1244363258, events = 32640, fd = 980724456, user_data = 0x55ac00000001}, {pos = 32768, events = 0, fd = -1, user_data = 0x7f804a22e000}, {pos = 1265840032, events = 32640, fd = 980915208, user_data = 0x55ac3a7792e8}, {pos = 980914369, events = 21932, fd = 1269767870, user_data = 0x1}, {pos = 1269912288, events = 32640, fd = 439, user_data = 0x55ac384fcdb8 }, {pos = 0, events = 0, fd = 1, user_data = 0x55ac3a74aae8}, {pos = 1269767870, events = 32640, fd = 1, user_data = 0x0}, {pos = 1243799552, events = 32640, fd = 1244605888, user_data = 0x10}, {pos = -2098192208, events = 32765, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1269776810, user_data = 0x0}, {pos = 1244327188, events = 32640, fd = 0, user_data = 0x55ac38b89940 }, {pos = 2, events = 0, fd = 7, user_data = 0x55ac3a70cef0}, {pos = 935947379, events = 21932, fd = 980932688, user_data = 0x55ac37c97bf7 }, {pos = 980932779, events = 21932, fd = 8096, user_data = 0x7367702f65736162}, {pos = 1952410737, events = 28781, fd = 1, user_data = 0x0}, {pos = 1243833512, events = 32640, fd = 1244252288, user_data = 0x41e}, {pos = 1244360311, events = 32640, fd = 2, user_data = 0x7d0}, {pos = 255, events = 0, fd = 99, user_data = 0x0}, {pos = 1245650016, events = 32640, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1, user_data = 0xffffffffffffffff}, {pos = 794915937, events = 808476532, fd = 1735417650, user_data = 0x5f67702f6e757274}, {pos = 1919381621, events = 795173985, 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 = 0xa}, {pos = 939354369, events = 21932, fd = 980888288, user_data = 0x7f804a2b56db}, {pos = 1245632992, events = 32640, fd = 1244270958, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0x3491467788200c00}, {pos = 1245636064, events = 32640, fd = -328, 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 = 980914600, user_data = 0x55ac37fd71c4 }, {pos = 980914400, events = 21932, fd = 3, user_data = 0x0}, {pos = 25090, events = 0, fd = -328, user_data = 0x0}, {pos = 980724456, events = 21932, fd = 1244606419, user_data = 0x7ffd82f02168}, {pos = 939437685, events = 21932, fd = 951680784, user_data = 0x55ac37fd9932 }, {pos = 980914400, events = 21932, fd = 980724176, user_data = 0x55ac3a7790e0}, {pos = 1244354267, events = 32640, fd = 0, user_data = 0x55ac37feb59c }, {pos = 980914400, events = 1, fd = 939439845, user_data = 0x55ac3a74a9d0}, {pos = -2011165696, events = 881935991, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 1244277425, user_data = 0x7f804a2a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -2011165696, user_data = 0x55ac3a722100}, {pos = -2011165696, events = 881935991, fd = 11, user_data = 0x3491467788200c00}, {pos = 0, events = 0, fd = 1243984441, user_data = 0x1}, {pos = 935027766, events = 21932, fd = 4194304, user_data = 0x55ac37fd97c6 }, {pos = 980558080, events = 21932, fd = 980724176, user_data = 0x55ac3a722100}, {pos = 1, events = 0, fd = 0, user_data = 0x55ac37feb59c }, {pos = 980558080, events = 21932, fd = 939439845, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x55ac379ebb5b }, {pos = 0, events = 0, fd = 933170853, user_data = 0xb}, {pos = 935048915, events = 21932, fd = 948101488, user_data = 0x55ac3a74b378}} [19:41:01.794] nevents = 1 [19:41:01.794] __func__ = "ServerLoop" [19:41:01.794] #24 0x000055ac37bbdebd in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55ac3a708d60) at ../src/backend/postmaster/postmaster.c:1346 [19:41:01.794] opt = [19:41:01.794] status = [19:41:01.794] userDoption = [19:41:01.794] listen_addr_saved = false [19:41:01.794] output_config_variable = [19:41:01.794] __func__ = "PostmasterMain" [19:41:01.794] #25 0x000055ac379fbf86 in main (argc=4, argv=0x55ac3a708d60) at ../src/backend/main/main.c:197 [19:41:01.794] do_check_root = [19:41:01.830] -e [19:41:01.830] [19:41:01.830] [19:41:01.898] dumping /tmp/cores/postgres-6-26671.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [19:41:02.160] [New LWP 26671] [19:41:02.160] [19:41:02.160] This GDB supports auto-downloading debuginfo from the following URLs: [19:41:02.160] [19:41:02.160] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [19:41:02.160] Debuginfod has been disabled. [19:41:02.160] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [19:41:02.273] [Thread debugging using libthread_db enabled] [19:41:02.273] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [19:41:02.273] Core was generated by `postgres: postgres regression [local] MERGE '. [19:41:02.273] Program terminated with signal SIGABRT, Aborted. [19:41:02.273] #0 0x00007fd27f0a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [19:41:03.119] [19:41:03.119] Thread 1 (Thread 0x7fd27d01bf00 (LWP 26671)): [19:41:03.119] #0 0x00007fd27f0a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [19:41:03.119] No symbol table info available. [19:41:03.119] #1 0x00007fd27f05afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [19:41:03.119] No symbol table info available. [19:41:03.119] #2 0x00007fd27f045472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [19:41:03.119] No symbol table info available. [19:41:03.119] #3 0x000055e8057bead3 in ExceptionalCondition (conditionName=conditionName@entry=0x55e805a09e05 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55e805a2e1d8 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [19:41:03.119] No locals. [19:41:03.119] #4 0x000055e80516c66c in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffe89868c80, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffe89868b1f) at ../src/backend/executor/execTuples.c:1737 [19:41:03.119] No locals. [19:41:03.119] #5 0x000055e8050f1a03 in ExecIRDeleteTriggers (estate=estate@entry=0x55e806f86b00, relinfo=relinfo@entry=0x55e806f870b0, slot=slot@entry=0x7ffe89868c80) at ../src/backend/commands/trigger.c:2841 [19:41:03.119] trigger = 0x55e806f87310 [19:41:03.119] oldtuple = [19:41:03.119] trigdesc = 0x55e806f872c0 [19:41:03.119] newtuple = 0x0 [19:41:03.119] should_free = false [19:41:03.119] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fd2735fde78, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [19:41:03.119] i = 0 [19:41:03.119] #6 0x000055e8051c9504 in ExecMergeMatched (context=0x7ffe89868ca0, resultRelInfo=resultRelInfo@entry=0x55e806f870b0, tupleid=0x0, oldtuple=0x7ffe89868c80, canSetTag=true, matched=matched@entry=0x7ffe89868c2f) at ../src/backend/executor/nodeModifyTable.c:3040 [19:41:03.119] relaction = 0x55e807029b58 [19:41:03.119] commandType = CMD_DELETE [19:41:03.119] result = TM_Ok [19:41:03.119] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [19:41:03.119] l__state = [19:41:03.119] mtstate = 0x55e806f86ea0 [19:41:03.119] mergeActions = 0x55e806f871c0 [19:41:03.119] actionStates = 0x55e80702a118 [19:41:03.119] newslot = 0x0 [19:41:03.119] rslot = 0x0 [19:41:03.119] estate = 0x55e806f86b00 [19:41:03.119] econtext = 0x55e807029168 [19:41:03.119] isNull = false [19:41:03.119] epqstate = 0x55e806f86f88 [19:41:03.119] l = [19:41:03.119] __func__ = "ExecMergeMatched" [19:41:03.119] lmerge_matched = [19:41:03.119] #7 0x000055e8051ca0c2 in ExecMerge (context=context@entry=0x7ffe89868ca0, resultRelInfo=resultRelInfo@entry=0x55e806f870b0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffe89868c80, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2801 [19:41:03.119] rslot = 0x0 [19:41:03.119] matched = true [19:41:03.119] #8 0x000055e8051cb887 in ExecModifyTable (pstate=0x55e806f86ea0) at ../src/backend/executor/nodeModifyTable.c:4130 [19:41:03.119] node = 0x55e806f86ea0 [19:41:03.119] context = {mtstate = 0x55e806f86ea0, epqstate = 0x55e806f86f88, estate = 0x55e806f86b00, planSlot = 0x55e807027b78, tmfd = {ctid = {ip_blkid = {bi_hi = 27136, bi_lo = 1784}, ip_posid = 21992}, xmax = 92281089, cmax = 21992, traversed = false}, cpUpdateReturningSlot = 0x55e805801901 } [19:41:03.119] estate = 0x55e806f86b00 [19:41:03.119] operation = CMD_MERGE [19:41:03.119] resultRelInfo = 0x55e806f870b0 [19:41:03.119] subplanstate = 0x55e806f877e0 [19:41:03.119] slot = [19:41:03.119] oldSlot = [19:41:03.119] tuple_ctid = {ip_blkid = {bi_hi = 1795, bi_lo = 21992}, ip_posid = 0} [19:41:03.119] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55e806fe8348} [19:41:03.119] oldtuple = 0x7ffe89868c80 [19:41:03.119] tupleid = 0x0 [19:41:03.119] __func__ = "ExecModifyTable" [19:41:03.119] #9 0x000055e80515ef67 in ExecProcNodeFirst (node=0x55e806f86ea0) at ../src/backend/executor/execProcnode.c:469 [19:41:03.119] No locals. [19:41:03.119] #10 0x000055e80514a465 in ExecProcNode (node=node@entry=0x55e806f86ea0) at ../src/include/executor/executor.h:274 [19:41:03.119] No locals. [19:41:03.119] #11 0x000055e80514a61a in ExecutePlan (estate=estate@entry=0x55e806f86b00, planstate=0x55e806f86ea0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55e80700c510, execute_once=true) at ../src/backend/executor/execMain.c:1646 [19:41:03.119] slot = [19:41:03.119] current_tuple_count = 0 [19:41:03.119] #12 0x000055e80514c833 in standard_ExecutorRun (queryDesc=0x55e80701ce18, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:363 [19:41:03.119] estate = 0x55e806f86b00 [19:41:03.119] operation = CMD_MERGE [19:41:03.119] dest = 0x55e80700c510 [19:41:03.119] sendTuples = [19:41:03.119] oldcontext = 0x55e80700c200 [19:41:03.119] __func__ = "standard_ExecutorRun" [19:41:03.119] #13 0x000055e80514ca66 in ExecutorRun (queryDesc=queryDesc@entry=0x55e80701ce18, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:304 [19:41:03.119] No locals. [19:41:03.119] #14 0x000055e80553336c in ProcessQuery (plan=plan@entry=0x55e8070345f8, sourceText=0x55e806e83b40 "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=0x55e80700c510, qc=qc@entry=0x7ffe89868ed0) at ../src/backend/tcop/pquery.c:160 [19:41:03.119] queryDesc = 0x55e80701ce18 [19:41:03.119] #15 0x000055e805534fa1 in PortalRunMulti (portal=portal@entry=0x55e806f060e0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55e80700c510, altdest=0x55e805d081e0 , qc=qc@entry=0x7ffe89868ed0) at ../src/backend/tcop/pquery.c:1278 [19:41:03.119] pstmt = 0x55e8070345f8 [19:41:03.119] stmtlist_item__state = [19:41:03.119] active_snapshot_set = true [19:41:03.119] stmtlist_item = 0x55e807034720 [19:41:03.119] #16 0x000055e8055354f3 in FillPortalStore (portal=portal@entry=0x55e806f060e0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [19:41:03.119] treceiver = 0x55e80700c510 [19:41:03.119] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [19:41:03.119] __func__ = "FillPortalStore" [19:41:03.119] #17 0x000055e805535ac4 in PortalRun (portal=portal@entry=0x55e806f060e0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55e807034758, altdest=altdest@entry=0x55e807034758, qc=0x7ffe898690b0) at ../src/backend/tcop/pquery.c:763 [19:41:03.119] _save_exception_stack = 0x7ffe89869160 [19:41:03.119] _save_context_stack = 0x0 [19:41:03.119] _local_sigjmp_buf = {{__jmpbuf = {0, 2818217742931873022, 94455037190368, 94455038312272, 94455037190368, 94455038312200, 8300502520969055486, 2818222828716838142}, __mask_was_saved = 0, __saved_mask = {__val = {94455013054721, 94455036656192, 112, 4, 94455013059138, 2307297343, 4, 94455038312200, 112, 163, 94455037190368, 94455038312272, 94455038312248, 94455038312200, 94455013146341, 1}}}} [19:41:03.119] _do_rethrow = [19:41:03.119] result = [19:41:03.119] nprocessed = [19:41:03.119] saveTopTransactionResourceOwner = 0x55e806ec2d98 [19:41:03.119] saveTopTransactionContext = 0x55e806f17cf0 [19:41:03.119] saveActivePortal = 0x0 [19:41:03.119] saveResourceOwner = 0x55e806ec2d98 [19:41:03.119] savePortalContext = 0x0 [19:41:03.119] saveMemoryContext = 0x55e806f17cf0 [19:41:03.119] __func__ = "PortalRun" [19:41:03.119] #18 0x000055e80552ee71 in exec_simple_query (query_string=query_string@entry=0x55e806e83b40 "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 [19:41:03.119] cmdtaglen = 5 [19:41:03.119] snapshot_set = [19:41:03.119] per_parsetree_context = 0x0 [19:41:03.119] plantree_list = 0x55e807034708 [19:41:03.119] parsetree = 0x55e807017f08 [19:41:03.119] commandTag = [19:41:03.119] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [19:41:03.119] querytree_list = [19:41:03.119] portal = 0x55e806f060e0 [19:41:03.119] receiver = 0x55e807034758 [19:41:03.119] format = 0 [19:41:03.119] cmdtagname = [19:41:03.119] parsetree_item__state = [19:41:03.119] dest = DestRemote [19:41:03.119] oldcontext = 0x55e806f17cf0 [19:41:03.119] parsetree_list = 0x55e807017f38 [19:41:03.119] parsetree_item = 0x55e807017f50 [19:41:03.119] save_log_statement_stats = false [19:41:03.119] was_logged = false [19:41:03.119] use_implicit_block = false [19:41:03.119] msec_str = "\020\223\206\211\376\177\000\000\354F~\005\350U\000\000@\221\206\211\376\177\000\000\026\001\000\000\000\000\000" [19:41:03.119] __func__ = "exec_simple_query" [19:41:03.119] #19 0x000055e80553194a in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [19:41:03.119] query_string = 0x55e806e83b40 "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"... [19:41:03.119] firstchar = [19:41:03.119] input_message = {data = 0x55e806e83b40 "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} [19:41:03.119] local_sigjmp_buf = {{__jmpbuf = {94455025381208, 2818215865229004030, 4, 140731205718800, 140731205718944, 140731205718948, 8300502521174576382, 2818222830803504382}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94455036386880, 15616, 94455025375296, 94455036910928, 140731205718944, 94455013058686, 0, 9, 2, 94455025381216, 94455036386880, 94455025375296, 140731205718800, 140731205718944, 140731205718948}}}} [19:41:03.119] send_ready_for_query = false [19:41:03.119] idle_in_transaction_timeout_enabled = false [19:41:03.119] idle_session_timeout_enabled = false [19:41:03.119] __func__ = "PostgresMain" [19:41:03.119] #20 0x000055e805527a6c in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [19:41:03.119] bsdata = [19:41:03.119] #21 0x000055e8053e1739 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffe898692bc "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe89869310) at ../src/backend/postmaster/launch_backend.c:274 [19:41:03.119] pid = [19:41:03.119] #22 0x000055e8053e71e5 in BackendStartup (client_sock=client_sock@entry=0x7ffe89869310) at ../src/backend/postmaster/postmaster.c:3414 [19:41:03.119] bn = 0x55e806eac658 [19:41:03.119] pid = [19:41:03.119] startup_data = {canAcceptConnections = CAC_OK} [19:41:03.119] __func__ = "BackendStartup" [19:41:03.119] #23 0x000055e8053e7747 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [19:41:03.119] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "\003\177\322\177\000\000\240\017T\200\322\177\000\000\270\223\206\211\376\177\000\000\264\223\206\211\376\177", '\000' , "s\373Z\004\350U\000\000\b\347V\004\350U\000\000\200\224\206\211\376\177\000\000x\224\206\211\376\177\000\000\225[\362\001\000\000\000\000\240t\203\177\322\177\000\000+", '\000' , "\350U\000\000\210\372Z\004\350U\000", __ss_align = 140542077081192}, salen = 2}} [19:41:03.119] i = 0 [19:41:03.119] now = [19:41:03.119] last_lockfile_recheck_time = 1724096230 [19:41:03.119] last_touch_time = 1724096230 [19:41:03.119] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = 0, events = 0, fd = 15, user_data = 0x55e8045afb73}, {pos = -2137745816, events = 32722, fd = 2139321904, user_data = 0x7fd2809492e0}, {pos = 2090263927, events = 0, fd = -1987668736, user_data = 0x7fd28091fa48}, {pos = 15, events = 0, fd = 2139321904, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7fd2809492e0}, {pos = -1987668872, events = 32766, fd = -1987668864, user_data = 0x7fd280949668}, {pos = 0, events = 0, fd = 115883008, user_data = 0x55e80585003c }, {pos = 32768, events = 0, fd = 1, user_data = 0x55e806e85940}, {pos = -1, events = 0, fd = 2130894848, user_data = 0x7fd280540fa0}, {pos = 116066264, events = 21992, fd = 116065976, user_data = 0x55e806eb28d1}, {pos = -2137891138, events = 32722, fd = 1, user_data = 0x7fd2809492e0}, {pos = 439, events = 0, fd = 97680824, user_data = 0x0}, {pos = 1, events = 0, fd = 115883008, user_data = 0x7fd280925ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7fd27f02e000}, {pos = 2131701184, events = 32722, fd = 16, user_data = 0x7ffe898698e0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -2137882198, events = 32722, fd = 0, user_data = 0x7fd27f0aed14 }, {pos = 0, events = 0, fd = 104548672, user_data = 0x2}, {pos = 7, events = 0, fd = 115629792, user_data = 0x55e8054c2bf7 }, {pos = 116092267, events = 21992, fd = 88893465, user_data = 0x7367702f65736162}, {pos = 8096, events = 196607, fd = 115883008, user_data = 0x7fd280925ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7fd27f0364a8}, {pos = 2131455965, events = 32722, fd = 104599136, user_data = 0x55e806eaf4a0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = 2132745312, events = 32722, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xffff000000000000}, {pos = -1, events = 4294967295, fd = -1, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = 762540901, user_data = 0x372020200a0a4478}, {pos = 822763892, events = 808727095, fd = 858928697, user_data = 0x726765722f6e7572}, {pos = 796095333, events = 1919378802, fd = 1836330762, user_data = 0x2d69632d73757272}, {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 = 116068544, user_data = 0x7fd27f0b56db}, {pos = 2132728288, events = 32722, fd = 2131366254, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xf80676043a720100}, {pos = 2132731360, events = 32722, fd = -328, user_data = 0x0}, {pos = 116065656, events = 21992, fd = 2, user_data = 0x8000000000000006}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 116065456, events = 21992, fd = 3, user_data = 0x0}, {pos = 24435, events = 0, fd = -328, user_data = 0x0}, {pos = 115883008, events = 21992, fd = 2131701715, user_data = 0x7ffe89869998}, {pos = 92364405, events = 21992, fd = 104607504, user_data = 0x55e805804932 }, {pos = 116065456, events = 21992, fd = 115882560, user_data = 0x55e806eb04b0}, {pos = 2131449902, events = 32722, fd = 0, user_data = 0x55e80581659c }, {pos = 116065456, events = 1, fd = 92366565, user_data = 0x55e806e83a40}, {pos = 980549888, events = 4161172996, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 2131372721, user_data = 0x7fd27f0a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 980549888, user_data = 0x55e806e5b170}, {pos = 980549888, events = 4161172996, fd = 11, user_data = 0xf80676043a720100}, {pos = 0, events = 0, fd = 2131079737, user_data = 0x1}, {pos = 87954486, events = 21992, fd = 4194304, user_data = 0x55e8058047c6 }, {pos = 115716464, events = 21992, fd = 115882560, user_data = 0x55e806e5b170}, {pos = 1, events = 0, fd = 0, user_data = 0x55e80581659c }, {pos = 115716464, events = 21992, fd = 92366565, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x55e805216b5b }, {pos = 0, events = 0, fd = 86097573, user_data = 0xb}, {pos = 87975635, events = 21992, fd = 101028208, user_data = 0x55e806e84418}} [19:41:03.119] nevents = 1 [19:41:03.119] __func__ = "ServerLoop" [19:41:03.119] #24 0x000055e8053e8ebd in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x55e806e41da0) at ../src/backend/postmaster/postmaster.c:1346 [19:41:03.119] opt = [19:41:03.119] status = [19:41:03.119] userDoption = [19:41:03.119] listen_addr_saved = false [19:41:03.119] output_config_variable = [19:41:03.119] __func__ = "PostmasterMain" [19:41:03.119] #25 0x000055e805226f86 in main (argc=8, argv=0x55e806e41da0) at ../src/backend/main/main.c:197 [19:41:03.119] do_check_root = [19:41:03.157] -e [19:41:03.157] [19:41:03.157] [19:41:03.226] dumping /tmp/cores/postgres-6-33787.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [19:41:03.485] [New LWP 33787] [19:41:03.485] [19:41:03.485] This GDB supports auto-downloading debuginfo from the following URLs: [19:41:03.485] [19:41:03.485] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [19:41:03.485] Debuginfod has been disabled. [19:41:03.485] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [19:41:03.597] [Thread debugging using libthread_db enabled] [19:41:03.597] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [19:41:03.597] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [19:41:03.597] Program terminated with signal SIGABRT, Aborted. [19:41:03.597] #0 0x00007facb64a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [19:41:04.482] [19:41:04.482] Thread 1 (Thread 0x7facb6c33f00 (LWP 33787)): [19:41:04.482] #0 0x00007facb64a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [19:41:04.482] No symbol table info available. [19:41:04.482] #1 0x00007facb645afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [19:41:04.482] No symbol table info available. [19:41:04.482] #2 0x00007facb6445472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [19:41:04.482] No symbol table info available. [19:41:04.482] #3 0x00005618674ccad3 in ExceptionalCondition (conditionName=conditionName@entry=0x561867717e05 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x56186773c1d8 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [19:41:04.482] No locals. [19:41:04.482] #4 0x0000561866e7a66c in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffe7363a900, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffe7363a79f) at ../src/backend/executor/execTuples.c:1737 [19:41:04.482] No locals. [19:41:04.482] #5 0x0000561866dffa03 in ExecIRDeleteTriggers (estate=estate@entry=0x5618691ae650, relinfo=relinfo@entry=0x5618691aec00, slot=slot@entry=0x7ffe7363a900) at ../src/backend/commands/trigger.c:2841 [19:41:04.482] trigger = 0x5618691aee60 [19:41:04.482] oldtuple = [19:41:04.482] trigdesc = 0x5618691aee10 [19:41:04.482] newtuple = 0x0 [19:41:04.482] should_free = false [19:41:04.482] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7facb1f76dd8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [19:41:04.482] i = 0 [19:41:04.482] #6 0x0000561866ed7504 in ExecMergeMatched (context=0x7ffe7363a920, resultRelInfo=resultRelInfo@entry=0x5618691aec00, tupleid=0x0, oldtuple=0x7ffe7363a900, canSetTag=true, matched=matched@entry=0x7ffe7363a8af) at ../src/backend/executor/nodeModifyTable.c:3040 [19:41:04.482] relaction = 0x5618692b3e38 [19:41:04.482] commandType = CMD_DELETE [19:41:04.482] result = TM_Ok [19:41:04.482] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [19:41:04.482] l__state = [19:41:04.482] mtstate = 0x5618691ae9f0 [19:41:04.482] mergeActions = 0x5618691aed10 [19:41:04.482] actionStates = 0x5618692b43f8 [19:41:04.482] newslot = 0x0 [19:41:04.482] rslot = 0x0 [19:41:04.482] estate = 0x5618691ae650 [19:41:04.482] econtext = 0x5618692b3448 [19:41:04.482] isNull = false [19:41:04.482] epqstate = 0x5618691aead8 [19:41:04.482] l = [19:41:04.482] __func__ = "ExecMergeMatched" [19:41:04.482] lmerge_matched = [19:41:04.482] #7 0x0000561866ed80c2 in ExecMerge (context=context@entry=0x7ffe7363a920, resultRelInfo=resultRelInfo@entry=0x5618691aec00, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffe7363a900, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2801 [19:41:04.482] rslot = 0x0 [19:41:04.482] matched = true [19:41:04.482] #8 0x0000561866ed9887 in ExecModifyTable (pstate=0x5618691ae9f0) at ../src/backend/executor/nodeModifyTable.c:4130 [19:41:04.482] node = 0x5618691ae9f0 [19:41:04.482] context = {mtstate = 0x5618691ae9f0, epqstate = 0x5618691aead8, estate = 0x5618691ae650, planSlot = 0x5618692b1e58, tmfd = {ctid = {ip_blkid = {bi_hi = 15528, bi_lo = 26923}, ip_posid = 22040}, xmax = 1764020008, cmax = 22040, traversed = 5}, cpUpdateReturningSlot = 0x56186924cf28} [19:41:04.482] estate = 0x5618691ae650 [19:41:04.482] operation = CMD_MERGE [19:41:04.482] resultRelInfo = 0x5618691aec00 [19:41:04.482] subplanstate = 0x5618691af330 [19:41:04.482] slot = [19:41:04.482] oldSlot = [19:41:04.482] tuple_ctid = {ip_blkid = {bi_hi = 26923, bi_lo = 22040}, ip_posid = 0} [19:41:04.482] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x5618692127a8} [19:41:04.482] oldtuple = 0x7ffe7363a900 [19:41:04.482] tupleid = 0x0 [19:41:04.482] __func__ = "ExecModifyTable" [19:41:04.482] #9 0x0000561866e6cf67 in ExecProcNodeFirst (node=0x5618691ae9f0) at ../src/backend/executor/execProcnode.c:469 [19:41:04.482] No locals. [19:41:04.482] #10 0x0000561866e58465 in ExecProcNode (node=node@entry=0x5618691ae9f0) at ../src/include/executor/executor.h:274 [19:41:04.482] No locals. [19:41:04.482] #11 0x0000561866e5861a in ExecutePlan (estate=estate@entry=0x5618691ae650, planstate=0x5618691ae9f0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x561869239430, execute_once=true) at ../src/backend/executor/execMain.c:1646 [19:41:04.482] slot = [19:41:04.482] current_tuple_count = 0 [19:41:04.482] #12 0x0000561866e5a833 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x56186923d9f8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:363 [19:41:04.482] estate = 0x5618691ae650 [19:41:04.482] operation = CMD_MERGE [19:41:04.482] dest = 0x561869239430 [19:41:04.482] sendTuples = [19:41:04.482] oldcontext = 0x561869239120 [19:41:04.482] __func__ = "standard_ExecutorRun" [19:41:04.482] #13 0x00007facb3bd5813 in pgss_ExecutorRun (queryDesc=0x56186923d9f8, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1031 [19:41:04.482] _save_exception_stack = 0x7ffe7363ad00 [19:41:04.482] _save_context_stack = 0x0 [19:41:04.482] _local_sigjmp_buf = {{__jmpbuf = {94662843161080, 4265279512825400279, 94662841527024, 94662843143216, 0, 0, 4265279512869440471, 4293285746023828439}, __mask_was_saved = 0, __saved_mask = {__val = {2147483647, 94662843143216, 0, 0, 94662812655333, 0, 1, 0, 94662805707503, 94662843161080, 94662824890208, 94662843142432, 140379726637004, 94662843161080, 0, 94662841527024}}}} [19:41:04.482] _do_rethrow = false [19:41:04.482] #14 0x0000561866e5aa59 in ExecutorRun (queryDesc=queryDesc@entry=0x56186923d9f8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:302 [19:41:04.482] No locals. [19:41:04.482] #15 0x000056186724136c in ProcessQuery (plan=plan@entry=0x561869250120, sourceText=0x5618690aeaf0 "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=0x561869239430, qc=qc@entry=0x7ffe7363ac60) at ../src/backend/tcop/pquery.c:160 [19:41:04.482] queryDesc = 0x56186923d9f8 [19:41:04.482] #16 0x0000561867242fa1 in PortalRunMulti (portal=portal@entry=0x561869130030, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x561869239430, altdest=0x561867a161e0 , qc=qc@entry=0x7ffe7363ac60) at ../src/backend/tcop/pquery.c:1278 [19:41:04.482] pstmt = 0x561869250120 [19:41:04.482] stmtlist_item__state = [19:41:04.482] active_snapshot_set = true [19:41:04.482] stmtlist_item = 0x561869250248 [19:41:04.482] #17 0x00005618672434f3 in FillPortalStore (portal=portal@entry=0x561869130030, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [19:41:04.482] treceiver = 0x561869239430 [19:41:04.482] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [19:41:04.482] __func__ = "FillPortalStore" [19:41:04.482] #18 0x0000561867243ac4 in PortalRun (portal=portal@entry=0x561869130030, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x561869250280, altdest=altdest@entry=0x561869250280, qc=0x7ffe7363ae40) at ../src/backend/tcop/pquery.c:763 [19:41:04.482] _save_exception_stack = 0x7ffe7363aef0 [19:41:04.482] _save_context_stack = 0x0 [19:41:04.482] _local_sigjmp_buf = {{__jmpbuf = {0, 7565314631228820439, 94662842056752, 94662842793216, 94662842056752, 94662842793144, 4265279512802331607, 7565336614398692311}, __mask_was_saved = 0, __saved_mask = {__val = {94662812563713, 94662841526768, 112, 4, 94662812568130, 1935912399, 4, 94662842793144, 112, 163, 94662842056752, 94662842793216, 94662842793192, 94662842793144, 94662812655333, 1}}}} [19:41:04.482] _do_rethrow = [19:41:04.482] result = [19:41:04.482] nprocessed = [19:41:04.482] saveTopTransactionResourceOwner = 0x5618690ef4f0 [19:41:04.482] saveTopTransactionContext = 0x561869142460 [19:41:04.482] saveActivePortal = 0x0 [19:41:04.482] saveResourceOwner = 0x5618690ef4f0 [19:41:04.482] savePortalContext = 0x0 [19:41:04.482] saveMemoryContext = 0x561869142460 [19:41:04.482] __func__ = "PortalRun" [19:41:04.482] #19 0x000056186723ce71 in exec_simple_query (query_string=query_string@entry=0x5618690aeaf0 "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 [19:41:04.482] cmdtaglen = 5 [19:41:04.482] snapshot_set = [19:41:04.482] per_parsetree_context = 0x0 [19:41:04.482] plantree_list = 0x561869250230 [19:41:04.482] parsetree = 0x5618691e3cb8 [19:41:04.482] commandTag = [19:41:04.482] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [19:41:04.482] querytree_list = [19:41:04.482] portal = 0x561869130030 [19:41:04.482] receiver = 0x561869250280 [19:41:04.482] format = 0 [19:41:04.482] cmdtagname = [19:41:04.482] parsetree_item__state = [19:41:04.482] dest = DestRemote [19:41:04.482] oldcontext = 0x561869142460 [19:41:04.482] parsetree_list = 0x5618691e3ce8 [19:41:04.482] parsetree_item = 0x5618691e3d00 [19:41:04.482] save_log_statement_stats = false [19:41:04.482] was_logged = true [19:41:04.482] use_implicit_block = false [19:41:04.482] msec_str = "\240\260cs\376\177\000\000\354&Og\030V\000\000Юcs\376\177\000\000\026\001\000\000\000\000\000" [19:41:04.482] __func__ = "exec_simple_query" [19:41:04.482] #20 0x000056186723f94a in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [19:41:04.482] query_string = 0x5618690aeaf0 "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"... [19:41:04.482] firstchar = [19:41:04.482] input_message = {data = 0x5618690aeaf0 "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} [19:41:04.482] local_sigjmp_buf = {{__jmpbuf = {94662824890200, 7565317036599249879, 4, 140730834333856, 140730834334000, 140730834334004, 4265279512731028439, 7565336672575785943}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 6016, 10, 94662841776608, 0, 168, 94662812568232, 0, 10, 2, 94662824890208, 94662841257616, 94662824884288, 140730834333856, 140730834334000, 140730834334004}}}} [19:41:04.482] send_ready_for_query = false [19:41:04.482] idle_in_transaction_timeout_enabled = false [19:41:04.482] idle_session_timeout_enabled = false [19:41:04.482] __func__ = "PostgresMain" [19:41:04.482] #21 0x0000561867235a6c in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [19:41:04.482] bsdata = [19:41:04.482] #22 0x00005618670ef739 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffe7363b04c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe7363b0a0) at ../src/backend/postmaster/launch_backend.c:274 [19:41:04.482] pid = [19:41:04.482] #23 0x00005618670f51e5 in BackendStartup (client_sock=client_sock@entry=0x7ffe7363b0a0) at ../src/backend/postmaster/postmaster.c:3414 [19:41:04.482] bn = 0x5618690db5b8 [19:41:04.482] pid = [19:41:04.482] startup_data = {canAcceptConnections = CAC_OK} [19:41:04.482] __func__ = "BackendStartup" [19:41:04.482] #24 0x00005618670f5747 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [19:41:04.482] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "cs\376\177\000\0004\261cs\376\177", '\000' , "s\333+f\030V\000\000\b\307'f\030V\000\000\000\262cs\376\177\000\000\370\261cs\376\177\000\000\225[\362\001\000\000\000\000\020\213\ri\030V\000\000,", '\000' , "\210\332+f\030V\000\000h\346\336\267\254\177\000\0000֒\267\254\177\000", __ss_align = 140379795940064}, salen = 2}} [19:41:04.482] i = 0 [19:41:04.482] now = [19:41:04.482] last_lockfile_recheck_time = 1724096263 [19:41:04.482] last_touch_time = 1724096263 [19:41:04.482] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 1714150259, events = 22040, fd = -1210128792, user_data = 0x7facb792d630}, {pos = -1210129696, events = 32684, fd = 2090263927, user_data = 0x7ffe7363b280}, {pos = -1210299832, events = 32684, fd = 15, user_data = 0x7facb792d630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = -1210129696, events = 32684, fd = 1935913464, user_data = 0x7ffe7363b200}, {pos = -1210128792, events = 32684, fd = 0, user_data = 0x5618690b0930}, {pos = -1236567558, events = 32684, fd = 1762330928, user_data = 0x561800000001}, {pos = 32768, events = 0, fd = -1, user_data = 0x7facb642e000}, {pos = -1215049824, events = 32684, fd = 1762501544, user_data = 0x5618690da288}, {pos = 1762519345, events = 22040, fd = -1210274114, user_data = 0x1}, {pos = -1210129696, events = 32684, fd = 439, user_data = 0x561867a35db8 }, {pos = 0, events = 0, fd = 1, user_data = 0x5618690b0930}, {pos = -1210274114, events = 32684, fd = 1, user_data = 0x0}, {pos = -1237131264, events = 32684, fd = -1236324928, user_data = 0x10}, {pos = 1935914608, events = 32766, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1210265174, user_data = 0x0}, {pos = -1236603628, events = 32684, fd = 0, user_data = 0x5618680c2940 }, {pos = 2, events = 0, fd = 7, user_data = 0x561869070f30}, {pos = 1729952883, events = 22040, fd = 1762539936, user_data = 0x5618671d0bf7 }, {pos = 1762540027, events = 22040, fd = 8096, user_data = 0x7367702f65736162}, {pos = 1952410737, events = 28781, fd = 1, user_data = 0x0}, {pos = -1237097304, events = 32684, fd = -1236678528, user_data = 0x41e}, {pos = -1236570147, events = 32684, fd = 2, user_data = 0x5618690e39a0}, {pos = 255, events = 0, fd = 0, user_data = 0x0}, {pos = -1235280800, events = 32684, fd = 255, user_data = 0xfffffffffffffef0}, {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 = 0xa59}, {pos = 0, events = 0, fd = -65536, user_data = 0xffffffffffffffff}, {pos = 811562031, events = 1935619890, fd = 1634038388, user_data = 0x797265766f636572}, {pos = 926036015, events = 1920234335, fd = -1215109824, user_data = 0x7facb792ea80}, {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 = 0xa}, {pos = 1733359873, events = 22040, fd = 1762515248, user_data = 0x7facb64b582e}, {pos = -1235297824, events = 32684, fd = -1236659858, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xa9bfc33dbf8a4300}, {pos = -1235294752, events = 32684, fd = -328, 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 = 1762500936, user_data = 0x5618675101c4 }, {pos = 1762500736, events = 22040, fd = 3, user_data = 0x0}, {pos = 31627, events = 0, fd = -328, user_data = 0x0}, {pos = 1762330928, events = 22040, fd = -1236324397, user_data = 0x7ffe7363b728}, {pos = 1733443189, events = 22040, fd = 1745686288, user_data = 0x561867512932 }, {pos = 1762500736, events = 22040, fd = 1762322928, user_data = 0x5618690da080}, {pos = -1236576210, events = 32684, fd = 0, user_data = 0x56186752459c }, {pos = 1762500736, events = 1, fd = 1733445349, user_data = 0x5618690ae9f0}, {pos = -1081457920, events = 2847916861, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -1236653391, user_data = 0x7facb64a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1081457920, user_data = 0x561869086120}, {pos = -1081457920, events = 2847916861, fd = 11, user_data = 0xa9bfc33dbf8a4300}, {pos = 0, events = 0, fd = -1236946375, user_data = 0x1}, {pos = 1729033270, events = 22040, fd = 4194304, user_data = 0x5618675127c6 }, {pos = 1762156832, events = 22040, fd = 1762322928, user_data = 0x561869086120}, {pos = 1, events = 0, fd = 0, user_data = 0x56186752459c }, {pos = 1762156832, events = 22040, fd = 1733445349, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x561866f24b5b }, {pos = 0, events = 0, fd = 1727176357, user_data = 0xb}, {pos = 1729054419, events = 22040, fd = 1742106992, user_data = 0x5618690af3a8}} [19:41:04.482] nevents = 1 [19:41:04.482] __func__ = "ServerLoop" [19:41:04.482] #25 0x00005618670f6ebd in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x56186906cd90) at ../src/backend/postmaster/postmaster.c:1346 [19:41:04.482] opt = [19:41:04.482] status = [19:41:04.482] userDoption = [19:41:04.482] listen_addr_saved = false [19:41:04.482] output_config_variable = [19:41:04.482] __func__ = "PostmasterMain" [19:41:04.482] #26 0x0000561866f34f86 in main (argc=4, argv=0x56186906cd90) at ../src/backend/main/main.c:197 [19:41:04.482] do_check_root =