mirror of
https://github.com/postgres/postgres.git
synced 2026-03-29 05:43:27 -04:00
Make sure that function declarations use names that exactly match the corresponding names from function definitions in storage, catalog, access method, executor, and logical replication code, as well as in miscellaneous utility/library code. Like other recent commits that cleaned up function parameter names, this commit was written with help from clang-tidy. Later commits will do the same for other parts of the codebase. Author: Peter Geoghegan <pg@bowt.ie> Reviewed-By: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/CAH2-WznJt9CMM9KJTMjJh_zbL5hD9oX44qdJ4aqZtjFi-zA3Tg@mail.gmail.com
26 lines
809 B
C
26 lines
809 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* indexfsm.h
|
|
* POSTGRES free space map for quickly finding an unused page in index
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/storage/indexfsm.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef INDEXFSM_H_
|
|
#define INDEXFSM_H_
|
|
|
|
#include "storage/block.h"
|
|
#include "utils/relcache.h"
|
|
|
|
extern BlockNumber GetFreeIndexPage(Relation rel);
|
|
extern void RecordFreeIndexPage(Relation rel, BlockNumber freeBlock);
|
|
extern void RecordUsedIndexPage(Relation rel, BlockNumber usedBlock);
|
|
|
|
extern void IndexFreeSpaceMapVacuum(Relation rel);
|
|
|
|
#endif /* INDEXFSM_H_ */
|