Disallow empty passwords in LDAP authentication, the same way
[PostgreSQL.git] / src / include / storage / freespace.h
bloba0af4c6ffc7d4e090b85213edd70e485613a90bb
1 /*-------------------------------------------------------------------------
3 * freespace.h
4 * POSTGRES free space map for quickly finding free space in relations
7 * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * $PostgreSQL$
12 *-------------------------------------------------------------------------
14 #ifndef FREESPACE_H_
15 #define FREESPACE_H_
17 #include "storage/block.h"
18 #include "storage/bufpage.h"
19 #include "storage/relfilenode.h"
20 #include "utils/relcache.h"
22 /* prototypes for public functions in freespace.c */
23 extern Size GetRecordedFreeSpace(Relation rel, BlockNumber heapBlk);
24 extern BlockNumber GetPageWithFreeSpace(Relation rel, Size spaceNeeded);
25 extern BlockNumber RecordAndGetPageWithFreeSpace(Relation rel,
26 BlockNumber oldPage,
27 Size oldSpaceAvail,
28 Size spaceNeeded);
29 extern void RecordPageWithFreeSpace(Relation rel, BlockNumber heapBlk,
30 Size spaceAvail);
31 extern void XLogRecordPageWithFreeSpace(RelFileNode rnode, BlockNumber heapBlk,
32 Size spaceAvail);
34 extern void FreeSpaceMapTruncateRel(Relation rel, BlockNumber nblocks);
35 extern void FreeSpaceMapVacuum(Relation rel);
37 #endif /* FREESPACE_H_ */