Thread 1 (Thread 0x7fc3671d2940 (LWP 18673)): #0 tts_virtual_materialize (slot=0x21ec8e0) at executor/../../../src/include/postgres.h:319 #1 0x0000000000706a84 in ExecCopySlot (srcslot=0x2228820, dstslot=) at commands/../../../src/include/executor/tuptable.h:532 #2 AfterTriggerExecute (trig_tuple_slot2=0x0, trig_tuple_slot1=0x0, per_tuple_context=0x2204130, instr=0x0, finfo=0x21ea800, trigdesc=0x21ecee8, dst_relInfo=, src_relInfo=, relInfo=0x21ecce0, event=0x2202274, estate=0x21dce28) at commands/trigger.c:4506 #3 afterTriggerInvokeEvents (events=events@entry=0x2169858, firing_id=2, estate=estate@entry=0x21dce28, delete_ok=delete_ok@entry=false) at commands/trigger.c:4816 #4 0x00000000007075e8 in AfterTriggerEndQuery (estate=0x21dce28) at commands/trigger.c:5171 #5 0x0000000000730cb0 in standard_ExecutorFinish (queryDesc=0x21cff68) at executor/execMain.c:443 #6 0x0000000000933f35 in ExecutorFinish (queryDesc=0x21cff68) at executor/execMain.c:411 #7 ProcessQuery (plan=plan@entry=0x21d6f00, sourceText=, params=, queryEnv=, dest=dest@entry=0x21d7068, qc=qc@entry=0x7ffcd19d1d00) at tcop/pquery.c:194 #8 0x0000000000935bf6 in PortalRunMulti (portal=portal@entry=0x215b698, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x21d7068, altdest=altdest@entry=0x21d7068, qc=qc@entry=0x7ffcd19d1d00) at tcop/pquery.c:1272 #9 0x00000000009360a1 in PortalRun (portal=0x215b698, count=9223372036854775807, isTopLevel=, dest=0x21d7068, altdest=0x21d7068, qc=0x7ffcd19d1d00) at tcop/pquery.c:788 #10 0x000000000092ddb0 in exec_simple_query (query_string=0x20d9cc8 "UPDATE t.pipelines\nSET partition_id = 50\nWHERE partition_id = 102 AND id = 1;") at tcop/postgres.c:1273 #11 0x000000000093026b in PostgresMain (dbname=, username=) at tcop/postgres.c:4766 #12 0x0000000000930cf5 in BackendMain (startup_data=, startup_data_len=) at tcop/backend_startup.c:124 #13 0x000000000088271d in postmaster_child_launch (child_type=, child_slot=1, startup_data=0x7ffcd19d2290, startup_data_len=24, client_sock=0x7ffcd19d22b0) at postmaster/launch_backend.c:290 #14 0x000000000088d67d in BackendStartup (client_sock=0x7ffcd19d22b0) at postmaster/postmaster.c:3587 #15 ServerLoop () at postmaster/postmaster.c:1702 #16 0x00000000008840e9 in PostmasterMain (argc=3, argv=0x2093fb0) at postmaster/postmaster.c:1400 #17 0x000000000052f340 in main (argc=3, argv=0x2093fb0) at main/main.c:227 (gdb) bt full #0 tts_virtual_materialize (slot=0x21ec8e0) at executor/../../../src/include/postgres.h:319 att = val = 0 natt = 4 vslot = 0x21ec8e0 desc = sz = data = #1 0x0000000000706a84 in ExecCopySlot (srcslot=0x2228820, dstslot=) at commands/../../../src/include/executor/tuptable.h:532 No locals. #2 AfterTriggerExecute (trig_tuple_slot2=0x0, trig_tuple_slot1=0x0, per_tuple_context=0x2204130, instr=0x0, finfo=0x21ea800, trigdesc=0x21ecee8, dst_relInfo=, src_relInfo=, relInfo=0x21ecce0, event=0x2202274, estate=0x21dce28) at commands/trigger.c:4506 map = 0x0 dst_slot = src_rel = evtshared = 0x2202578 tgoid = save_sec_context = tgindx = 1 dst_rel = save_rolid = rettuple = should_free_trig = true rel = 0x7fc35d9eae58 LocTriggerData = {type = T_Invalid, tg_event = 0, tg_relation = 0x0, tg_trigtuple = 0x21ec858, tg_newtuple = 0x0, tg_trigger = 0x21ecf88, tg_trigslot = 0x21ec968, tg_newslot = 0x21ec8e0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} should_free_new = false rel = src_rel = dst_rel = --Type for more, q to quit, c to continue without paging-- evtshared = tgoid = LocTriggerData = save_rolid = save_sec_context = rettuple = tgindx = should_free_trig = should_free_new = __func__ = fdw_tuplestore = __errno_location = __errno_location = src_slot = __errno_location = map = dst_slot = __errno_location = map = #3 afterTriggerInvokeEvents (events=events@entry=0x2169858, firing_id=2, estate=estate@entry=0x21dce28, delete_ok=delete_ok@entry=false) at commands/trigger.c:4816 src_rInfo = dst_rInfo = evtshared = event = 0x2202274 all_fired_in_chunk = true all_fired = true chunk = 0x2202218 per_tuple_context = 0x2204130 local_estate = rInfo = 0x21ecce0 rel = 0x7fc35d9eae58 trigdesc = 0x21ecee8 finfo = 0x21ea800 --Type for more, q to quit, c to continue without paging-- instr = 0x0 slot1 = 0x0 slot2 = 0x0 #4 0x00000000007075e8 in AfterTriggerEndQuery (estate=0x21dce28) at commands/trigger.c:5171 firing_id = oldtail = 0x2202218 qs = 0x2169858 #5 0x0000000000730cb0 in standard_ExecutorFinish (queryDesc=0x21cff68) at executor/execMain.c:443 estate = 0x21dce28 oldcontext = 0x21cfe70 #6 0x0000000000933f35 in ExecutorFinish (queryDesc=0x21cff68) at executor/execMain.c:411 No locals. #7 ProcessQuery (plan=plan@entry=0x21d6f00, sourceText=, params=, queryEnv=, dest=dest@entry=0x21d7068, qc=qc@entry=0x7ffcd19d1d00) at tcop/pquery.c:194 queryDesc = 0x21cff68 #8 0x0000000000935bf6 in PortalRunMulti (portal=portal@entry=0x215b698, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x21d7068, altdest=altdest@entry=0x21d7068, qc=qc@entry=0x7ffcd19d1d00) at tcop/pquery.c:1272 pstmt = 0x21d6f00 stmtlist_item__state = {l = 0x21d7020, i = 0} active_snapshot_set = true stmtlist_item = 0x21d7038 #9 0x00000000009360a1 in PortalRun (portal=0x215b698, count=9223372036854775807, isTopLevel=, dest=0x21d7068, altdest=0x21d7068, qc=0x7ffcd19d1d00) at tcop/pquery.c:788 _save_exception_stack = 0x7ffcd19d20c0 _save_context_stack = 0x0 _local_sigjmp_buf = {{__jmpbuf = {34977432, 611872624362236801, 140723825220864, 0, 34450456, 35483752, -611247334857790591, 611869240603421569}, __mask_was_saved = 0, __saved_mask = { __val = {0, 0, 34977184, 13609747, 11382385, 191, 0, 13604334, 34977432, 34985640, 34450456, 35483680, 11401300, 35034840, 12926182285402734080, 15067680}}}} __errno_location = _do_rethrow = result = --Type for more, q to quit, c to continue without paging-- nprocessed = saveTopTransactionResourceOwner = 0x211ad10 saveTopTransactionContext = 0x21695e0 saveActivePortal = 0x0 saveResourceOwner = 0x211ad10 savePortalContext = 0x0 saveMemoryContext = 0x21695e0 __func__ = "PortalRun" #10 0x000000000092ddb0 in exec_simple_query ( query_string=0x20d9cc8 "UPDATE t.pipelines\nSET partition_id = 50\nWHERE partition_id = 102 AND id = 1;") at tcop/postgres.c:1273 parsetree = 0x20dabf0 portal = 0x215b698 cmdtaglen = stmt = plantree_list = fportal = qc = {commandTag = CMDTAG_UPDATE, nprocessed = 1} per_parsetree_context = 0x0 __errno_location = snapshot_set = commandTag = querytree_list = receiver = 0x21d7068 format = cmdtagname = parsetree_item__state = {l = 0x20dac18, i = } dest = DestRemote oldcontext = 0x21695e0 parsetree_list = 0x20dac18 parsetree_item = save_log_statement_stats = false was_logged = false use_implicit_block = false --Type for more, q to quit, c to continue without paging-- msec_str = "S\000\000\000\000\000\000\000\027kx\000\000\000\000\000`\035\235\321\374\177\000\000\000~`\177\002\000\000" __func__ = "exec_simple_query" #11 0x000000000093026b in PostgresMain (dbname=, username=) at tcop/postgres.c:4766 query_string = 0x20d9cc8 "UPDATE t.pipelines\nSET partition_id = 50\nWHERE partition_id = 102 AND id = 1;" firstchar = input_message = { data = 0x20d9cc8 "UPDATE t.pipelines\nSET partition_id = 50\nWHERE partition_id = 102 AND id = 1;", len = 78, maxlen = 1024, cursor = 78} __errno_location = local_sigjmp_buf = {{__jmpbuf = {4048027648, -611247334738252927, 34168888, 9590176, 24, 15084832, -611247334817944703, 611869246176209793}, __mask_was_saved = 1, __saved_mask = { __val = {4194304, 511101108348, 536870912114, 0, 140477263002752, 17456, 1090, 17408, 24, 15084832, 140477261645234, 34160720, 11385768, 17456, 34160720, 0}}}} send_ready_for_query = false idle_in_transaction_timeout_enabled = false idle_session_timeout_enabled = false __func__ = "PostgresMain" #12 0x0000000000930cf5 in BackendMain (startup_data=, startup_data_len=) at tcop/backend_startup.c:124 bsdata = #13 0x000000000088271d in postmaster_child_launch (child_type=, child_slot=1, startup_data=0x7ffcd19d2290, startup_data_len=24, client_sock=0x7ffcd19d22b0) at postmaster/launch_backend.c:290 pid = #14 0x000000000088d67d in BackendStartup (client_sock=0x7ffcd19d22b0) at postmaster/postmaster.c:3587 bn = 0x210be40 pid = startup_data = {canAcceptConnections = CAC_OK, socket_created = 813921784859208, fork_started = 813921784859241} cac = bn = --Type for more, q to quit, c to continue without paging-- pid = startup_data = cac = __func__ = __errno_location = save_errno = __errno_location = __errno_location = #15 ServerLoop () at postmaster/postmaster.c:1702 s = {sock = 12, raddr = {addr = {ss_family = 1, __ss_padding = "\000\000\000\000\000\000\000\365=i\303\177\000\000Y\240E\000\000\000\000\000\026\352v\376\000\000\000\000 (\035g\303\177\000\000\002\000\000\000\000\000\000\000\370b-g\303\177\000\000(\000\000\000\000\000\000\000H\177A\000\000\000\000\000\360#\235\321\374\177\000\000\340#\235\321\374\177\000\000 \352\345\000\000\000\000\000\000~`\177M\006c\263", '\000' , __ss_align = 34169176}, salen = 2}} i = 0 now = __errno_location = last_lockfile_recheck_time = 1760606579 last_touch_time = 1760606519 events = {{pos = 3, events = 2, fd = 9, user_data = 0x0}, {pos = 0, events = 0, fd = 124, user_data = 0x0}, {pos = 1, events = 0, fd = 1767652480, user_data = 0x8030}, {pos = 2050, events = 0, fd = 11909583, user_data = 0xc9e0e0}, {pos = 13228042, events = 0, fd = 1766294962, user_data = 0x7ffcd19d2920}, {pos = 34083536, events = 0, fd = 32768, user_data = 0xb}, {pos = -778229760, events = 32764, fd = 1766708021, user_data = 0xc9d77b}, { pos = 11, events = 0, fd = -778229760, user_data = 0x7fc3694dd3b3 }, { pos = 225, events = 0, fd = 8130325, user_data = 0x2}, {pos = 16832, events = 26, fd = 26, user_data = 0x0}, {pos = 4096, events = 0, fd = 4096, user_data = 0x8}, {pos = 1760605006, events = 0, fd = 852292781, user_data = 0x168f0b34e}, {pos = 237293697, events = 0, fd = 1760605006, user_data = 0xe24d081}, {pos = 2137030144, events = 3009611341, fd = 0, user_data = 0xfffffffffffffee0}, {pos = 0, events = 0, fd = 34665456, user_data = 0xb5b966}, { pos = 13228045, events = 0, fd = 13228042, user_data = 0x7fc3694789d5 }, { pos = 34665456, events = 0, fd = 15, user_data = 0xb5b9cf}, {pos = 34454496, events = 0, fd = 11, user_data = 0x7fc3694779b9 <_int_malloc+3113>}, {pos = 1767652480, events = 32707, --Type for more, q to quit, c to continue without paging-- fd = 255, user_data = 0x0}, {pos = 7, events = 0, fd = 4096, user_data = 0xf501de16260493e2}, {pos = 99, events = 6778927, fd = 271, user_data = 0x1030}, {pos = 64, events = 0, fd = 257, user_data = 0x0}, {pos = 1, events = 0, fd = 8, user_data = 0x770000007c}, {pos = 111, events = 99, fd = 1, user_data = 0x7fc3695c3c80 }, {pos = 4096, events = 0, fd = 255, user_data = 0x0}, {pos = 34665504, events = 0, fd = 1023, user_data = 0x7fc3694785b2 }, {pos = 13044706, events = 0, fd = 4096, user_data = 0x20812d0}, {pos = 34083536, events = 0, fd = 0, user_data = 0x7fc36945471d <_IO_file_doallocate+173>}, {pos = 225, events = 0, fd = 8130336, user_data = 0x1}, {pos = 33152, events = 26, fd = 26, user_data = 0x0}, {pos = 2681, events = 0, fd = 4096, user_data = 0x8}, {pos = 1760605008, events = 0, fd = 563290232, user_data = 0x68f0b34e}, {pos = 793292868, events = 0, fd = 1760605006, user_data = 0x2f48b044}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1767656856, events = 32707, fd = 2137030144, user_data = 0x20812d0}, {pos = 1767638496, events = 32707, fd = 34083536, user_data = 0x7fc3694623a0 <_IO_doallocbuf+80>}, {pos = 34083536, events = 0, fd = 34083536, user_data = 0x7fc3695bf9e0 <_IO_helper_jumps>}, {pos = 1766285899, events = 32707, fd = 1767652480, user_data = 0x7f}, {pos = 0, events = 0, fd = 34083536, user_data = 0x7fc3695c05e0 <__GI__IO_file_jumps>}, {pos = 34083536, events = 0, fd = 34670201, user_data = 0xb363064d7f607e00}, {pos = 1023, events = 0, fd = -288, user_data = 0x0}, {pos = 1, events = 0, fd = 18634, user_data = 0xfffffffffffffee0}, { pos = 0, events = 0, fd = 1, user_data = 0x48cd}, {pos = 0, events = 0, fd = 3, user_data = 0x7fc3694e163e }, {pos = 34192288, events = 0, fd = 11348112, user_data = 0x0}, {pos = 34192288, events = 0, fd = 34192288, user_data = 0x209bba0}, { pos = 1, events = 0, fd = 11359873, user_data = 0x2110c10}, {pos = 11360085, events = 0, fd = 34446288, user_data = 0x7fc369462e51 <_IO_flush_all_lockp+481>}, {pos = 34192288, events = 0, fd = 0, user_data = 0x7fc3694617c0 }, {pos = 1766207057, events = 32707, fd = 0, user_data = 0x0}, {pos = 1766201280, events = 32707, fd = 0, user_data = 0x7fc300000000}, {pos = 0, events = 0, fd = 0, user_data = 0xb363064d7f607e00}, { pos = 252, events = 0, fd = 2137030144, user_data = 0x0}, {pos = 2137030144, events = 3009611341, fd = 282, user_data = 0x7fc36941dfad }, {pos = 13, events = 0, fd = 8883127, user_data = 0x400000}, {pos = 1, events = 0, fd = 0, user_data = 0x7fc3694789d5 }, {pos = 34643584, events = 0, fd = 2137030144, user_data = 0x0}, {pos = -288, events = 4294967295, fd = 0, user_data = 0x0}, { pos = 34192288, events = 0, fd = 1, user_data = 0x0}, {pos = 2137030144, events = 3009611341, fd = 0, user_data = 0xfc}, {pos = 0, events = 0, fd = 2137030144, user_data = 0x0}, { --Type for more, q to quit, c to continue without paging-- pos = 282, events = 0, fd = 0, user_data = 0x882632 }, { pos = 34665232, events = 0, fd = 11910607, user_data = 0xd}, {pos = -778228432, events = 32764, fd = 34160560, user_data = 0xd}} nevents = __func__ = "ServerLoop" #16 0x00000000008840e9 in PostmasterMain (argc=3, argv=0x2093fb0) at postmaster/postmaster.c:1400 opt = status = userDoption = listen_addr_saved = true output_config_variable = __func__ = "PostmasterMain" #17 0x000000000052f340 in main (argc=3, argv=0x2093fb0) at main/main.c:227 do_check_root = dispatch_option =