Core was generated by `postgres: user test [local] INSERT '. Program terminated with signal SIGABRT, Aborted. #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 51 } (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x0000778bc7f4b800 in __GI_abort () at abort.c:89 #2 0x0000000000962df3 in errfinish (dummy=0) at elog.c:557 #3 0x00000000008091b9 in mdread (reln=0x161a940, forknum=MAIN_FORKNUM, blocknum=1, buffer=0x778bb9a38080 "") at md.c:784 #4 0x000000000080b8bd in smgrread (reln=0x161a940, forknum=MAIN_FORKNUM, blocknum=1, buffer=0x778bb9a38080 "") at smgr.c:628 #5 0x00000000007cf93f in ReadBuffer_common (smgr=0x161a940, relpersistence=112 'p', forkNum=MAIN_FORKNUM, blockNum=1, mode=RBM_NORMAL, strategy=0x0, hit=0x7fff20f9131b "") at bufmgr.c:890 #6 0x00000000007cf272 in ReadBufferExtended (reln=0x15f2318, forkNum=MAIN_FORKNUM, blockNum=1, mode=RBM_NORMAL, strategy=0x0) at bufmgr.c:664 #7 0x00000000007cf14e in ReadBuffer (reln=0x15f2318, blockNum=1) at bufmgr.c:596 #8 0x00000000004e0953 in _bt_getbuf (rel=0x15f2318, blkno=1, access=1) at nbtpage.c:576 #9 0x00000000004df73a in _bt_getroot (rel=0x15f2318, access=1) at nbtpage.c:132 #10 0x00000000004e6adb in _bt_search (rel=0x15f2318, keysz=1, scankey=0x7fff20f91dd0, nextkey=0 '\000', bufP=0x7fff20f927d4, access=1, snapshot=0xe45920 ) at nbtsearch.c:99 #11 0x00000000004e80a9 in _bt_first (scan=0x16454b8, dir=ForwardScanDirection) at nbtsearch.c:983 #12 0x00000000004e4eb5 in btgettuple (scan=0x16454b8, dir=ForwardScanDirection) at nbtree.c:326 #13 0x00000000004d9321 in index_getnext_tid (scan=0x16454b8, direction=ForwardScanDirection) at indexam.c:415 #14 0x00000000004d9744 in index_getnext (scan=0x16454b8, direction=ForwardScanDirection) at indexam.c:553 #15 0x00000000004d81c3 in systable_getnext (sysscan=0x16455d0) at genam.c:416 #16 0x000000000094c114 in ScanPgRelation (targetRelId=16391, indexOK=1 '\001', force_non_historic=0 '\000') at relcache.c:347 #17 0x000000000094f6a3 in RelationReloadIndexInfo (relation=0x778bc8bdcfc8) at relcache.c:1936 #18 0x000000000094fd8e in RelationClearRelation (relation=0x778bc8bdcfc8, rebuild=1 '\001') at relcache.c:2199 #19 0x000000000095023d in RelationFlushRelation (relation=0x778bc8bdcfc8) at relcache.c:2403 #20 0x0000000000950351 in RelationCacheInvalidateEntry (relationId=16391) at relcache.c:2455 #21 0x000000000094865e in LocalExecuteInvalidationMessage (msg=0x7fff20f92cc0) at inval.c:578 #22 0x00000000007eaf7e in ReceiveSharedInvalidMessages (invalFunction=0x94856d , resetFunction=0x9487b3 ) at sinval.c:91 #23 0x000000000094887d in AcceptInvalidationMessages () at inval.c:672 #24 0x00000000007eee5c in LockRelationOid (relid=2662, lockmode=1) at lmgr.c:125 #25 0x00000000004bad33 in relation_open (relationId=2662, lockmode=1) at heapam.c:1124 #26 0x00000000004d888f in index_open (relationId=2662, lockmode=1) at indexam.c:150 #27 0x00000000004d7f8d in systable_beginscan (heapRelation=0x15ed518, indexId=2662, indexOK=1 '\001', snapshot=0xe45920 , nkeys=1, key=0x7fff20f92e20) at genam.c:334 #28 0x000000000094c104 in ScanPgRelation (targetRelId=16387, indexOK=1 '\001', force_non_historic=0 '\000') at relcache.c:342 #29 0x000000000094d569 in RelationBuildDesc (targetRelId=16387, insertIt=0 '\000') at relcache.c:949 #30 0x000000000094fe4c in RelationClearRelation (relation=0x778bc8bdb390, rebuild=1 '\001') at relcache.c:2281 #31 0x000000000095023d in RelationFlushRelation (relation=0x778bc8bdb390) at relcache.c:2403 #32 0x0000000000950351 in RelationCacheInvalidateEntry (relationId=16387) at relcache.c:2455 #33 0x000000000094865e in LocalExecuteInvalidationMessage (msg=0x7fff20f93190) at inval.c:578 #34 0x00000000007eb057 in ReceiveSharedInvalidMessages (invalFunction=0x94856d , resetFunction=0x9487b3 ) at sinval.c:121 #35 0x000000000094887d in AcceptInvalidationMessages () at inval.c:672 #36 0x00000000007eee5c in LockRelationOid (relid=1259, lockmode=1) at lmgr.c:125 #37 0x00000000004bad33 in relation_open (relationId=1259, lockmode=1) at heapam.c:1124 #38 0x00000000004bafd6 in heap_open (relationId=1259, lockmode=1) at heapam.c:1290 #39 0x0000000000945f0b in SearchCatCache (cache=0x15e4f70, v1=16385, v2=0, v3=0, v4=0) at catcache.c:1172 #40 0x00000000009595a0 in SearchSysCache (cacheId=45, key1=16385, key2=0, key3=0, key4=0) at syscache.c:983 #41 0x000000000055e3d3 in pg_class_aclmask (table_oid=16385, roleid=10, mask=260, how=ACLMASK_ANY) at aclchk.c:3633 #42 0x000000000055f8bd in pg_class_aclcheck (table_oid=16385, roleid=10, mode=260) at aclchk.c:4421 #43 0x00000000006303fd in nextval_internal (relid=16385) at sequence.c:557 #44 0x00000000006303a1 in nextval_oid (fcinfo=0x1640550) at sequence.c:530 #45 0x000000000067c28e in ExecMakeFunctionResultNoSets (fcache=0x16404e0, econtext=0x163fb00, isNull=0x1640078 "", isDone=0x0) at execQual.c:2041 #46 0x000000000067cb99 in ExecEvalFunc (fcache=0x16404e0, econtext=0x163fb00, isNull=0x1640078 "", isDone=0x0) at execQual.c:2437 #47 0x000000000067c1f9 in ExecMakeFunctionResultNoSets (fcache=0x163fcc8, econtext=0x163fb00, isNull=0x16411d0 "\177\177\177~\177\177\177\177P\a\\\001", isDone=0x1641390) at execQual.c:2015 #48 0x000000000067cb99 in ExecEvalFunc (fcache=0x163fcc8, econtext=0x163fb00, isNull=0x16411d0 "\177\177\177~\177\177\177\177P\a\\\001", isDone=0x1641390) at execQual.c:2437 #49 0x00000000006830ab in ExecTargetList (targetlist=0x1641308, tupdesc=0x1640f80, econtext=0x163fb00, values=0x1641198, isnull=0x16411d0 "\177\177\177~\177\177\177\177P\a\\\001", itemIsDone=0x1641390, isDone=0x7fff20f939d4) at execQual.c:5423 #50 0x000000000068382c in ExecProject (projInfo=0x16411f0, isDone=0x7fff20f939d4) at execQual.c:5647 #51 0x00000000006a3a32 in ExecResult (node=0x163f9e8) at nodeResult.c:155 #52 0x0000000000678796 in ExecProcNode (node=0x163f9e8) at execProcnode.c:392 #53 0x00000000006a0865 in ExecModifyTable (node=0x163f6d8) at nodeModifyTable.c:1392 #54 0x00000000006787ab in ExecProcNode (node=0x163f6d8) at execProcnode.c:396 #55 0x0000000000674b56 in ExecutePlan (estate=0x163f470, planstate=0x163f6d8, use_parallel_mode=0 '\000', operation=CMD_INSERT, sendTuples=0 '\000', numberTuples=0, direction=ForwardScanDirection, dest=0x163ef70) at execMain.c:1566 #56 0x0000000000672c05 in standard_ExecutorRun (queryDesc=0x15b81e0, direction=ForwardScanDirection, count=0) at execMain.c:338 #57 0x0000000000672a90 in ExecutorRun (queryDesc=0x15b81e0, direction=ForwardScanDirection, count=0) at execMain.c:286 #58 0x0000000000813149 in ProcessQuery (plan=0x163ee78, sourceText=0x160ee40 "insert into t (b,c) values (1,1);", params=0x0, dest=0x163ef70, completionTag=0x7fff20f93e40 "") at pquery.c:187 #59 0x000000000081499f in PortalRunMulti (portal=0x163b450, isTopLevel=1 '\001', setHoldSnapshot=0 '\000', dest=0x163ef70, altdest=0x163ef70, completionTag=0x7fff20f93e40 "") at pquery.c:1303 #60 0x0000000000813fa5 in PortalRun (portal=0x163b450, count=9223372036854775807, isTopLevel=1 '\001', dest=0x163ef70, altdest=0x163ef70, completionTag=0x7fff20f93e40 "") at pquery.c:815 #61 0x000000000080e0b6 in exec_simple_query (query_string=0x160ee40 "insert into t (b,c) values (1,1);") at postgres.c:1086 #62 0x0000000000812259 in PostgresMain (argc=1, argv=0x15bb2b0, dbname=0x15bb1d8 "test", username=0x15bb1b8 "user") at postgres.c:4072 #63 0x0000000000787206 in BackendRun (port=0x15b2990) at postmaster.c:4342 #64 0x000000000078696a in BackendStartup (port=0x15b2990) at postmaster.c:4016 #65 0x000000000078304a in ServerLoop () at postmaster.c:1721 #66 0x000000000078267f in PostmasterMain (argc=3, argv=0x158e170) at postmaster.c:1329 #67 0x00000000006cc256 in main (argc=3, argv=0x158e170) at main.c:228