Compare commits
3 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
58091e922f | |
|
|
e1aa47a81a | |
|
|
cdcac809f6 |
|
|
@ -1780,12 +1780,18 @@ bool heap_slot_attisnull(TupleTableSlot *slot, int attnum)
|
|||
|
||||
/*
|
||||
* heap_freetuple
|
||||
* Release the allocated memory of a chunk
|
||||
*/
|
||||
void heap_freetuple(HeapTuple htup)
|
||||
{
|
||||
pfree(htup);
|
||||
}
|
||||
|
||||
/*
|
||||
* check_column_num
|
||||
* Check if the number of columns exceeds the max number of columns.
|
||||
* If so, report the error
|
||||
*/
|
||||
void check_column_num(int column_num)
|
||||
{
|
||||
if (column_num > MaxTupleAttributeNumber) {
|
||||
|
|
@ -1901,6 +1907,7 @@ MinimalTuple heap_form_minimal_tuple(TupleDesc tupleDescriptor, Datum *values, c
|
|||
|
||||
/*
|
||||
* heap_free_minimal_tuple
|
||||
* Release the allocated memory of a free minimal tuple
|
||||
*/
|
||||
void heap_free_minimal_tuple(MinimalTuple mtup)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue