PostgreSQL Source Code
git master
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
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
f
h
i
n
o
p
r
s
~
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
checksum.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* checksum.h
4
* Checksum implementation for data pages.
5
*
6
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
7
* Portions Copyright (c) 1994, Regents of the University of California
8
*
9
* src/include/storage/checksum.h
10
*
11
*-------------------------------------------------------------------------
12
*/
13
#ifndef CHECKSUM_H
14
#define CHECKSUM_H
15
16
#include "
storage/block.h
"
17
18
/*
19
* Compute the checksum for a Postgres page. The page must be aligned on a
20
* 4-byte boundary.
21
*/
22
extern
uint16
pg_checksum_page
(
char
*page,
BlockNumber
blkno);
23
24
#endif
/* CHECKSUM_H */
block.h
BlockNumber
uint32 BlockNumber
Definition:
block.h:31
uint16
uint16_t uint16
Definition:
c.h:484
pg_checksum_page
uint16 pg_checksum_page(char *page, BlockNumber blkno)
Definition:
checksum_impl.h:187
src
include
storage
checksum.h
Generated on Mon Dec 30 2024 06:13:25 for PostgreSQL Source Code by
1.9.4