#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 set = {__val = {4194304, 140726414547632, 2, 6, 5309120, 94249822928768, 4611686018427388799, 140446649031334, 0, 281470681751456, 0, 0, 0, 0, 0, 0}} pid = tid = ret = #1 0x00007fbc4867c535 in __GI_abort () at abort.c:79 save_stage = 1 act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 0, 0, 0, 0, 140446646788085, 2, 4062868317402242624, 7017002064575424051, 94249829619760, 7003715557358071819, 674, 12862997737215894016, 140726414547872, 140726414547888, 140726414548720}}, sa_flags = 22, sa_restorer = 0x7ffd6bf31bb0} sigs = {__val = {32, 0 }} #2 0x000055b83f88c8b5 in ExceptionalCondition (conditionName=conditionName@entry=0x55b83f9d61c8 "resultnum >= 0 && resultnum < resultslot->tts_tupleDescriptor->natts", errorType=errorType@entry=0x55b83f8e700b "FailedAssertion", fileName=fileName@entry=0x55b83f9d5830 "execExprInterp.c", lineNumber=lineNumber@entry=674) at assert.c:69 No locals. #3 0x000055b83f58ea5f in ExecInterpExpr (state=0x55b840b0ac18, econtext=0x55b840b0aa10, isnull=0x7ffd6bf31fff) at execExprInterp.c:674 resultnum = op = 0x55b840b0adb0 resultslot = 0x55b840b0ab40 innerslot = 0x55b840b08660 outerslot = 0x0 scanslot = 0x0 dispatch_table = {0x55b83f58e5c4 , 0x55b83f58e5e4 , 0x55b83f58e616 , 0x55b83f58e648 , 0x55b83f58e67a , 0x55b83f58e6db , 0x55b83f58e73c , 0x55b83f58e79d , 0x55b83f58e7bc , 0x55b83f58e7db , 0x55b83f58e7fa , 0x55b83f58e815 , 0x55b83f58e8b7 , 0x55b83f58e959 , 0x55b83f58e9fb , 0x55b83f58ea5f , 0x55b83f58eaeb , 0x55b83f58eb0c , 0x55b83f58eb39 , 0x55b83f58eb92 , 0x55b83f58ebad , 0x55b83f58ebc8 , 0x55b83f58ebcf , 0x55b83f58ec16 , 0x55b83f58ec4c , 0x55b83f58ec53 , 0x55b83f58ec9a , 0x55b83f58ecd0 , 0x55b83f58ecf5 , 0x55b83f58ed43 , 0x55b83f58ed64 , 0x55b83f58ed9a , 0x55b83f58edd0 , 0x55b83f58ee10 , 0x55b83f58ee3f , 0x55b83f58ee6e , 0x55b83f58ee89 , 0x55b83f58eea4 , 0x55b83f58eecb , 0x55b83f58ef0d , 0x55b83f58ef4f , 0x55b83f58ef76 , 0x55b83f58ef91 , 0x55b83f58efac , 0x55b83f58efc5 , 0x55b83f58f053 , 0x55b83f58f08b , 0x55b83f58f1c9 , 0x55b83f58f24a , 0x55b83f58f2ba , 0x55b83f58f323 , 0x55b83f58f33a , 0x55b83f58f345 , 0x55b83f58f35c , 0x55b83f58f373 , 0x55b83f58f38e , 0x55b83f58f3a5 , 0x55b83f58f467 , 0x55b83f58f511 , 0x55b83f58f528 , 0x55b83f58f540 , 0x55b83f58f558 , 0x55b83f58f570 , 0x55b83f58f5a8 , 0x55b83f58f5aa , 0x55b83f58f5aa , 0x55b83f58f00c , 0x55b83f58f604 , 0x55b83f58f618 , 0x55b83f58f5c0 , 0x55b83f58f5d8 , 0x55b83f58f5ec , 0x55b83f58f62c , 0x55b83f58f643 , 0x55b83f58f69d , 0x55b83f58f6b4 , 0x55b83f58f715 , 0x55b83f58f730 , 0x55b83f58f75b , 0x55b83f58f7d9 , 0x55b83f58f829 , 0x55b83f58f874 , 0x55b83f58f8e4 , 0x55b83f58f9f6 , 0x55b83f58faef , 0x55b83f58fbe1 , 0x55b83f58fd30 , 0x55b83f58fe61 , 0x55b83f58ff85 , 0x55b83f58ffa0 , 0x55b83f58ffbb } #4 0x000055b83f58ae18 in ExecInterpExprStillValid (state=0x55b840b0ac18, econtext=0x55b840b0aa10, isNull=0x7ffd6bf31fff) at execExprInterp.c:1824 No locals. #5 0x000055b83f597f7b in ExecEvalExprSwitchContext (isNull=0x7ffd6bf31fff, econtext=0x55b840b0aa10, state=0x55b840b0ac18) at ../../../src/include/executor/executor.h:339 retDatum = oldContext = 0x55b840ad7b40 retDatum = oldContext = #6 ExecProject (projInfo=0x55b840b0ac10) at ../../../src/include/executor/executor.h:373 econtext = 0x55b840b0aa10 state = 0x55b840b0ac18 slot = 0x55b840b0ab40 isnull = false econtext = state = slot = isnull = #7 ExecMergeNotMatched (mtstate=mtstate@entry=0x55b840ad7f08, resultRelInfo=resultRelInfo@entry=0x55b840ad8120, estate=estate@entry=0x55b840ad7c60, slot=slot@entry=0x55b840b08660) at execMerge.c:543 action = 0x55b840b0abd8 commandType = l__state = econtext = rootRelInfo = 0x55b840ad8538 insert_slot = actionStates = l = __func__ = "ExecMergeNotMatched" #8 0x000055b83f5981d1 in ExecMerge (mtstate=mtstate@entry=0x55b840ad7f08, resultRelInfo=0x55b840ad8120, estate=estate@entry=0x55b840ad7c60, slot=slot@entry=0x55b840b08660) at execMerge.c:143 econtext = tupleid = tuple_ctid = {ip_blkid = {bi_hi = 0, bi_lo = 0}, ip_posid = 0} matched = datum = isNull = #9 0x000055b83f5c9c03 in ExecModifyTable (pstate=0x55b840ad7f08) at nodeModifyTable.c:2579 datum = isNull = resultoid = node = 0x55b840ad7f08 estate = 0x55b840ad7c60 operation = CMD_MERGE resultRelInfo = 0x55b840ad8120 subplanstate = 0x55b840ad8858 slot = 0x55b840b08660 planSlot = 0x55b840b08660 oldSlot = tupleid = tuple_ctid = {ip_blkid = {bi_hi = 16558, bi_lo = 21944}, ip_posid = 0} oldtupdata = {t_len = 1811095808, t_self = {ip_blkid = {bi_hi = 32765, bi_lo = 0}, ip_posid = 15546}, t_tableOid = 21944, t_data = 0x2} oldtuple = proute = 0x55b840b0b558 relinfos = 0x0 lc = __func__ = "ExecModifyTable" #10 0x000055b83f59cbf7 in ExecProcNodeFirst (node=0x55b840ad7f08) at execProcnode.c:463 No locals. #11 0x000055b83f593a74 in ExecProcNode (node=0x55b840ad7f08) at ../../../src/include/executor/executor.h:257 No locals. #12 ExecutePlan (estate=estate@entry=0x55b840ad7c60, planstate=0x55b840ad7f08, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=false, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55b840aed730, execute_once=true) at execMain.c:1555 slot = current_tuple_count = 0 #13 0x000055b83f594715 in standard_ExecutorRun (queryDesc=0x55b840ac84c0, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at execMain.c:362 estate = 0x55b840ad7c60 operation = CMD_MERGE dest = 0x55b840aed730 sendTuples = false oldcontext = 0x55b840ac83a0 __func__ = "standard_ExecutorRun" #14 0x000055b83f5947de in ExecutorRun (queryDesc=queryDesc@entry=0x55b840ac84c0, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at execMain.c:306 No locals. #15 0x000055b83f756768 in ProcessQuery (plan=plan@entry=0x55b840aed640, sourceText=, params=0x0, queryEnv=0x0, dest=dest@entry=0x55b840aed730, qc=qc@entry=0x7ffd6bf324a0) at pquery.c:160 queryDesc = 0x55b840ac84c0 #16 0x000055b83f757382 in PortalRunMulti (portal=portal@entry=0x55b840a66520, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55b840aed730, altdest=altdest@entry=0x55b840aed730, qc=qc@entry=0x7ffd6bf324a0) at pquery.c:1277 pstmt = 0x55b840aed640 stmtlist_item__state = active_snapshot_set = true stmtlist_item = 0x55b840aed6f0 #17 0x000055b83f757914 in PortalRun (portal=portal@entry=0x55b840a66520, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55b840aed730, altdest=altdest@entry=0x55b840aed730, qc=0x7ffd6bf324a0) at pquery.c:791 _save_exception_stack = 0x7ffd6bf32540 _save_context_stack = 0x0 _local_sigjmp_buf = {{__jmpbuf = {0, 6828001597788628319, 94249846583488, 94249846990112, 94249846990112, 94249847543600, 6828001597962691935, 741763848760436063}, __mask_was_saved = 0, __saved_mask = { __val = {94249847001696, 140726414549968, 94249846998320, 94249830163381, 112, 94249846583488, 94249846577040, 0, 162, 140726414550032, 94249828466653, 1, 2, 94249846583488, 94249846990112, 140726414550064}}}} _do_rethrow = result = nprocessed = saveTopTransactionResourceOwner = 0x55b840a7cdf0 saveTopTransactionContext = 0x55b840a889b0 saveActivePortal = 0x0 saveResourceOwner = 0x55b840a7cdf0 savePortalContext = 0x0 saveMemoryContext = 0x55b840a889b0 __func__ = "PortalRun" #18 0x000055b83f7539ef in exec_simple_query ( query_string=query_string@entry=0x55b840a018b0 "MERGE INTO public.idxpart3 as target_0\nUSING public.rtest_view2 as ref_0\nON target_0.a = ref_0.a \nWHEN NOT MATCHED AND (pg_catalog.lastval() = cast(null as int2)) or (true) \n THEN INSERT VALUES ( 20"...) at postgres.c:1215 snapshot_set = per_parsetree_context = 0x0 plantree_list = 0x55b840aed6d8 parsetree = 0x55b840a030c0 commandTag = qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} querytree_list = portal = 0x55b840a66520 receiver = 0x55b840aed730 format = 0 parsetree_item__state = dest = DestRemote oldcontext = 0x55b840a889b0 parsetree_list = 0x55b840a030f8 parsetree_item = 0x55b840a03110 save_log_statement_stats = false was_logged = false use_implicit_block = false msec_str = "\200\177\242@\270U\000\000\b\000\000\000\000\000\000\000\340$\363k\375\177\000\000?\"\212?\270U\000" __func__ = "exec_simple_query" #19 0x000055b83f75594c in PostgresMain (dbname=, username=) at postgres.c:4498 query_string = 0x55b840a018b0 "MERGE INTO public.idxpart3 as target_0\nUSING public.rtest_view2 as ref_0\nON target_0.a = ref_0.a \nWHEN NOT MATCHED AND (pg_catalog.lastval() = cast(null as int2)) or (true) \n THEN INSERT VALUES ( 20"... firstchar = input_message = { data = 0x55b840a018b0 "MERGE INTO public.idxpart3 as target_0\nUSING public.rtest_view2 as ref_0\nON target_0.a = ref_0.a \nWHEN NOT MATCHED AND (pg_catalog.lastval() = cast(null as int2)) or (true) \n THEN INSERT VALUES ( 20"..., len = 203, maxlen = 1024, cursor = 203} local_sigjmp_buf = {{__jmpbuf = {140726414550304, 6828001597845251423, 1121585057, 94249846734720, 8, 94249846734720, 6828001597817988447, 741763847300162911}, __mask_was_saved = 1, __saved_mask = { __val = {4194304, 18446744073709551536, 15616, 94249846734720, 140446645740515, 0, 94249846550368, 140726414550544, 15616, 15680, 94249828434542, 0, 94249846550368, 15616, 94249846734720, 8}}}} send_ready_for_query = false idle_in_transaction_timeout_enabled = false idle_session_timeout_enabled = false __func__ = "PostgresMain" #20 0x000055b83f6b1014 in BackendRun (port=port@entry=0x55b840a27f80) at postmaster.c:4594 No locals. #21 0x000055b83f6b41b6 in BackendStartup (port=port@entry=0x55b840a27f80) at postmaster.c:4322 bn = 0x55b840a25cf0 pid = 0 __func__ = "BackendStartup" #22 0x000055b83f6b43d1 in ServerLoop () at postmaster.c:1802 port = 0x55b840a27f80 i = 2 rmask = {fds_bits = {128, 0 }} selres = now = readmask = {fds_bits = {224, 0 }} nSockets = 8 last_lockfile_recheck_time = 1641966476 last_touch_time = 1641966295 __func__ = "ServerLoop" #23 0x000055b83f6b5971 in PostmasterMain (argc=3, argv=) at postmaster.c:1474 opt = status = userDoption = listen_addr_saved = true i = output_config_variable = __func__ = "PostmasterMain" #24 0x000055b83f5f429b in main (argc=3, argv=0x55b8409faec0) at main.c:198 No locals.