PostgreSQL Source Code  git master
f_smgr Struct Reference

Data Fields

void(* smgr_init )(void)
 
void(* smgr_shutdown )(void)
 
void(* smgr_open )(SMgrRelation reln)
 
void(* smgr_close )(SMgrRelation reln, ForkNumber forknum)
 
void(* smgr_create )(SMgrRelation reln, ForkNumber forknum, bool isRedo)
 
bool(* smgr_exists )(SMgrRelation reln, ForkNumber forknum)
 
void(* smgr_unlink )(RelFileLocatorBackend rlocator, ForkNumber forknum, bool isRedo)
 
void(* smgr_extend )(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, const void *buffer, bool skipFsync)
 
void(* smgr_zeroextend )(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, int nblocks, bool skipFsync)
 
bool(* smgr_prefetch )(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, int nblocks)
 
uint32(* smgr_maxcombine )(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum)
 
void(* smgr_readv )(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, void **buffers, BlockNumber nblocks)
 
void(* smgr_writev )(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, const void **buffers, BlockNumber nblocks, bool skipFsync)
 
void(* smgr_writeback )(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, BlockNumber nblocks)
 
BlockNumber(* smgr_nblocks )(SMgrRelation reln, ForkNumber forknum)
 
void(* smgr_truncate )(SMgrRelation reln, ForkNumber forknum, BlockNumber nblocks)
 
void(* smgr_immedsync )(SMgrRelation reln, ForkNumber forknum)
 
void(* smgr_registersync )(SMgrRelation reln, ForkNumber forknum)
 

Detailed Description

Definition at line 74 of file smgr.c.

Field Documentation

◆ smgr_close

void(* f_smgr::smgr_close) (SMgrRelation reln, ForkNumber forknum)

Definition at line 79 of file smgr.c.

Referenced by smgrdestroy(), and smgrrelease().

◆ smgr_create

void(* f_smgr::smgr_create) (SMgrRelation reln, ForkNumber forknum, bool isRedo)

Definition at line 80 of file smgr.c.

Referenced by smgrcreate().

◆ smgr_exists

bool(* f_smgr::smgr_exists) (SMgrRelation reln, ForkNumber forknum)

Definition at line 82 of file smgr.c.

Referenced by smgrexists().

◆ smgr_extend

void(* f_smgr::smgr_extend) (SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, const void *buffer, bool skipFsync)

Definition at line 85 of file smgr.c.

Referenced by smgrextend().

◆ smgr_immedsync

void(* f_smgr::smgr_immedsync) (SMgrRelation reln, ForkNumber forknum)

Definition at line 105 of file smgr.c.

Referenced by smgrdosyncall(), and smgrimmedsync().

◆ smgr_init

void(* f_smgr::smgr_init) (void)

Definition at line 76 of file smgr.c.

Referenced by smgrinit().

◆ smgr_maxcombine

uint32(* f_smgr::smgr_maxcombine) (SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum)

Definition at line 91 of file smgr.c.

Referenced by smgrmaxcombine().

◆ smgr_nblocks

BlockNumber(* f_smgr::smgr_nblocks) (SMgrRelation reln, ForkNumber forknum)

Definition at line 102 of file smgr.c.

Referenced by smgrnblocks().

◆ smgr_open

void(* f_smgr::smgr_open) (SMgrRelation reln)

Definition at line 78 of file smgr.c.

Referenced by smgropen().

◆ smgr_prefetch

bool(* f_smgr::smgr_prefetch) (SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, int nblocks)

Definition at line 89 of file smgr.c.

Referenced by smgrprefetch().

◆ smgr_readv

void(* f_smgr::smgr_readv) (SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, void **buffers, BlockNumber nblocks)

Definition at line 93 of file smgr.c.

Referenced by smgrreadv().

◆ smgr_registersync

void(* f_smgr::smgr_registersync) (SMgrRelation reln, ForkNumber forknum)

Definition at line 106 of file smgr.c.

Referenced by smgrregistersync().

◆ smgr_shutdown

void(* f_smgr::smgr_shutdown) (void)

Definition at line 77 of file smgr.c.

Referenced by smgrshutdown().

◆ smgr_truncate

void(* f_smgr::smgr_truncate) (SMgrRelation reln, ForkNumber forknum, BlockNumber nblocks)

Definition at line 103 of file smgr.c.

Referenced by smgrtruncate().

◆ smgr_unlink

void(* f_smgr::smgr_unlink) (RelFileLocatorBackend rlocator, ForkNumber forknum, bool isRedo)

Definition at line 83 of file smgr.c.

◆ smgr_writeback

void(* f_smgr::smgr_writeback) (SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, BlockNumber nblocks)

Definition at line 100 of file smgr.c.

Referenced by smgrwriteback().

◆ smgr_writev

void(* f_smgr::smgr_writev) (SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, const void **buffers, BlockNumber nblocks, bool skipFsync)

Definition at line 96 of file smgr.c.

Referenced by smgrwritev().

◆ smgr_zeroextend

void(* f_smgr::smgr_zeroextend) (SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, int nblocks, bool skipFsync)

Definition at line 87 of file smgr.c.

Referenced by smgrzeroextend().


The documentation for this struct was generated from the following file: