Get rid of unused getint16() function to quiet compiler.

Also, small whitespace fixup.
This commit is contained in:
Josh Kupershmidt 2012-11-06 20:30:49 -07:00
parent 841f656012
commit d603c49b40
2 changed files with 1 additions and 9 deletions

View File

@ -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