PostgreSQL Source Code
git master
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
g
h
i
k
l
m
p
r
s
t
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
c
d
f
h
i
n
o
p
r
s
t
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
indexfsm.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* indexfsm.h
4
* POSTGRES free space map for quickly finding an unused page in index
5
*
6
*
7
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
8
* Portions Copyright (c) 1994, Regents of the University of California
9
*
10
* src/include/storage/indexfsm.h
11
*
12
*-------------------------------------------------------------------------
13
*/
14
#ifndef INDEXFSM_H_
15
#define INDEXFSM_H_
16
17
#include "
storage/block.h
"
18
#include "
utils/relcache.h
"
19
20
extern
BlockNumber
GetFreeIndexPage
(
Relation
rel);
21
extern
void
RecordFreeIndexPage
(
Relation
rel,
BlockNumber
freeBlock);
22
extern
void
RecordUsedIndexPage
(
Relation
rel,
BlockNumber
usedBlock);
23
24
extern
void
IndexFreeSpaceMapVacuum
(
Relation
rel);
25
26
#endif
/* INDEXFSM_H_ */
block.h
BlockNumber
uint32 BlockNumber
Definition:
block.h:31
RecordUsedIndexPage
void RecordUsedIndexPage(Relation rel, BlockNumber usedBlock)
Definition:
indexfsm.c:62
GetFreeIndexPage
BlockNumber GetFreeIndexPage(Relation rel)
Definition:
indexfsm.c:38
IndexFreeSpaceMapVacuum
void IndexFreeSpaceMapVacuum(Relation rel)
Definition:
indexfsm.c:71
RecordFreeIndexPage
void RecordFreeIndexPage(Relation rel, BlockNumber freeBlock)
Definition:
indexfsm.c:52
relcache.h
RelationData
Definition:
rel.h:56
src
include
storage
indexfsm.h
Generated on Wed Apr 30 2025 18:13:27 for PostgreSQL Source Code by
1.9.4