PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
sbufdesc Struct Reference

#include <buf_internals.h>

Data Fields

BufferTag tag
BufFlags flags
uint16 usage_count
unsigned refcount
int wait_backend_pid
slock_t buf_hdr_lock
int buf_id
int freeNext
LWLockio_in_progress_lock
LWLockcontent_lock

Detailed Description

Definition at line 136 of file buf_internals.h.

Field Documentation

slock_t sbufdesc::buf_hdr_lock

Definition at line 144 of file buf_internals.h.

Referenced by InitBufferPool().

int sbufdesc::freeNext

Definition at line 147 of file buf_internals.h.

Referenced by InitBufferPool(), StrategyFreeBuffer(), and StrategyGetBuffer().

LWLock* sbufdesc::io_in_progress_lock
int sbufdesc::wait_backend_pid

Definition at line 142 of file buf_internals.h.

Referenced by InitBufferPool(), LockBufferForCleanup(), UnlockBuffers(), and UnpinBuffer().


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