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 )(RelFileNodeBackend rnode, ForkNumber forknum, bool isRedo)
 
void(* smgr_extend )(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, char *buffer, bool skipFsync)
 
bool(* smgr_prefetch )(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum)
 
void(* smgr_read )(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, char *buffer)
 
void(* smgr_write )(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, char *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 39 of file smgr.c.

Field Documentation

◆ smgr_close

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

Definition at line 44 of file smgr.c.

Referenced by smgrclose(), and smgrdounlinkall().

◆ smgr_create

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

Definition at line 45 of file smgr.c.

Referenced by smgrcreate().

◆ smgr_exists

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

Definition at line 47 of file smgr.c.

Referenced by smgrdosyncall(), and smgrexists().

◆ smgr_extend

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

Definition at line 50 of file smgr.c.

Referenced by smgrextend().

◆ smgr_immedsync

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

Definition at line 63 of file smgr.c.

Referenced by smgrdosyncall(), and smgrimmedsync().

◆ smgr_init

void(* f_smgr::smgr_init) (void)

Definition at line 41 of file smgr.c.

Referenced by smgrinit().

◆ smgr_nblocks

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

Definition at line 60 of file smgr.c.

Referenced by smgrnblocks().

◆ smgr_open

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

Definition at line 43 of file smgr.c.

Referenced by smgropen().

◆ smgr_prefetch

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

Definition at line 52 of file smgr.c.

Referenced by smgrprefetch().

◆ smgr_read

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

Definition at line 54 of file smgr.c.

Referenced by smgrread().

◆ smgr_shutdown

void(* f_smgr::smgr_shutdown) (void)

Definition at line 42 of file smgr.c.

Referenced by smgrshutdown().

◆ smgr_truncate

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

Definition at line 61 of file smgr.c.

Referenced by smgrtruncate().

◆ smgr_unlink

void(* f_smgr::smgr_unlink) (RelFileNodeBackend rnode, ForkNumber forknum, bool isRedo)

Definition at line 48 of file smgr.c.

Referenced by smgrdounlinkall().

◆ smgr_write

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

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

Referenced by smgrwriteback().


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