Go to the source code of this file.
◆ pg_freespace()
Definition at line 24 of file pg_freespacemap.c.
25{
30
32
35 (
errcode(ERRCODE_INVALID_PARAMETER_VALUE),
36 errmsg(
"invalid block number")));
37
39
42}
int errcode(int sqlerrcode)
int errmsg(const char *fmt,...)
#define ereport(elevel,...)
#define PG_GETARG_INT64(n)
#define PG_RETURN_INT16(x)
Size GetRecordedFreeSpace(Relation rel, BlockNumber heapBlk)
void relation_close(Relation relation, LOCKMODE lockmode)
Relation relation_open(Oid relationId, LOCKMODE lockmode)
References AccessShareLock, ereport, errcode(), errmsg(), ERROR, GetRecordedFreeSpace(), MaxBlockNumber, PG_GETARG_INT64, PG_GETARG_OID, PG_RETURN_INT16, relation_close(), and relation_open().
◆ PG_FUNCTION_INFO_V1()
◆ PG_MODULE_MAGIC