|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Data Structures | |
| struct | manifest_file |
| struct | manifest_wal_range |
| struct | manifest_data |
Macros | |
| #define | SH_PREFIX manifest_files |
| #define | SH_ELEMENT_TYPE manifest_file |
| #define | SH_KEY_TYPE const char * |
| #define | SH_SCOPE extern |
| #define | SH_RAW_ALLOCATOR pg_malloc0 |
| #define | SH_DECLARE |
Typedefs | |
| typedef struct manifest_file | manifest_file |
| typedef struct manifest_wal_range | manifest_wal_range |
| typedef struct manifest_data | manifest_data |
Functions | |
| manifest_data * | load_backup_manifest (char *backup_directory) |
| manifest_data ** | load_backup_manifests (int n_backups, char **backup_directories) |
| #define SH_DECLARE |
Definition at line 37 of file load_manifest.h.
| #define SH_ELEMENT_TYPE manifest_file |
Definition at line 33 of file load_manifest.h.
Definition at line 34 of file load_manifest.h.
| #define SH_PREFIX manifest_files |
Definition at line 32 of file load_manifest.h.
| #define SH_RAW_ALLOCATOR pg_malloc0 |
Definition at line 36 of file load_manifest.h.
Definition at line 35 of file load_manifest.h.
|
extern |
Definition at line 105 of file load_manifest.c.
References close, combinebackup_per_file_cb(), combinebackup_per_wal_range_cb(), combinebackup_system_identifier_cb(), combinebackup_version_cb(), JsonManifestParseContext::error_cb, ESTIMATED_BYTES_PER_MANIFEST_LINE, fb(), fd(), manifest_data::files, fstat, json_parse_manifest(), json_parse_manifest_incremental_chunk(), json_parse_manifest_incremental_init(), json_parse_manifest_incremental_shutdown(), Max, MAXPGPATH, Min, JsonManifestParseContext::per_file_cb, JsonManifestParseContext::per_wal_range_cb, pfree(), PG_BINARY, pg_fatal, pg_log_warning, pg_malloc(), pg_malloc0(), PG_UINT32_MAX, JsonManifestParseContext::private_data, read, READ_CHUNK_SIZE, report_manifest_error(), snprintf, JsonManifestParseContext::system_identifier_cb, and JsonManifestParseContext::version_cb.
Referenced by load_backup_manifests().
|
extern |
Definition at line 83 of file load_manifest.c.
References fb(), i, load_backup_manifest(), and pg_malloc().
Referenced by main().