PostgreSQL Source Code  git master
BufferDesc Struct Reference

#include <buf_internals.h>

Data Fields

BufferTag tag
 
int buf_id
 
pg_atomic_uint32 state
 
int wait_backend_pid
 
int freeNext
 
LWLock content_lock
 

Detailed Description

Definition at line 178 of file buf_internals.h.

Field Documentation

◆ buf_id

int BufferDesc::buf_id

Definition at line 181 of file buf_internals.h.

Referenced by BufferAlloc(), InitBufferPool(), InitLocalBuffers(), and StrategyFreeBuffer().

◆ content_lock

LWLock BufferDesc::content_lock

Definition at line 189 of file buf_internals.h.

◆ freeNext

int BufferDesc::freeNext

◆ state

◆ tag

◆ wait_backend_pid

int BufferDesc::wait_backend_pid

Definition at line 186 of file buf_internals.h.

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


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