Get rid of unused getint16() function to quiet compiler.
Also, small whitespace fixup.
This commit is contained in:
parent
841f656012
commit
d603c49b40
@ -597,14 +597,6 @@ getoid(HeapTuple tuple, TupleDesc desc, int column)
|
||||
return isnull ? InvalidOid : DatumGetObjectId(datum);
|
||||
}
|
||||
|
||||
static int16
|
||||
getint16(HeapTuple tuple, TupleDesc desc, int column)
|
||||
{
|
||||
bool isnull;
|
||||
Datum datum = SPI_getbinval(tuple, desc, column, &isnull);
|
||||
return isnull ? 0 : DatumGetInt16(datum);
|
||||
}
|
||||
|
||||
/**
|
||||
* @fn Datum reorg_swap(PG_FUNCTION_ARGS)
|
||||
* @brief Swapping relfilenode of tables and relation ids of toast tables
|
||||
|
Loading…
x
Reference in New Issue
Block a user