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)
 
void(* smgr_read )(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, void *buffer)
 
void(* smgr_write )(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, const void *buffer, 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)
 

Detailed Description

Definition at line 41 of file smgr.c.

Field Documentation

◆ smgr_close

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

Definition at line 46 of file smgr.c.

Referenced by smgrclose(), and smgrrelease().

◆ smgr_create

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

Definition at line 47 of file smgr.c.

Referenced by smgrcreate().

◆ smgr_exists

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

Definition at line 49 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 52 of file smgr.c.

Referenced by smgrextend().

◆ smgr_immedsync

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

Definition at line 67 of file smgr.c.

Referenced by smgrdosyncall(), and smgrimmedsync().

◆ smgr_init

void(* f_smgr::smgr_init) (void)

Definition at line 43 of file smgr.c.

Referenced by smgrinit().

◆ smgr_nblocks

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

Definition at line 64 of file smgr.c.

Referenced by smgrnblocks().

◆ smgr_open

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

Definition at line 45 of file smgr.c.

Referenced by smgropen().

◆ smgr_prefetch

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

Definition at line 56 of file smgr.c.

Referenced by smgrprefetch().

◆ smgr_read

void(* f_smgr::smgr_read) (SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, void *buffer)

Definition at line 58 of file smgr.c.

Referenced by smgrread().

◆ smgr_shutdown

void(* f_smgr::smgr_shutdown) (void)

Definition at line 44 of file smgr.c.

Referenced by smgrshutdown().

◆ smgr_truncate

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

Definition at line 65 of file smgr.c.

Referenced by smgrtruncate().

◆ smgr_unlink

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

Definition at line 50 of file smgr.c.

◆ smgr_write

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

Definition at line 60 of file smgr.c.

Referenced by smgrwrite().

◆ smgr_writeback

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

Definition at line 62 of file smgr.c.

Referenced by smgrwriteback().

◆ smgr_zeroextend

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

Definition at line 54 of file smgr.c.

Referenced by smgrzeroextend().


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