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 0x000074355af74800 in __GI_abort () at abort.c:89 #2 0x0000000000a1d728 in errfinish (dummy=0) at elog.c:557 #3 0x00000000008ae18c in mdread (reln=0x184bc30, forknum=MAIN_FORKNUM, blocknum=3, buffer=0x74354caedc00 "") at md.c:786 #4 0x00000000008b0abb in smgrread (reln=0x184bc30, forknum=MAIN_FORKNUM, blocknum=3, buffer=0x74354caedc00 "") at smgr.c:628 #5 0x0000000000870ea6 in ReadBuffer_common (smgr=0x184bc30, relpersistence=112 'p', forkNum=MAIN_FORKNUM, blockNum=3, mode=RBM_NORMAL, strategy=0x0, hit=0x7ffcd5d4b5eb) at bufmgr.c:890 #6 0x00000000008707c9 in ReadBufferExtended (reln=0x74355be49850, forkNum=MAIN_FORKNUM, blockNum=3, mode=RBM_NORMAL, strategy=0x0) at bufmgr.c:664 #7 0x00000000008706a2 in ReadBuffer (reln=0x74355be49850, blockNum=3) at bufmgr.c:596 #8 0x0000000000500682 in _bt_getbuf (rel=0x74355be49850, blkno=3, access=1) at nbtpage.c:736 #9 0x00000000004ff413 in _bt_getroot (rel=0x74355be49850, access=1) at nbtpage.c:282 #10 0x0000000000506b0f in _bt_search (rel=0x74355be49850, keysz=1, scankey=0x7ffcd5d4c0d0, nextkey=false, bufP=0x7ffcd5d4cadc, access=1, snapshot=0xf79ba0 ) at nbtsearch.c:104 #11 0x0000000000508280 in _bt_first (scan=0x1874100, dir=ForwardScanDirection) at nbtsearch.c:1060 #12 0x00000000005047ba in btgettuple (scan=0x1874100, dir=ForwardScanDirection) at nbtree.c:245 #13 0x00000000004f810e in index_getnext_tid (scan=0x1874100, direction=ForwardScanDirection) at indexam.c:541 #14 0x00000000004f854f in index_getnext (scan=0x1874100, direction=ForwardScanDirection) at indexam.c:679 #15 0x00000000004f6b79 in systable_getnext (sysscan=0x1874218) at genam.c:411 #16 0x0000000000a08480 in ScanPgRelation (targetRelId=16391, indexOK=true, force_non_historic=false) at relcache.c:358 #17 0x0000000000a0be35 in RelationReloadIndexInfo (relation=0x74355be13768) at relcache.c:2086 #18 0x0000000000a0c5f1 in RelationClearRelation (relation=0x74355be13768, rebuild=true) at relcache.c:2361 #19 0x0000000000a0cc03 in RelationFlushRelation (relation=0x74355be13768) at relcache.c:2584 #20 0x0000000000a0cd17 in RelationCacheInvalidateEntry (relationId=16391) at relcache.c:2636 #21 0x00000000009fe678 in LocalExecuteInvalidationMessage (msg=0x7ffcd5d4d050) at inval.c:587 #22 0x000000000088ece8 in ReceiveSharedInvalidMessages (invalFunction=0x9fe571 , resetFunction=0x9fe7cd ) at sinval.c:91 #23 0x00000000009fe897 in AcceptInvalidationMessages () at inval.c:681 #24 0x0000000000892cab in LockRelationOid (relid=2662, lockmode=1) at lmgr.c:125 #25 0x00000000004d87a4 in relation_open (relationId=2662, lockmode=1) at heapam.c:1132 #26 0x00000000004f7245 in index_open (relationId=2662, lockmode=1) at indexam.c:154 #27 0x00000000004f6943 in systable_beginscan (heapRelation=0x74355be042b0, indexId=2662, indexOK=true, snapshot=0xf79ba0 , nkeys=1, key=0x7ffcd5d4d1b0) at genam.c:329 #28 0x0000000000a08470 in ScanPgRelation (targetRelId=16387, indexOK=true, force_non_historic=false) at relcache.c:353 #29 0x0000000000a09d65 in RelationBuildDesc (targetRelId=16387, insertIt=false) at relcache.c:1082 #30 0x0000000000a0c6c1 in RelationClearRelation (relation=0x74355be13980, rebuild=true) at relcache.c:2446 #31 0x0000000000a0cc03 in RelationFlushRelation (relation=0x74355be13980) at relcache.c:2584 #32 0x0000000000a0cd17 in RelationCacheInvalidateEntry (relationId=16387) at relcache.c:2636 #33 0x00000000009fe678 in LocalExecuteInvalidationMessage (msg=0x7ffcd5d4d5a0) at inval.c:587 #34 0x000000000088edc1 in ReceiveSharedInvalidMessages (invalFunction=0x9fe571 , resetFunction=0x9fe7cd ) at sinval.c:121 #35 0x00000000009fe897 in AcceptInvalidationMessages () at inval.c:681 #36 0x0000000000892cab in LockRelationOid (relid=1259, lockmode=1) at lmgr.c:125 #37 0x00000000004d87a4 in relation_open (relationId=1259, lockmode=1) at heapam.c:1132 #38 0x00000000004d8a51 in heap_open (relationId=1259, lockmode=1) at heapam.c:1298 #39 0x00000000009fbdc5 in SearchCatCacheMiss (cache=0x1810c00, nkeys=1, hashValue=183222592, hashIndex=64, v1=16385, v2=0, v3=0, v4=0) at catcache.c:1375 #40 0x00000000009fbcdc in SearchCatCacheInternal (cache=0x1810c00, nkeys=1, v1=16385, v2=0, v3=0, v4=0) at catcache.c:1317 #41 0x00000000009fb9e3 in SearchCatCache1 (cache=0x1810c00, v1=16385) at catcache.c:1185 #42 0x0000000000a16811 in SearchSysCache1 (cacheId=50, key1=16385) at syscache.c:1119 #43 0x0000000000588b43 in pg_class_aclmask (table_oid=16385, roleid=10, mask=260, how=ACLMASK_ANY) at aclchk.c:3841 #44 0x0000000000589f2a in pg_class_aclcheck (table_oid=16385, roleid=10, mode=260) at aclchk.c:4629 #45 0x0000000000670e6d in nextval_internal (relid=16385, check_permissions=true) at sequence.c:595 #46 0x0000000000670dfc in nextval_oid (fcinfo=0x1873260) at sequence.c:564 #47 0x00000000006c65ef in ExecInterpExpr (state=0x1872d08, econtext=0x1872958, isnull=0x7ffcd5d4dde7) at execExprInterp.c:678 #48 0x00000000006c80d4 in ExecInterpExprStillValid (state=0x1872d08, econtext=0x1872958, isNull=0x7ffcd5d4dde7) at execExprInterp.c:1786 #49 0x00000000007099bb in ExecEvalExprSwitchContext (state=0x1872d08, econtext=0x1872958, isNull=0x7ffcd5d4dde7) at ../../../src/include/executor/executor.h:303 #50 0x0000000000709a24 in ExecProject (projInfo=0x1872d00) at ../../../src/include/executor/executor.h:337 #51 0x0000000000709bef in ExecResult (pstate=0x1872840) at nodeResult.c:136 #52 0x00000000006dac78 in ExecProcNodeFirst (node=0x1872840) at execProcnode.c:445 #53 0x0000000000703c7c in ExecProcNode (node=0x1872840) at ../../../src/include/executor/executor.h:237 #54 0x0000000000706b37 in ExecModifyTable (pstate=0x1872430) at nodeModifyTable.c:2027 #55 0x00000000006dac78 in ExecProcNodeFirst (node=0x1872430) at execProcnode.c:445 #56 0x00000000006cfe0d in ExecProcNode (node=0x1872430) at ../../../src/include/executor/executor.h:237 #57 0x00000000006d26a3 in ExecutePlan (estate=0x18720c8, planstate=0x1872430, use_parallel_mode=false, operation=CMD_INSERT, sendTuples=false, numberTuples=0, direction=ForwardScanDirection, dest=0x1871b08, execute_once=true) at execMain.c:1721 #58 0x00000000006d03df in standard_ExecutorRun (queryDesc=0x186bc18, direction=ForwardScanDirection, count=0, execute_once=true) at execMain.c:362 #59 0x00000000006d020d in ExecutorRun (queryDesc=0x186bc18, direction=ForwardScanDirection, count=0, execute_once=true) at execMain.c:305 #60 0x00000000008b88ef in ProcessQuery (plan=0x17ba158, sourceText=0x17b8678 "insert into t (b,c) values (1,1);", params=0x0, queryEnv=0x0, dest=0x1871b08, completionTag=0x7ffcd5d4e2e0 "") at pquery.c:161 #61 0x00000000008ba20e in PortalRunMulti (portal=0x181cf08, isTopLevel=true, setHoldSnapshot=false, dest=0x1871b08, altdest=0x1871b08, completionTag=0x7ffcd5d4e2e0 "") at pquery.c:1286 #62 0x00000000008b97e6 in PortalRun (portal=0x181cf08, count=9223372036854775807, isTopLevel=true, run_once=true, dest=0x1871b08, altdest=0x1871b08, completionTag=0x7ffcd5d4e2e0 "") at pquery.c:799 #63 0x00000000008b370b in exec_simple_query (query_string=0x17b8678 "insert into t (b,c) values (1,1);") at postgres.c:1122 #64 0x00000000008b79fa in PostgresMain (argc=1, argv=0x17e34f0, dbname=0x17e33f0 "test", username=0x17b51f8 "user") at postgres.c:4159 #65 0x0000000000815745 in BackendRun (port=0x17d8f90) at postmaster.c:4361 #66 0x0000000000814ea3 in BackendStartup (port=0x17d8f90) at postmaster.c:4033 #67 0x0000000000811455 in ServerLoop () at postmaster.c:1706 #68 0x0000000000810d01 in PostmasterMain (argc=3, argv=0x17b3160) at postmaster.c:1379 #69 0x0000000000739bb6 in main (argc=3, argv=0x17b3160) at main.c:228