PostgreSQL Source Code  git master
Tuplestorestate Struct Reference

Data Fields

TupStoreStatus status
 
int eflags
 
bool backward
 
bool interXact
 
bool truncated
 
int64 availMem
 
int64 allowedMem
 
int64 tuples
 
BufFilemyfile
 
MemoryContext context
 
ResourceOwner resowner
 
void *(* copytup )(Tuplestorestate *state, void *tup)
 
void(* writetup )(Tuplestorestate *state, void *tup)
 
void *(* readtup )(Tuplestorestate *state, unsigned int len)
 
void ** memtuples
 
int memtupdeleted
 
int memtupcount
 
int memtupsize
 
bool growmemtuples
 
TSReadPointerreadptrs
 
int activeptr
 
int readptrcount
 
int readptrsize
 
int writepos_file
 
off_t writepos_offset
 

Detailed Description

Definition at line 103 of file tuplestore.c.

Field Documentation

◆ activeptr

◆ allowedMem

int64 Tuplestorestate::allowedMem

Definition at line 111 of file tuplestore.c.

Referenced by grow_memtuples(), and tuplestore_begin_common().

◆ availMem

int64 Tuplestorestate::availMem

Definition at line 110 of file tuplestore.c.

Referenced by grow_memtuples(), and tuplestore_begin_common().

◆ backward

bool Tuplestorestate::backward

Definition at line 107 of file tuplestore.c.

Referenced by readtup_heap(), tuplestore_puttuple_common(), and writetup_heap().

◆ context

MemoryContext Tuplestorestate::context

◆ copytup

void*(* Tuplestorestate::copytup) (Tuplestorestate *state, void *tup)

Definition at line 131 of file tuplestore.c.

Referenced by tuplestore_begin_heap().

◆ eflags

◆ growmemtuples

bool Tuplestorestate::growmemtuples

Definition at line 164 of file tuplestore.c.

Referenced by grow_memtuples(), and tuplestore_begin_common().

◆ interXact

bool Tuplestorestate::interXact

Definition at line 108 of file tuplestore.c.

Referenced by tuplestore_begin_common(), and tuplestore_puttuple_common().

◆ memtupcount

◆ memtupdeleted

int Tuplestorestate::memtupdeleted

◆ memtuples

◆ memtupsize

int Tuplestorestate::memtupsize

◆ myfile

◆ readptrcount

◆ readptrs

◆ readptrsize

int Tuplestorestate::readptrsize

Definition at line 177 of file tuplestore.c.

Referenced by tuplestore_alloc_read_pointer(), and tuplestore_begin_common().

◆ readtup

void*(* Tuplestorestate::readtup) (Tuplestorestate *state, unsigned int len)

Definition at line 148 of file tuplestore.c.

Referenced by tuplestore_begin_heap().

◆ resowner

ResourceOwner Tuplestorestate::resowner

Definition at line 115 of file tuplestore.c.

Referenced by tuplestore_begin_common(), and tuplestore_puttuple_common().

◆ status

◆ truncated

◆ tuples

int64 Tuplestorestate::tuples

◆ writepos_file

int Tuplestorestate::writepos_file

◆ writepos_offset

off_t Tuplestorestate::writepos_offset

◆ writetup

void(* Tuplestorestate::writetup) (Tuplestorestate *state, void *tup)

Definition at line 140 of file tuplestore.c.

Referenced by tuplestore_begin_heap().


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