1 /*-------------------------------------------------------------------------
4 * POSTGRES free space map for quickly finding an unused page in index
7 * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * src/include/storage/indexfsm.h
12 *-------------------------------------------------------------------------
17 #include "storage/block.h"
18 #include "utils/relcache.h"
20 extern BlockNumber
GetFreeIndexPage(Relation rel
);
21 extern void RecordFreeIndexPage(Relation rel
, BlockNumber freeBlock
);
22 extern void RecordUsedIndexPage(Relation rel
, BlockNumber usedBlock
);
24 extern void IndexFreeSpaceMapVacuum(Relation rel
);
26 #endif /* INDEXFSM_H_ */