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
write_manifest.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* Write a new backup manifest.
4
*
5
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
6
* Portions Copyright (c) 1994, Regents of the University of California
7
*
8
* src/bin/pg_combinebackup/write_manifest.h
9
*
10
*-------------------------------------------------------------------------
11
*/
12
#ifndef WRITE_MANIFEST_H
13
#define WRITE_MANIFEST_H
14
15
#include "
common/checksum_helper.h
"
16
17
struct
manifest_wal_range
;
18
19
struct
manifest_writer
;
20
typedef
struct
manifest_writer
manifest_writer
;
21
22
extern
manifest_writer
*
create_manifest_writer
(
char
*
directory
,
23
uint64
system_identifier);
24
extern
void
add_file_to_manifest
(
manifest_writer
*mwriter,
25
const
char
*manifest_path,
26
uint64
size
, time_t mtime,
27
pg_checksum_type
checksum_type,
28
int
checksum_length,
29
uint8
*checksum_payload);
30
extern
void
finalize_manifest
(
manifest_writer
*mwriter,
31
struct
manifest_wal_range
*first_wal_range);
32
33
#endif
/* WRITE_MANIFEST_H */
uint8
uint8_t uint8
Definition:
c.h:483
uint64
uint64_t uint64
Definition:
c.h:486
checksum_helper.h
pg_checksum_type
pg_checksum_type
Definition:
checksum_helper.h:30
size
static pg_noinline void Size size
Definition:
slab.c:607
manifest_wal_range
Definition:
load_manifest.h:45
manifest_writer
Definition:
write_manifest.c:28
finalize_manifest
void finalize_manifest(manifest_writer *mwriter, struct manifest_wal_range *first_wal_range)
Definition:
write_manifest.c:143
create_manifest_writer
manifest_writer * create_manifest_writer(char *directory, uint64 system_identifier)
Definition:
write_manifest.c:48
add_file_to_manifest
void add_file_to_manifest(manifest_writer *mwriter, const char *manifest_path, uint64 size, time_t mtime, pg_checksum_type checksum_type, int checksum_length, uint8 *checksum_payload)
Definition:
write_manifest.c:76
directory
static const char * directory
Definition:
zic.c:634
src
bin
pg_combinebackup
write_manifest.h
Generated on Tue Jan 7 2025 12:13:22 for PostgreSQL Source Code by
1.9.4