PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | BulkInsertStateData |
Typedefs | |
typedef struct BulkInsertStateData | BulkInsertStateData |
Functions | |
void | RelationPutHeapTuple (Relation relation, Buffer buffer, HeapTuple tuple, bool token) |
Buffer | RelationGetBufferForTuple (Relation relation, Size len, Buffer otherBuffer, int options, BulkInsertStateData *bistate, Buffer *vmbuffer, Buffer *vmbuffer_other, int num_pages) |
typedef struct BulkInsertStateData BulkInsertStateData |
Buffer RelationGetBufferForTuple | ( | Relation | relation, |
Size | len, | ||
Buffer | otherBuffer, | ||
int | options, | ||
BulkInsertStateData * | bistate, | ||
Buffer * | vmbuffer, | ||
Buffer * | vmbuffer_other, | ||
int | num_pages | ||
) |
Definition at line 35 of file hio.c.
References Assert, BufferGetBlockNumber(), BufferGetPage(), elog, HEAP_XMAX_COMMITTED, HEAP_XMAX_IS_MULTI, HeapTupleHeaderIsSpeculative, InvalidOffsetNumber, ItemPointerSet(), PageAddItem, PageGetItem(), PageGetItemId(), PANIC, HeapTupleHeaderData::t_ctid, HeapTupleData::t_data, HeapTupleHeaderData::t_infomask, HeapTupleData::t_len, HeapTupleData::t_self, and token.
Referenced by heap_insert(), heap_multi_insert(), and heap_update().