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
bufmask.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* bufmask.h
4
* Definitions for buffer masking routines, used to mask certain bits
5
* in a page which can be different when the WAL is generated
6
* and when the WAL is applied. This is really the job of each
7
* individual rmgr, but we make things easier by providing some
8
* common routines to handle cases which occur in multiple rmgrs.
9
*
10
* Portions Copyright (c) 2016-2025, PostgreSQL Global Development Group
11
*
12
* src/include/access/bufmask.h
13
*
14
*-------------------------------------------------------------------------
15
*/
16
17
#ifndef BUFMASK_H
18
#define BUFMASK_H
19
20
#include "
storage/block.h
"
21
#include "
storage/bufmgr.h
"
22
23
/* Marker used to mask pages consistently */
24
#define MASK_MARKER 0
25
26
extern
void
mask_page_lsn_and_checksum
(
Page
page);
27
extern
void
mask_page_hint_bits
(
Page
page);
28
extern
void
mask_unused_space
(
Page
page);
29
extern
void
mask_lp_flags
(
Page
page);
30
extern
void
mask_page_content
(
Page
page);
31
32
#endif
block.h
mask_lp_flags
void mask_lp_flags(Page page)
Definition:
bufmask.c:95
mask_page_content
void mask_page_content(Page page)
Definition:
bufmask.c:119
mask_page_lsn_and_checksum
void mask_page_lsn_and_checksum(Page page)
Definition:
bufmask.c:31
mask_unused_space
void mask_unused_space(Page page)
Definition:
bufmask.c:71
mask_page_hint_bits
void mask_page_hint_bits(Page page)
Definition:
bufmask.c:46
bufmgr.h
Page
PageData * Page
Definition:
bufpage.h:82
src
include
access
bufmask.h
Generated on Wed Apr 30 2025 00:13:26 for PostgreSQL Source Code by
1.9.4