73 #define SmgrIsTemp(smgr) \
74 RelFileLocatorBackendIsTemp((smgr)->smgr_rlocator)
90 BlockNumber blocknum,
const void *buffer,
bool skipFsync);
117 smgrreadv(reln, forknum, blocknum, &buffer, 1);
122 const void *buffer,
bool skipFsync)
124 smgrwritev(reln, forknum, blocknum, &buffer, 1, skipFsync);
BlockNumber smgrnblocks(SMgrRelation reln, ForkNumber forknum)
void smgrwriteback(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, BlockNumber nblocks)
void smgrrelease(SMgrRelation reln)
SMgrRelation smgropen(RelFileLocator rlocator, ProcNumber backend)
void smgrdestroyall(void)
void smgrreleaseall(void)
void smgrpin(SMgrRelation reln)
void smgrunpin(SMgrRelation reln)
void smgrdosyncall(SMgrRelation *rels, int nrels)
void smgrimmedsync(SMgrRelation reln, ForkNumber forknum)
void smgrcreate(SMgrRelation reln, ForkNumber forknum, bool isRedo)
BlockNumber smgrnblocks_cached(SMgrRelation reln, ForkNumber forknum)
void smgrclose(SMgrRelation reln)
static void smgrwrite(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, const void *buffer, bool skipFsync)
struct SMgrRelationData SMgrRelationData
void smgrzeroextend(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, int nblocks, bool skipFsync)
bool ProcessBarrierSmgrRelease(void)
static void smgrread(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, void *buffer)
void smgrextend(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, const void *buffer, bool skipFsync)
void smgrtruncate(SMgrRelation reln, ForkNumber *forknum, int nforks, BlockNumber *nblocks)
void smgrwritev(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, const void **buffers, BlockNumber nblocks, bool skipFsync)
void smgrreleaserellocator(RelFileLocatorBackend rlocator)
bool smgrexists(SMgrRelation reln, ForkNumber forknum)
SMgrRelationData * SMgrRelation
void smgrreadv(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, void **buffers, BlockNumber nblocks)
void smgrdounlinkall(SMgrRelation *rels, int nrels, bool isRedo)
void smgrregistersync(SMgrRelation reln, ForkNumber forknum)
bool smgrprefetch(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, int nblocks)
int md_num_open_segs[MAX_FORKNUM+1]
BlockNumber smgr_targblock
BlockNumber smgr_cached_nblocks[MAX_FORKNUM+1]
struct _MdfdVec * md_seg_fds[MAX_FORKNUM+1]
RelFileLocatorBackend smgr_rlocator