Header And Logo

PostgreSQL
| The world's most advanced open source database.

Data Fields

Tuplesortstate Struct Reference

Data Fields

TupSortStatus status
int nKeys
bool randomAccess
bool bounded
bool boundUsed
int bound
long availMem
long allowedMem
int maxTapes
int tapeRange
MemoryContext sortcontext
LogicalTapeSettapeset
SortTupleComparator comparetup
void(* copytup )(Tuplesortstate *state, SortTuple *stup, void *tup)
void(* writetup )(Tuplesortstate *state, int tapenum, SortTuple *stup)
void(* readtup )(Tuplesortstate *state, SortTuple *stup, int tapenum, unsigned int len)
void(* reversedirection )(Tuplesortstate *state)
SortTuplememtuples
int memtupcount
int memtupsize
bool growmemtuples
int currentRun
boolmergeactive
int * mergenext
int * mergelast
int * mergeavailslots
long * mergeavailmem
int mergefreelist
int mergefirstfree
int Level
int destTape
int * tp_fib
int * tp_runs
int * tp_dummy
int * tp_tapenum
int activeTapes
int result_tape
int current
bool eof_reached
long markpos_block
int markpos_offset
bool markpos_eof
TupleDesc tupDesc
SortSupport sortKeys
SortSupport onlyKey
IndexInfoindexInfo
EStateestate
Relation heapRel
Relation indexRel
ScanKey indexScanKey
bool enforceUnique
uint32 hash_mask
Oid datumType
int datumTypeLen
bool datumTypeByVal

Detailed Description

Definition at line 205 of file tuplesort.c.


Field Documentation

Definition at line 326 of file tuplesort.c.

Referenced by beginmerge(), mergeonerun(), and tuplesort_performsort().

Definition at line 212 of file tuplesort.c.

Referenced by sort_bounded_heap(), tuplesort_begin_common(), and tuplesort_get_stats().

Definition at line 381 of file tuplesort.c.

Referenced by tuplesort_begin_datum().

Definition at line 321 of file tuplesort.c.

Referenced by dumptuples(), inittapes(), mergeruns(), and selectnewtape().

Definition at line 372 of file tuplesort.c.

Referenced by comparetup_index_btree(), and tuplesort_begin_index_btree().

Definition at line 361 of file tuplesort.c.

Referenced by comparetup_cluster(), tuplesort_begin_cluster(), and tuplesort_end().

Definition at line 279 of file tuplesort.c.

Referenced by grow_memtuples(), and tuplesort_begin_common().

Definition at line 375 of file tuplesort.c.

Referenced by comparetup_index_hash(), and tuplesort_begin_index_hash().

Definition at line 320 of file tuplesort.c.

Referenced by inittapes(), mergeruns(), and selectnewtape().

Definition at line 216 of file tuplesort.c.

Referenced by beginmerge(), inittapes(), and mergepreread().

Definition at line 307 of file tuplesort.c.

Referenced by beginmerge(), inittapes(), and mergeprereadone().

Definition at line 313 of file tuplesort.c.

Referenced by beginmerge(), and mergeprereadone().

Definition at line 312 of file tuplesort.c.

Referenced by beginmerge(), mergeonerun(), mergeprereadone(), and tuplesort_gettuple_common().

void(* Tuplesortstate::readtup)(Tuplesortstate *state, SortTuple *stup, int tapenum, unsigned int len)

Definition at line 217 of file tuplesort.c.

Referenced by beginmerge(), inittapes(), mergeonerun(), mergeruns(), and selectnewtape().

Definition at line 324 of file tuplesort.c.

Referenced by beginmerge(), dumptuples(), inittapes(), mergeruns(), and selectnewtape().

Definition at line 322 of file tuplesort.c.

Referenced by inittapes(), and selectnewtape().

Definition at line 323 of file tuplesort.c.

Referenced by beginmerge(), dumptuples(), inittapes(), mergeonerun(), and mergeruns().

Definition at line 325 of file tuplesort.c.

Referenced by beginmerge(), dumptuples(), inittapes(), mergeonerun(), and mergeruns().

void(* Tuplesortstate::writetup)(Tuplesortstate *state, int tapenum, SortTuple *stup)

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