[10:22:41.621] src/tools/ci/cores_backtrace.sh linux /tmp/cores [10:22:41.820] dumping /tmp/cores/postgres-6-18935.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [10:22:42.062] [New LWP 18935] [10:22:42.062] [10:22:42.062] This GDB supports auto-downloading debuginfo from the following URLs: [10:22:42.062] [10:22:42.062] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [10:22:42.062] Debuginfod has been disabled. [10:22:42.062] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [10:22:42.184] [Thread debugging using libthread_db enabled] [10:22:42.184] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [10:22:42.184] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [10:22:42.184] Program terminated with signal SIGABRT, Aborted. [10:22:42.184] #0 0x00007f238d8a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [10:22:43.040] [10:22:43.040] Thread 1 (Thread 0x7f238e683f00 (LWP 18935)): [10:22:43.040] #0 0x00007f238d8a9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [10:22:43.040] No symbol table info available. [10:22:43.040] #1 0x00007f238d85afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [10:22:43.040] No symbol table info available. [10:22:43.040] #2 0x00007f238d845472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [10:22:43.040] No symbol table info available. [10:22:43.040] #3 0x00005583e2e11bac in ExceptionalCondition (conditionName=conditionName@entry=0x5583e305fe45 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x5583e3084338 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [10:22:43.040] No locals. [10:22:43.040] #4 0x00005583e27bd593 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7fffb6717b50, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7fffb67179ef) at ../src/backend/executor/execTuples.c:1737 [10:22:43.040] No locals. [10:22:43.040] #5 0x00005583e274168d in ExecIRDeleteTriggers (estate=estate@entry=0x5583e460c500, relinfo=relinfo@entry=0x5583e460cab0, slot=slot@entry=0x7fffb6717b50) at ../src/backend/commands/trigger.c:2841 [10:22:43.040] trigger = 0x5583e460cd10 [10:22:43.040] oldtuple = [10:22:43.040] trigdesc = 0x5583e460ccc0 [10:22:43.040] newtuple = 0x0 [10:22:43.040] should_free = false [10:22:43.040] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f238223c5d8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [10:22:43.040] i = 0 [10:22:43.040] #6 0x00005583e281a490 in ExecMergeMatched (context=0x7fffb6717b70, resultRelInfo=resultRelInfo@entry=0x5583e460cab0, tupleid=0x0, oldtuple=0x7fffb6717b50, canSetTag=true, matched=matched@entry=0x7fffb6717aff) at ../src/backend/executor/nodeModifyTable.c:3043 [10:22:43.040] relaction = 0x5583e4710480 [10:22:43.040] commandType = CMD_DELETE [10:22:43.040] result = TM_Ok [10:22:43.040] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [10:22:43.040] l__state = [10:22:43.040] mtstate = 0x5583e460c8a0 [10:22:43.040] mergeActions = 0x5583e460cbc0 [10:22:43.040] actionStates = 0x5583e4710a40 [10:22:43.040] newslot = 0x0 [10:22:43.040] rslot = 0x0 [10:22:43.040] estate = 0x5583e460c500 [10:22:43.040] econtext = 0x5583e470fa90 [10:22:43.040] isNull = false [10:22:43.040] epqstate = 0x5583e460c988 [10:22:43.040] l = [10:22:43.040] __func__ = "ExecMergeMatched" [10:22:43.040] lmerge_matched = [10:22:43.040] #7 0x00005583e281b04e in ExecMerge (context=context@entry=0x7fffb6717b70, resultRelInfo=resultRelInfo@entry=0x5583e460cab0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7fffb6717b50, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [10:22:43.040] rslot = 0x0 [10:22:43.040] matched = true [10:22:43.040] #8 0x00005583e281c813 in ExecModifyTable (pstate=0x5583e460c8a0) at ../src/backend/executor/nodeModifyTable.c:4133 [10:22:43.040] node = 0x5583e460c8a0 [10:22:43.040] context = {mtstate = 0x5583e460c8a0, epqstate = 0x5583e460c988, estate = 0x5583e460c500, planSlot = 0x5583e470de78, tmfd = {ctid = {ip_blkid = {bi_hi = 50176, bi_lo = 58464}, ip_posid = 21891}, xmax = 3806677677, cmax = 21891, traversed = false}, cpUpdateReturningSlot = 0x5583e2e54aad } [10:22:43.040] estate = 0x5583e460c500 [10:22:43.040] operation = CMD_MERGE [10:22:43.040] resultRelInfo = 0x5583e460cab0 [10:22:43.040] subplanstate = 0x5583e460d1e0 [10:22:43.040] slot = [10:22:43.040] oldSlot = [10:22:43.040] tuple_ctid = {ip_blkid = {bi_hi = 58474, bi_lo = 21891}, ip_posid = 0} [10:22:43.040] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x5583e466f148} [10:22:43.040] oldtuple = 0x7fffb6717b50 [10:22:43.040] tupleid = 0x0 [10:22:43.040] __func__ = "ExecModifyTable" [10:22:43.040] #9 0x00005583e27afadf in ExecProcNodeFirst (node=0x5583e460c8a0) at ../src/backend/executor/execProcnode.c:469 [10:22:43.040] No locals. [10:22:43.040] #10 0x00005583e279afdd in ExecProcNode (node=node@entry=0x5583e460c8a0) at ../src/include/executor/executor.h:278 [10:22:43.040] No locals. [10:22:43.040] #11 0x00005583e279b192 in ExecutePlan (estate=estate@entry=0x5583e460c500, planstate=0x5583e460c8a0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x5583e45d3ef0, execute_once=true) at ../src/backend/executor/execMain.c:1641 [10:22:43.040] slot = [10:22:43.040] current_tuple_count = 0 [10:22:43.040] #12 0x00005583e279cf0a in standard_ExecutorRun (queryDesc=0x5583e468dd18, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [10:22:43.040] estate = 0x5583e460c500 [10:22:43.040] operation = CMD_MERGE [10:22:43.040] dest = 0x5583e45d3ef0 [10:22:43.040] sendTuples = [10:22:43.040] oldcontext = 0x5583e45d3be0 [10:22:43.040] __func__ = "standard_ExecutorRun" [10:22:43.040] #13 0x00005583e279d13d in ExecutorRun (queryDesc=queryDesc@entry=0x5583e468dd18, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [10:22:43.040] No locals. [10:22:43.040] #14 0x00005583e2b8640e in ProcessQuery (plan=plan@entry=0x5583e46a3e78, sourceText=0x5583e4509ad0 "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=0x5583e45d3ef0, qc=qc@entry=0x7fffb6717da0) at ../src/backend/tcop/pquery.c:160 [10:22:43.040] queryDesc = 0x5583e468dd18 [10:22:43.040] #15 0x00005583e2b88043 in PortalRunMulti (portal=portal@entry=0x5583e458c720, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x5583e45d3ef0, altdest=0x5583e335e1e0 , qc=qc@entry=0x7fffb6717da0) at ../src/backend/tcop/pquery.c:1278 [10:22:43.040] pstmt = 0x5583e46a3e78 [10:22:43.040] stmtlist_item__state = [10:22:43.040] active_snapshot_set = true [10:22:43.040] stmtlist_item = 0x5583e46a3fa0 [10:22:43.040] #16 0x00005583e2b88595 in FillPortalStore (portal=portal@entry=0x5583e458c720, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [10:22:43.040] treceiver = 0x5583e45d3ef0 [10:22:43.040] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [10:22:43.040] __func__ = "FillPortalStore" [10:22:43.040] #17 0x00005583e2b88b66 in PortalRun (portal=portal@entry=0x5583e458c720, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x5583e46a3fd8, altdest=altdest@entry=0x5583e46a3fd8, qc=0x7fffb6717f80) at ../src/backend/tcop/pquery.c:763 [10:22:43.040] _save_exception_stack = 0x7fffb6718030 [10:22:43.040] _save_context_stack = 0x0 [10:22:43.040] _local_sigjmp_buf = {{__jmpbuf = {0, -3635838887583129452, 94024960100128, 94024961709616, 94024960100128, 94024961709544, -7389769284368572268, -3635835987123085164}, __mask_was_saved = 0, __saved_mask = {__val = {94024935754413, 94024959564240, 112, 4, 94024935758830, 3060891407, 4, 94024961709544, 112, 163, 94024960100128, 94024961709616, 94024961709592, 94024961709544, 94024935846033, 1}}}} [10:22:43.040] _do_rethrow = [10:22:43.040] result = [10:22:43.040] nprocessed = [10:22:43.040] saveTopTransactionResourceOwner = 0x5583e45498d8 [10:22:43.040] saveTopTransactionContext = 0x5583e459d700 [10:22:43.040] saveActivePortal = 0x0 [10:22:43.040] saveResourceOwner = 0x5583e45498d8 [10:22:43.040] savePortalContext = 0x0 [10:22:43.040] saveMemoryContext = 0x5583e459d700 [10:22:43.040] __func__ = "PortalRun" [10:22:43.040] #18 0x00005583e2b81f13 in exec_simple_query (query_string=query_string@entry=0x5583e4509ad0 "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 [10:22:43.040] cmdtaglen = 5 [10:22:43.040] snapshot_set = [10:22:43.040] per_parsetree_context = 0x0 [10:22:43.040] plantree_list = 0x5583e46a3f88 [10:22:43.040] parsetree = 0x5583e47155e8 [10:22:43.040] commandTag = [10:22:43.040] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [10:22:43.040] querytree_list = [10:22:43.040] portal = 0x5583e458c720 [10:22:43.040] receiver = 0x5583e46a3fd8 [10:22:43.040] format = 0 [10:22:43.040] cmdtagname = [10:22:43.040] parsetree_item__state = [10:22:43.040] dest = DestRemote [10:22:43.040] oldcontext = 0x5583e459d700 [10:22:43.040] parsetree_list = 0x5583e4715618 [10:22:43.040] parsetree_item = 0x5583e4715630 [10:22:43.040] save_log_statement_stats = false [10:22:43.040] was_logged = true [10:22:43.040] use_implicit_block = false [10:22:43.040] msec_str = "\340\201q\266\377\177\000\000\263x\343\342\203U\000\000\020\200q\266\377\177\000\000\026\001\000\000\000\000\000" [10:22:43.040] __func__ = "exec_simple_query" [10:22:43.040] #19 0x00005583e2b849ec in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [10:22:43.040] query_string = 0x5583e4509ad0 "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"... [10:22:43.040] firstchar = [10:22:43.040] input_message = {data = 0x5583e4509ad0 "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} [10:22:43.040] local_sigjmp_buf = {{__jmpbuf = {94024948104568, -3635838264868446060, 4, 140736254280160, 140736254280304, 140736254280308, -7389769284297269100, -3635835984923172716}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94024959295056, 14336, 94024948098656, 94024959821968, 140736254280304, 94024935758378, 0, 9, 2, 94024948104576, 94024959295056, 94024948098656, 140736254280160, 140736254280304, 140736254280308}}}} [10:22:43.040] send_ready_for_query = false [10:22:43.040] idle_in_transaction_timeout_enabled = false [10:22:43.040] idle_session_timeout_enabled = false [10:22:43.040] __func__ = "PostgresMain" [10:22:43.040] #20 0x00005583e2b7ab0e in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [10:22:43.040] bsdata = [10:22:43.040] #21 0x00005583e2a3330c in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7fffb671818c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7fffb67181e0) at ../src/backend/postmaster/launch_backend.c:274 [10:22:43.040] pid = [10:22:43.040] #22 0x00005583e2a38db8 in BackendStartup (client_sock=client_sock@entry=0x7fffb67181e0) at ../src/backend/postmaster/postmaster.c:3414 [10:22:43.040] bn = 0x5583e453e898 [10:22:43.040] pid = [10:22:43.040] startup_data = {canAcceptConnections = CAC_OK} [10:22:43.040] __func__ = "BackendStartup" [10:22:43.040] #23 0x00005583e2a3931a in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [10:22:43.040] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "q\266\377\177\000\000t\202q\266\377\177", '\000' , "\373˿\341\203U\000\000\030\267\273\341\203U\000\000@\203q\266\377\177\000\0008\203q\266\377\177\000\000\225[\362\001\000\000\000\000\240\244h\216#\177\000\000+", '\000' , "\020˿\341\203U\000\000hf)\217#\177\000\0000\246h\216#\177\000", __ss_align = 139790702437088}, salen = 2}} [10:22:43.040] i = 0 [10:22:43.040] now = [10:22:43.040] last_lockfile_recheck_time = 1724408341 [10:22:43.040] last_touch_time = 1724408341 [10:22:43.040] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = -507524101, events = 21891, fd = -1893112216, user_data = 0x7f238e68a630}, {pos = -1893113120, events = 32547, fd = 2090263927, user_data = 0x7fffb67183c0}, {pos = -1893283256, events = 32547, fd = 15, user_data = 0x7f238e68a630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = -1893113120, events = 32547, fd = -1234074824, user_data = 0x7fffb6718340}, {pos = -1893112216, events = 32547, fd = 0, user_data = 0x5583e4509ae8}, {pos = -1920239110, events = 32547, fd = -464479512, user_data = 0x558300000001}, {pos = 32768, events = 0, fd = -1, user_data = 0x7f238d82e000}, {pos = -1898033248, events = 32547, fd = -464288760, user_data = 0x5583e45382e8}, {pos = -464289599, events = 21891, fd = -1893257538, user_data = 0x1}, {pos = -1893113120, events = 32547, fd = 439, user_data = 0x5583e337ddb8 }, {pos = 0, events = 0, fd = 1, user_data = 0x5583e4509ae8}, {pos = -1893257538, events = 32547, fd = 1, user_data = 0x0}, {pos = -1920802816, events = 32547, fd = -1919996480, user_data = 0x10}, {pos = -1234073680, events = 32767, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1893248598, user_data = 0x0}, {pos = -1920275180, events = 32547, fd = 0, user_data = 0x5583e3a0d740 }, {pos = 2, events = 0, fd = 7, user_data = 0x5583e44cbef0}, {pos = -491696875, events = 21891, fd = -464271280, user_data = 0x5583e2b15c99 }, {pos = -464271189, events = 21891, fd = 8096, user_data = 0x7367702f65736162}, {pos = 1952410737, events = 28781, fd = 1, user_data = 0x0}, {pos = -1920768856, events = 32547, fd = -1920350080, user_data = 0x41e}, {pos = -1920242057, events = 32547, fd = 2, user_data = 0x7d0}, {pos = 255, events = 0, fd = 99, user_data = 0x0}, {pos = -1918952352, events = 32547, 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 = -488289619, events = 21891, fd = -464315680, user_data = 0x7f238d8b56db}, {pos = -1918969376, events = 32547, fd = -1920331410, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xb94e3c349a675500}, {pos = -1918966304, events = 32547, 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 = -464289368, user_data = 0x5583e2e55370 }, {pos = -464289568, events = 21891, fd = 3, user_data = 0x0}, {pos = 16814, events = 0, fd = -328, user_data = 0x0}, {pos = -464479512, events = 21891, fd = -1919995949, user_data = 0x7fffb6718868}, {pos = -488206303, events = 21891, fd = -475939536, user_data = 0x5583e2e57ade }, {pos = -464289568, events = 21891, fd = -464479792, user_data = 0x5583e45380e0}, {pos = -1920248101, events = 32547, fd = 0, user_data = 0x5583e2e69748 }, {pos = -464289568, events = 1, fd = -488204143, user_data = 0x5583e45099d0}, {pos = -1704504064, events = 3108912180, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -1920324943, user_data = 0x7f238d8a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1704504064, user_data = 0x5583e44e1100}, {pos = -1704504064, events = 3108912180, fd = 11, user_data = 0xb94e3c349a675500}, {pos = 0, events = 0, fd = -1920617927, user_data = 0x1}, {pos = -492621815, events = 21891, fd = 4194304, user_data = 0x5583e2e57972 }, {pos = -464645888, events = 21891, fd = -464479792, user_data = 0x5583e44e1100}, {pos = 1, events = 0, fd = 0, user_data = 0x5583e2e69748 }, {pos = -464645888, events = 21891, fd = -488204143, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x5583e2867af7 }, {pos = 0, events = 0, fd = -494481855, user_data = 0xb}, {pos = -492600666, events = 21891, fd = -479527760, user_data = 0x5583e450a378}} [10:22:43.040] nevents = 1 [10:22:43.040] __func__ = "ServerLoop" [10:22:43.040] #24 0x00005583e2a3aa90 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x5583e44c7d60) at ../src/backend/postmaster/postmaster.c:1346 [10:22:43.040] opt = [10:22:43.040] status = [10:22:43.040] userDoption = [10:22:43.040] listen_addr_saved = false [10:22:43.040] output_config_variable = [10:22:43.040] __func__ = "PostmasterMain" [10:22:43.040] #25 0x00005583e2877f22 in main (argc=4, argv=0x5583e44c7d60) at ../src/backend/main/main.c:197 [10:22:43.040] do_check_root = [10:22:43.074] -e [10:22:43.074] [10:22:43.074] [10:22:43.136] dumping /tmp/cores/postgres-6-18602.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [10:22:43.370] [New LWP 18602] [10:22:43.370] [10:22:43.370] This GDB supports auto-downloading debuginfo from the following URLs: [10:22:43.370] [10:22:43.370] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [10:22:43.370] Debuginfod has been disabled. [10:22:43.370] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [10:22:43.470] [Thread debugging using libthread_db enabled] [10:22:43.470] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [10:22:43.470] Core was generated by `postgres: postgres regression [local] MERGE '. [10:22:43.470] Program terminated with signal SIGABRT, Aborted. [10:22:43.470] #0 0x00007fba22aa9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [10:22:44.286] [10:22:44.286] Thread 1 (Thread 0x7fba229d2f00 (LWP 18602)): [10:22:44.286] #0 0x00007fba22aa9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [10:22:44.286] No symbol table info available. [10:22:44.286] #1 0x00007fba22a5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [10:22:44.286] No symbol table info available. [10:22:44.286] #2 0x00007fba22a45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [10:22:44.286] No symbol table info available. [10:22:44.286] #3 0x0000559a8b6c6bac in ExceptionalCondition (conditionName=conditionName@entry=0x559a8b914e45 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x559a8b939338 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [10:22:44.286] No locals. [10:22:44.286] #4 0x0000559a8b072593 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffe75c76d70, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffe75c76c0f) at ../src/backend/executor/execTuples.c:1737 [10:22:44.286] No locals. [10:22:44.286] #5 0x0000559a8aff668d in ExecIRDeleteTriggers (estate=estate@entry=0x559a8d366320, relinfo=relinfo@entry=0x559a8d3668d0, slot=slot@entry=0x7ffe75c76d70) at ../src/backend/commands/trigger.c:2841 [10:22:44.286] trigger = 0x559a8d366b30 [10:22:44.286] oldtuple = [10:22:44.286] trigdesc = 0x559a8d366ae0 [10:22:44.286] newtuple = 0x0 [10:22:44.286] should_free = false [10:22:44.286] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fba170e3f10, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [10:22:44.286] i = 0 [10:22:44.286] #6 0x0000559a8b0cf490 in ExecMergeMatched (context=0x7ffe75c76d90, resultRelInfo=resultRelInfo@entry=0x559a8d3668d0, tupleid=0x0, oldtuple=0x7ffe75c76d70, canSetTag=true, matched=matched@entry=0x7ffe75c76d1f) at ../src/backend/executor/nodeModifyTable.c:3043 [10:22:44.286] relaction = 0x559a8d46a2a0 [10:22:44.286] commandType = CMD_DELETE [10:22:44.286] result = TM_Ok [10:22:44.286] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [10:22:44.286] l__state = [10:22:44.286] mtstate = 0x559a8d3666c0 [10:22:44.286] mergeActions = 0x559a8d3669e0 [10:22:44.286] actionStates = 0x559a8d46a860 [10:22:44.286] newslot = 0x0 [10:22:44.286] rslot = 0x0 [10:22:44.286] estate = 0x559a8d366320 [10:22:44.286] econtext = 0x559a8d4698b0 [10:22:44.286] isNull = false [10:22:44.286] epqstate = 0x559a8d3667a8 [10:22:44.286] l = [10:22:44.286] __func__ = "ExecMergeMatched" [10:22:44.286] lmerge_matched = [10:22:44.286] #7 0x0000559a8b0d004e in ExecMerge (context=context@entry=0x7ffe75c76d90, resultRelInfo=resultRelInfo@entry=0x559a8d3668d0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffe75c76d70, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [10:22:44.286] rslot = 0x0 [10:22:44.286] matched = true [10:22:44.286] #8 0x0000559a8b0d1813 in ExecModifyTable (pstate=0x559a8d3666c0) at ../src/backend/executor/nodeModifyTable.c:4133 [10:22:44.286] node = 0x559a8d3666c0 [10:22:44.286] context = {mtstate = 0x559a8d3666c0, epqstate = 0x559a8d3667a8, estate = 0x559a8d366320, planSlot = 0x559a8d467c98, tmfd = {ctid = {ip_blkid = {bi_hi = 25120, bi_lo = 36150}, ip_posid = 21914}, xmax = 2339412653, cmax = 21914, traversed = 32}, cpUpdateReturningSlot = 0x559a8b709aad } [10:22:44.286] estate = 0x559a8d366320 [10:22:44.286] operation = CMD_MERGE [10:22:44.286] resultRelInfo = 0x559a8d3668d0 [10:22:44.286] subplanstate = 0x559a8d367000 [10:22:44.286] slot = [10:22:44.286] oldSlot = [10:22:44.286] tuple_ctid = {ip_blkid = {bi_hi = 36159, bi_lo = 21914}, ip_posid = 0} [10:22:44.286] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x559a8d3c8f68} [10:22:44.286] oldtuple = 0x7ffe75c76d70 [10:22:44.286] tupleid = 0x0 [10:22:44.286] __func__ = "ExecModifyTable" [10:22:44.286] #9 0x0000559a8b064adf in ExecProcNodeFirst (node=0x559a8d3666c0) at ../src/backend/executor/execProcnode.c:469 [10:22:44.286] No locals. [10:22:44.286] #10 0x0000559a8b04ffdd in ExecProcNode (node=node@entry=0x559a8d3666c0) at ../src/include/executor/executor.h:278 [10:22:44.286] No locals. [10:22:44.286] #11 0x0000559a8b050192 in ExecutePlan (estate=estate@entry=0x559a8d366320, planstate=0x559a8d3666c0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x559a8d3eb0d0, execute_once=true) at ../src/backend/executor/execMain.c:1641 [10:22:44.286] slot = [10:22:44.286] current_tuple_count = 0 [10:22:44.286] #12 0x0000559a8b051f0a in standard_ExecutorRun (queryDesc=0x559a8d3e3718, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [10:22:44.286] estate = 0x559a8d366320 [10:22:44.286] operation = CMD_MERGE [10:22:44.286] dest = 0x559a8d3eb0d0 [10:22:44.286] sendTuples = [10:22:44.286] oldcontext = 0x559a8d3eadc0 [10:22:44.286] __func__ = "standard_ExecutorRun" [10:22:44.286] #13 0x0000559a8b05213d in ExecutorRun (queryDesc=queryDesc@entry=0x559a8d3e3718, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:299 [10:22:44.286] No locals. [10:22:44.286] #14 0x0000559a8b43b40e in ProcessQuery (plan=plan@entry=0x559a8d3fdc98, sourceText=0x559a8d262b40 "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=0x559a8d3eb0d0, qc=qc@entry=0x7ffe75c76fc0) at ../src/backend/tcop/pquery.c:160 [10:22:44.286] queryDesc = 0x559a8d3e3718 [10:22:44.286] #15 0x0000559a8b43d043 in PortalRunMulti (portal=portal@entry=0x559a8d2e50e0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x559a8d3eb0d0, altdest=0x559a8bc131e0 , qc=qc@entry=0x7ffe75c76fc0) at ../src/backend/tcop/pquery.c:1278 [10:22:44.286] pstmt = 0x559a8d3fdc98 [10:22:44.286] stmtlist_item__state = [10:22:44.286] active_snapshot_set = true [10:22:44.286] stmtlist_item = 0x559a8d3fddc0 [10:22:44.286] #16 0x0000559a8b43d595 in FillPortalStore (portal=portal@entry=0x559a8d2e50e0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [10:22:44.286] treceiver = 0x559a8d3eb0d0 [10:22:44.286] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [10:22:44.286] __func__ = "FillPortalStore" [10:22:44.286] #17 0x0000559a8b43db66 in PortalRun (portal=portal@entry=0x559a8d2e50e0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x559a8d3fddf8, altdest=altdest@entry=0x559a8d3fddf8, qc=0x7ffe75c771a0) at ../src/backend/tcop/pquery.c:763 [10:22:44.286] _save_exception_stack = 0x7ffe75c77250 [10:22:44.286] _save_context_stack = 0x0 [10:22:44.286] _local_sigjmp_buf = {{__jmpbuf = {0, -3872100474536948981, 94122281947360, 94122283562064, 94122281947360, 94122283561992, -7022667819744851189, -3872104082518406389}, __mask_was_saved = 0, __saved_mask = {__val = {94122252737197, 94122281413184, 112, 4, 94122252741614, 1976004911, 4, 94122283561992, 112, 163, 94122281947360, 94122283562064, 94122283562040, 94122283561992, 94122252828817, 1}}}} [10:22:44.286] _do_rethrow = [10:22:44.286] result = [10:22:44.286] nprocessed = [10:22:44.286] saveTopTransactionResourceOwner = 0x559a8d2a1d98 [10:22:44.286] saveTopTransactionContext = 0x559a8d2f6cf0 [10:22:44.286] saveActivePortal = 0x0 [10:22:44.286] saveResourceOwner = 0x559a8d2a1d98 [10:22:44.286] savePortalContext = 0x0 [10:22:44.286] saveMemoryContext = 0x559a8d2f6cf0 [10:22:44.286] __func__ = "PortalRun" [10:22:44.286] #18 0x0000559a8b436f13 in exec_simple_query (query_string=query_string@entry=0x559a8d262b40 "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 [10:22:44.286] cmdtaglen = 5 [10:22:44.286] snapshot_set = [10:22:44.286] per_parsetree_context = 0x0 [10:22:44.286] plantree_list = 0x559a8d3fdda8 [10:22:44.286] parsetree = 0x559a8d46f408 [10:22:44.286] commandTag = [10:22:44.286] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [10:22:44.286] querytree_list = [10:22:44.286] portal = 0x559a8d2e50e0 [10:22:44.286] receiver = 0x559a8d3fddf8 [10:22:44.286] format = 0 [10:22:44.286] cmdtagname = [10:22:44.286] parsetree_item__state = [10:22:44.286] dest = DestRemote [10:22:44.286] oldcontext = 0x559a8d2f6cf0 [10:22:44.286] parsetree_list = 0x559a8d46f438 [10:22:44.286] parsetree_item = 0x559a8d46f450 [10:22:44.286] save_log_statement_stats = false [10:22:44.286] was_logged = false [10:22:44.286] use_implicit_block = false [10:22:44.286] msec_str = "\000t\307u\376\177\000\000\263\310n\213\232U\000\0000r\307u\376\177\000\000\026\001\000\000\000\000\000" [10:22:44.286] __func__ = "exec_simple_query" [10:22:44.286] #19 0x0000559a8b4399ec in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [10:22:44.286] query_string = 0x559a8d262b40 "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"... [10:22:44.286] firstchar = [10:22:44.286] input_message = {data = 0x559a8d262b40 "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} [10:22:44.286] local_sigjmp_buf = {{__jmpbuf = {94122265087352, -3872098389870343413, 4, 140730874426368, 140730874426512, 140730874426516, -7022667819564496117, -3872104080561763573}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94122281143872, 15616, 94122265081440, 94122281667920, 140730874426512, 94122252741162, 0, 9, 2, 94122265087360, 94122281143872, 94122265081440, 140730874426368, 140730874426512, 140730874426516}}}} [10:22:44.286] send_ready_for_query = false [10:22:44.286] idle_in_transaction_timeout_enabled = false [10:22:44.286] idle_session_timeout_enabled = false [10:22:44.286] __func__ = "PostgresMain" [10:22:44.286] #20 0x0000559a8b42fb0e in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [10:22:44.286] bsdata = [10:22:44.286] #21 0x0000559a8b2e830c in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffe75c773ac "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe75c77400) at ../src/backend/postmaster/launch_backend.c:274 [10:22:44.286] pid = [10:22:44.286] #22 0x0000559a8b2eddb8 in BackendStartup (client_sock=client_sock@entry=0x7ffe75c77400) at ../src/backend/postmaster/postmaster.c:3414 [10:22:44.286] bn = 0x559a8d28b1f8 [10:22:44.286] pid = [10:22:44.286] startup_data = {canAcceptConnections = CAC_OK} [10:22:44.286] __func__ = "BackendStartup" [10:22:44.286] #23 0x0000559a8b2ee31a in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [10:22:44.286] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "?$\272\177\000\000=\004\000\000\000\000\000\000\220\227\243\"\272\177\000\000\240_\367#\272\177\000\000\270t\307u\376\177\000\000\264t\307u\376\177", '\000' , "\373\033K\212\232U\000\000\030\aG\212\232U\000\000\200u\307u\376\177\000\000xu\307u\376\177\000\000\225[\362\001\207\355^Ԡt\210#\272\177\000\000+\000\000\000\000\000\000", __ss_align = 0}, salen = 2}} [10:22:44.286] i = 0 [10:22:44.286] now = [10:22:44.286] last_lockfile_recheck_time = 1724408339 [10:22:44.286] last_touch_time = 1724408339 [10:22:44.286] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = 1382427086, events = 0, fd = 1976006080, user_data = 0x0}, {pos = 15, events = 0, fd = -1974789125, user_data = 0x7fba24427668}, {pos = 596145712, events = 32698, fd = 608334560, user_data = 0x7c96e577}, {pos = 1976006144, events = 32766, fd = 608164424, user_data = 0xf}, {pos = 596145712, events = 32698, fd = 1, user_data = 0x0}, {pos = 1, events = 0, fd = 608334560, user_data = 0x7ffe75c77578}, {pos = 1976006016, events = 32766, fd = 608335464, user_data = 0x0}, {pos = 32768, events = 0, fd = 8, user_data = 0x559a8d264940}, {pos = 1, events = 32698, fd = 1976007331, user_data = 0xffffffff}, {pos = 581099520, events = 32698, fd = 603414432, user_data = 0x559a8d28f7d8}, {pos = -1926695240, events = 21914, fd = -1926686511, user_data = 0x7fba24403ebe}, {pos = 1, events = 0, fd = 608334560, user_data = 0x1b7}, {pos = -1950143048, events = 21914, fd = 0, user_data = 0x1}, {pos = -1926878208, events = 21914, fd = 608190142, user_data = 0x1}, {pos = 0, events = 0, fd = 581099520, user_data = 0x7fba22af2dc0 }, {pos = 16, events = 0, fd = 1976007120, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x7fba244061aa}, {pos = 0, events = 0, fd = 581627156, user_data = 0x0}, {pos = -1943263424, events = 21914, fd = 2, user_data = 0x7}, {pos = -1927131424, events = 21914, fd = -1958942533, user_data = 0x7367702f65736162}, {pos = 1952410737, events = 28781, fd = 8, user_data = 0x2ffff00001fa0}, {pos = -1926878208, events = 21914, fd = 608190142, user_data = 0x1}, {pos = 581660637, events = 32698, fd = 581133480, user_data = 0x559a8d28e4a0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = 582949984, events = 32698, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x559a8d224ee0}, {pos = 581663226, events = 32698, 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 = 1162634085, fd = 168448844, user_data = 0x34343237310a6174}, {pos = 858994736, events = 808716857, 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 = 582932960, events = 32698, fd = 581570926, user_data = 0x100000400}, {pos = 7, events = 0, fd = 2, user_data = 0xd45eed871feada00}, {pos = 582936032, events = 32698, fd = -328, user_data = 0x0}, {pos = -1926695560, events = 21914, fd = 1024, user_data = 0x559a8d28f578}, {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 = 16335, events = 0, fd = -328, user_data = 0x0}, {pos = -1926878208, events = 21914, fd = 581906387, user_data = 0x7ffe75c77a88}, {pos = -1955471327, events = 21914, fd = -1943204560, user_data = 0x559a8b70cade }, {pos = -1926695760, events = 21914, fd = -1926878656, user_data = 0x559a8d28f4b0}, {pos = 581654574, events = 32698, fd = 0, user_data = 0x559a8b71e748 }, {pos = -1926695760, events = 1, fd = -1955469167, user_data = 0x559a8d262a40}, {pos = 535484928, events = 3562990983, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 581577393, user_data = 0x7fba22aa14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 535484928, user_data = 0x559a8d23a170}, {pos = 535484928, events = 3562990983, fd = 11, user_data = 0xd45eed871feada00}, {pos = 0, events = 0, fd = 581284409, user_data = 0x1}, {pos = -1959886839, events = 21914, fd = 4194304, user_data = 0x559a8b70c972 }, {pos = -1927044752, events = 21914, fd = -1926878656, user_data = 0x559a8d23a170}, {pos = 1, events = 0, fd = 0, user_data = 0x559a8b71e748 }, {pos = -1927044752, events = 21914, fd = -1955469167, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x559a8b11caf7 }, {pos = 0, events = 0, fd = -1961746879, user_data = 0xb}, {pos = -1959865690, events = 21914, fd = -1946792784, user_data = 0x559a8d263418}} [10:22:44.287] nevents = 1 [10:22:44.287] __func__ = "ServerLoop" [10:22:44.287] #24 0x0000559a8b2efa90 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x559a8d220da0) at ../src/backend/postmaster/postmaster.c:1346 [10:22:44.287] opt = [10:22:44.287] status = [10:22:44.287] userDoption = [10:22:44.287] listen_addr_saved = false [10:22:44.287] output_config_variable = [10:22:44.287] __func__ = "PostmasterMain" [10:22:44.287] #25 0x0000559a8b12cf22 in main (argc=8, argv=0x559a8d220da0) at ../src/backend/main/main.c:197 [10:22:44.287] do_check_root = [10:22:44.320] -e [10:22:44.320] [10:22:44.320] [10:22:44.380] dumping /tmp/cores/postgres-6-25458.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [10:22:44.627] [New LWP 25458] [10:22:44.627] [10:22:44.627] This GDB supports auto-downloading debuginfo from the following URLs: [10:22:44.627] [10:22:44.627] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [10:22:44.627] Debuginfod has been disabled. [10:22:44.627] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [10:22:44.727] [Thread debugging using libthread_db enabled] [10:22:44.727] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [10:22:44.727] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [10:22:44.727] Program terminated with signal SIGABRT, Aborted. [10:22:44.727] #0 0x00007f1166aa9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [10:22:45.570] [10:22:45.570] Thread 1 (Thread 0x7f11669d8f00 (LWP 25458)): [10:22:45.570] #0 0x00007f1166aa9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [10:22:45.570] No symbol table info available. [10:22:45.570] #1 0x00007f1166a5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [10:22:45.570] No symbol table info available. [10:22:45.570] #2 0x00007f1166a45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [10:22:45.570] No symbol table info available. [10:22:45.570] #3 0x00005654e90d6bac in ExceptionalCondition (conditionName=conditionName@entry=0x5654e9324e45 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x5654e9349338 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [10:22:45.570] No locals. [10:22:45.570] #4 0x00005654e8a82593 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffdd0fb6cb0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffdd0fb6b4f) at ../src/backend/executor/execTuples.c:1737 [10:22:45.570] No locals. [10:22:45.570] #5 0x00005654e8a0668d in ExecIRDeleteTriggers (estate=estate@entry=0x5654eb96edb0, relinfo=relinfo@entry=0x5654eb96f360, slot=slot@entry=0x7ffdd0fb6cb0) at ../src/backend/commands/trigger.c:2841 [10:22:45.570] trigger = 0x5654eb96f5c0 [10:22:45.570] oldtuple = [10:22:45.570] trigdesc = 0x5654eb96f570 [10:22:45.570] newtuple = 0x0 [10:22:45.570] should_free = false [10:22:45.570] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f11625606b8, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [10:22:45.570] i = 0 [10:22:45.570] #6 0x00005654e8adf490 in ExecMergeMatched (context=0x7ffdd0fb6cd0, resultRelInfo=resultRelInfo@entry=0x5654eb96f360, tupleid=0x0, oldtuple=0x7ffdd0fb6cb0, canSetTag=true, matched=matched@entry=0x7ffdd0fb6c5f) at ../src/backend/executor/nodeModifyTable.c:3043 [10:22:45.570] relaction = 0x5654eba2dfc0 [10:22:45.570] commandType = CMD_DELETE [10:22:45.570] result = TM_Ok [10:22:45.570] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [10:22:45.570] l__state = [10:22:45.570] mtstate = 0x5654eb96f150 [10:22:45.570] mergeActions = 0x5654eb96f470 [10:22:45.570] actionStates = 0x5654eba2e580 [10:22:45.570] newslot = 0x0 [10:22:45.570] rslot = 0x0 [10:22:45.570] estate = 0x5654eb96edb0 [10:22:45.570] econtext = 0x5654eba2d5d0 [10:22:45.570] isNull = false [10:22:45.570] epqstate = 0x5654eb96f238 [10:22:45.570] l = [10:22:45.570] __func__ = "ExecMergeMatched" [10:22:45.570] lmerge_matched = [10:22:45.570] #7 0x00005654e8ae004e in ExecMerge (context=context@entry=0x7ffdd0fb6cd0, resultRelInfo=resultRelInfo@entry=0x5654eb96f360, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffdd0fb6cb0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2804 [10:22:45.570] rslot = 0x0 [10:22:45.570] matched = true [10:22:45.570] #8 0x00005654e8ae1813 in ExecModifyTable (pstate=0x5654eb96f150) at ../src/backend/executor/nodeModifyTable.c:4133 [10:22:45.570] node = 0x5654eb96f150 [10:22:45.570] context = {mtstate = 0x5654eb96f150, epqstate = 0x5654eb96f238, estate = 0x5654eb96edb0, planSlot = 0x5654eba2b9b8, tmfd = {ctid = {ip_blkid = {bi_hi = 56880, bi_lo = 60322}, ip_posid = 22100}, xmax = 3953153976, cmax = 22100, traversed = 5}, cpUpdateReturningSlot = 0x5654eba057b8} [10:22:45.570] estate = 0x5654eb96edb0 [10:22:45.570] operation = CMD_MERGE [10:22:45.570] resultRelInfo = 0x5654eb96f360 [10:22:45.570] subplanstate = 0x5654eb96fa90 [10:22:45.570] slot = [10:22:45.570] oldSlot = [10:22:45.570] tuple_ctid = {ip_blkid = {bi_hi = 60322, bi_lo = 22100}, ip_posid = 0} [10:22:45.570] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x5654eb9b3e08} [10:22:45.570] oldtuple = 0x7ffdd0fb6cb0 [10:22:45.570] tupleid = 0x0 [10:22:45.570] __func__ = "ExecModifyTable" [10:22:45.570] #9 0x00005654e8a74adf in ExecProcNodeFirst (node=0x5654eb96f150) at ../src/backend/executor/execProcnode.c:469 [10:22:45.570] No locals. [10:22:45.570] #10 0x00005654e8a5ffdd in ExecProcNode (node=node@entry=0x5654eb96f150) at ../src/include/executor/executor.h:278 [10:22:45.570] No locals. [10:22:45.570] #11 0x00005654e8a60192 in ExecutePlan (estate=estate@entry=0x5654eb96edb0, planstate=0x5654eb96f150, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x5654eb9e0ae0, execute_once=true) at ../src/backend/executor/execMain.c:1641 [10:22:45.570] slot = [10:22:45.570] current_tuple_count = 0 [10:22:45.570] #12 0x00005654e8a61f0a in standard_ExecutorRun (queryDesc=queryDesc@entry=0x5654eba66448, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:358 [10:22:45.570] estate = 0x5654eb96edb0 [10:22:45.570] operation = CMD_MERGE [10:22:45.570] dest = 0x5654eb9e0ae0 [10:22:45.570] sendTuples = [10:22:45.570] oldcontext = 0x5654eb9e07d0 [10:22:45.570] __func__ = "standard_ExecutorRun" [10:22:45.570] #13 0x00007f116462d813 in pgss_ExecutorRun (queryDesc=0x5654eba66448, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1031 [10:22:45.570] _save_exception_stack = 0x7ffdd0fb70b0 [10:22:45.570] _save_context_stack = 0x0 [10:22:45.570] _local_sigjmp_buf = {{__jmpbuf = {94922730792008, -2267759905357422637, 94922728737520, 94922730244832, 0, 0, -2267759905011392557, -2207285729574903853}, __mask_was_saved = 0, __saved_mask = {__val = {2147483647, 94922730244832, 0, 0, 94922687578257, 0, 1, 0, 94922680621590, 94922730792008, 94922699836800, 94922730244048, 139712675375052, 94922730792008, 0, 94922728737520}}}} [10:22:45.570] _do_rethrow = false [10:22:45.570] #14 0x00005654e8a62130 in ExecutorRun (queryDesc=queryDesc@entry=0x5654eba66448, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:297 [10:22:45.570] No locals. [10:22:45.570] #15 0x00005654e8e4b40e in ProcessQuery (plan=plan@entry=0x5654eba089b0, sourceText=0x5654eb870af0 "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=0x5654eb9e0ae0, qc=qc@entry=0x7ffdd0fb7010) at ../src/backend/tcop/pquery.c:160 [10:22:45.570] queryDesc = 0x5654eba66448 [10:22:45.570] #16 0x00005654e8e4d043 in PortalRunMulti (portal=portal@entry=0x5654eb8f2030, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x5654eb9e0ae0, altdest=0x5654e96231e0 , qc=qc@entry=0x7ffdd0fb7010) at ../src/backend/tcop/pquery.c:1278 [10:22:45.570] pstmt = 0x5654eba089b0 [10:22:45.570] stmtlist_item__state = [10:22:45.570] active_snapshot_set = true [10:22:45.570] stmtlist_item = 0x5654eba08ad8 [10:22:45.570] #17 0x00005654e8e4d595 in FillPortalStore (portal=portal@entry=0x5654eb8f2030, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [10:22:45.570] treceiver = 0x5654eb9e0ae0 [10:22:45.570] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [10:22:45.570] __func__ = "FillPortalStore" [10:22:45.570] #18 0x00005654e8e4db66 in PortalRun (portal=portal@entry=0x5654eb8f2030, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x5654eba08b10, altdest=altdest@entry=0x5654eba08b10, qc=0x7ffdd0fb71f0) at ../src/backend/tcop/pquery.c:763 [10:22:45.570] _save_exception_stack = 0x7ffdd0fb72a0 [10:22:45.570] _save_context_stack = 0x0 [10:22:45.570] _local_sigjmp_buf = {{__jmpbuf = {0, -5488415878417735725, 94922729267248, 94922730283472, 94922729267248, 94922730283400, -2267759905346936877, -5488414192796950573}, __mask_was_saved = 0, __saved_mask = {__val = {94922687486637, 94922728737264, 112, 4, 94922687491054, 3506139519, 4, 94922730283400, 112, 163, 94922729267248, 94922730283472, 94922730283448, 94922730283400, 94922687578257, 1}}}} [10:22:45.570] _do_rethrow = [10:22:45.570] result = [10:22:45.570] nprocessed = [10:22:45.570] saveTopTransactionResourceOwner = 0x5654eb8b14f0 [10:22:45.570] saveTopTransactionContext = 0x5654eb904460 [10:22:45.570] saveActivePortal = 0x0 [10:22:45.570] saveResourceOwner = 0x5654eb8b14f0 [10:22:45.570] savePortalContext = 0x0 [10:22:45.570] saveMemoryContext = 0x5654eb904460 [10:22:45.570] __func__ = "PortalRun" [10:22:45.570] #19 0x00005654e8e46f13 in exec_simple_query (query_string=query_string@entry=0x5654eb870af0 "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 [10:22:45.570] cmdtaglen = 5 [10:22:45.570] snapshot_set = [10:22:45.570] per_parsetree_context = 0x0 [10:22:45.570] plantree_list = 0x5654eba08ac0 [10:22:45.570] parsetree = 0x5654eb9ea188 [10:22:45.570] commandTag = [10:22:45.570] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [10:22:45.570] querytree_list = [10:22:45.570] portal = 0x5654eb8f2030 [10:22:45.570] receiver = 0x5654eba08b10 [10:22:45.570] format = 0 [10:22:45.570] cmdtagname = [10:22:45.570] parsetree_item__state = [10:22:45.570] dest = DestRemote [10:22:45.570] oldcontext = 0x5654eb904460 [10:22:45.570] parsetree_list = 0x5654eb9ea1b8 [10:22:45.570] parsetree_item = 0x5654eb9ea1d0 [10:22:45.570] save_log_statement_stats = false [10:22:45.570] was_logged = true [10:22:45.570] use_implicit_block = false [10:22:45.570] msec_str = "Pt\373\320\375\177\000\000\263\310\017\351TV\000\000\200r\373\320\375\177\000\000\026\001\000\000\000\000\000" [10:22:45.570] __func__ = "exec_simple_query" [10:22:45.570] #20 0x00005654e8e499ec in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [10:22:45.570] query_string = 0x5654eb870af0 "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"... [10:22:45.570] firstchar = [10:22:45.570] input_message = {data = 0x5654eb870af0 "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} [10:22:45.570] local_sigjmp_buf = {{__jmpbuf = {94922699836792, -5488412352062939181, 4, 140728109593680, 140728109593824, 140728109593828, -2267759905418240045, -5488414195001057325}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 6016, 10, 94922728987104, 0, 168, 94922687491156, 0, 10, 2, 94922699836800, 94922728468112, 94922699830880, 140728109593680, 140728109593824, 140728109593828}}}} [10:22:45.570] send_ready_for_query = false [10:22:45.570] idle_in_transaction_timeout_enabled = false [10:22:45.570] idle_session_timeout_enabled = false [10:22:45.570] __func__ = "PostgresMain" [10:22:45.570] #21 0x00005654e8e3fb0e in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [10:22:45.570] bsdata = [10:22:45.570] #22 0x00005654e8cf830c in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffdd0fb73fc "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffdd0fb7450) at ../src/backend/postmaster/launch_backend.c:274 [10:22:45.570] pid = [10:22:45.570] #23 0x00005654e8cfddb8 in BackendStartup (client_sock=client_sock@entry=0x7ffdd0fb7450) at ../src/backend/postmaster/postmaster.c:3414 [10:22:45.570] bn = 0x5654eb89d798 [10:22:45.570] pid = [10:22:45.570] startup_data = {canAcceptConnections = CAC_OK} [10:22:45.570] __func__ = "BackendStartup" [10:22:45.570] #24 0x00005654e8cfe31a in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [10:22:45.570] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\243f\021\177\000\000\240/\366g\021\177\000\000\370t\373\320\375\177\000\000\364t\373\320\375\177", '\000' , "\373\033\354\347TV\000\000\030\a\350\347TV\000\000\300u\373\320\375\177\000\000\270u\373\320\375\177\000\000\225[\362\001\000\000\000\000\020\253\211\353TV\000\000,", '\000' , "TV\000\000\020\033\354\347TV\000", __ss_align = 139712740279912}, salen = 2}} [10:22:45.570] i = 0 [10:22:45.570] now = [10:22:45.570] last_lockfile_recheck_time = 1724408369 [10:22:45.570] last_touch_time = 1724408369 [10:22:45.570] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 15, user_data = 0x5654e7ec1bfb}, {pos = 1749108328, events = 32529, fd = 1736992304, user_data = 0x7f11684142e0}, {pos = 2090263927, events = 0, fd = -788826560, user_data = 0x7f11683eaa48}, {pos = 15, events = 0, fd = 1736992304, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7f11684142e0}, {pos = -788826696, events = 32765, fd = -788826688, user_data = 0x7f1168414668}, {pos = 0, events = 0, fd = -343463632, user_data = 0x5654e91681e8 }, {pos = 32768, events = 0, fd = 1, user_data = 0x5654eb871610}, {pos = -1, events = 0, fd = 1721950208, user_data = 0x7f1167f62fa0}, {pos = -343293016, events = 22100, fd = -343293304, user_data = 0x5654eb8a0931}, {pos = 1748963006, events = 32529, fd = 1, user_data = 0x7f11684142e0}, {pos = 439, events = 0, fd = -379310664, user_data = 0x0}, {pos = 1, events = 0, fd = -343463632, user_data = 0x7f11683f0ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f1166a2e000}, {pos = 1722756544, events = 32529, fd = 16, user_data = 0x7ffdd0fb7a20}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1748971946, events = 32529, fd = 0, user_data = 0x7f1166aaed14 }, {pos = 0, events = 0, fd = -372431040, user_data = 0x2}, {pos = 7, events = 0, fd = -343724240, user_data = 0x5654e8ddac99 }, {pos = -343254533, events = 22100, fd = -388110149, user_data = 0x7367702f65736162}, {pos = 8096, events = 196607, fd = -343463632, user_data = 0x7f11683f0ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f1166a364a8}, {pos = 1722511325, events = 32529, fd = -372380544, user_data = 0x5654eb8a59a0}, {pos = 255, events = 0, fd = 0, user_data = 0x100007f00000002}, {pos = 1723800672, events = 32529, 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 = 1736996160, events = 32529, fd = 1736997504, 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 = -343279312, user_data = 0x7f1166ab582e}, {pos = 1723783648, events = 32529, fd = 1722421614, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0x949aba11be6b5500}, {pos = 1723786720, events = 32529, fd = -328, user_data = 0x0}, {pos = -343293624, events = 22100, fd = 2, user_data = 0x8000000000000006}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -343293824, events = 22100, fd = 3, user_data = 0x0}, {pos = 23553, events = 0, fd = -328, user_data = 0x0}, {pos = -343463632, events = 22100, fd = 1722757075, user_data = 0x7ffdd0fb7ad8}, {pos = -384638943, events = 22100, fd = -372372176, user_data = 0x5654e911cade }, {pos = -343293824, events = 22100, fd = -343471632, user_data = 0x5654eb89c080}, {pos = 1722505262, events = 32529, fd = 0, user_data = 0x5654e912e748 }, {pos = -343293824, events = 1, fd = -384636783, user_data = 0x5654eb8709f0}, {pos = -1100262144, events = 2493168145, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 1722428081, user_data = 0x7f1166aa14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1100262144, user_data = 0x5654eb848120}, {pos = -1100262144, events = 2493168145, fd = 11, user_data = 0x949aba11be6b5500}, {pos = 0, events = 0, fd = 1722135097, user_data = 0x1}, {pos = -389054455, events = 22100, fd = 4194304, user_data = 0x5654e911c972 }, {pos = -343637728, events = 22100, fd = -343471632, user_data = 0x5654eb848120}, {pos = 1, events = 0, fd = 0, user_data = 0x5654e912e748 }, {pos = -343637728, events = 22100, fd = -384636783, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x5654e8b2caf7 }, {pos = 0, events = 0, fd = -390914495, user_data = 0xb}, {pos = -389033306, events = 22100, fd = -375960400, user_data = 0x5654eb8713a8}} [10:22:45.571] nevents = 1 [10:22:45.571] __func__ = "ServerLoop" [10:22:45.571] #25 0x00005654e8cffa90 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x5654eb82ed90) at ../src/backend/postmaster/postmaster.c:1346 [10:22:45.571] opt = [10:22:45.571] status = [10:22:45.571] userDoption = [10:22:45.571] listen_addr_saved = false [10:22:45.571] output_config_variable = [10:22:45.571] __func__ = "PostmasterMain" [10:22:45.571] #26 0x00005654e8b3cf22 in main (argc=4, argv=0x5654eb82ed90) at ../src/backend/main/main.c:197 [10:22:45.571] do_check_root =