PostgreSQL Source Code git master
Loading...
Searching...
No Matches
backup_manifest.h
Go to the documentation of this file.
1/*-------------------------------------------------------------------------
2 *
3 * backup_manifest.h
4 * Routines for generating a backup manifest.
5 *
6 * Portions Copyright (c) 2010-2026, PostgreSQL Global Development Group
7 *
8 * src/include/backup/backup_manifest.h
9 *
10 *-------------------------------------------------------------------------
11 */
12#ifndef BACKUP_MANIFEST_H
13#define BACKUP_MANIFEST_H
14
17#include "pgtime.h"
18#include "storage/buffile.h"
19
26
37
40 pg_checksum_type manifest_checksum_type);
42 Oid spcoid,
43 const char *pathname, size_t size,
45 pg_checksum_context *checksum_ctx);
47 XLogRecPtr startptr,
48 TimeLineID starttli, XLogRecPtr endptr,
50
53
54#endif
manifest_option
@ MANIFEST_OPTION_NO
@ MANIFEST_OPTION_FORCE_ENCODE
@ MANIFEST_OPTION_YES
void InitializeBackupManifest(backup_manifest_info *manifest, backup_manifest_option want_manifest, pg_checksum_type manifest_checksum_type)
void AddFileToBackupManifest(backup_manifest_info *manifest, Oid spcoid, const char *pathname, size_t size, pg_time_t mtime, pg_checksum_context *checksum_ctx)
enum manifest_option backup_manifest_option
void AddWALInfoToBackupManifest(backup_manifest_info *manifest, XLogRecPtr startptr, TimeLineID starttli, XLogRecPtr endptr, TimeLineID endtli)
void SendBackupManifest(backup_manifest_info *manifest, bbsink *sink)
void FreeBackupManifest(backup_manifest_info *manifest)
uint64_t uint64
Definition c.h:547
pg_checksum_type
static bool manifest
int64 pg_time_t
Definition pgtime.h:23
unsigned int Oid
static int fb(int x)
pg_checksum_type checksum_type
pg_cryptohash_ctx * manifest_ctx
uint64 XLogRecPtr
Definition xlogdefs.h:21
uint32 TimeLineID
Definition xlogdefs.h:63