|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Data Structures | |
| struct | JsonManifestParseContext |
Typedefs | |
| typedef struct JsonManifestParseContext | JsonManifestParseContext |
| typedef struct JsonManifestParseIncrementalState | JsonManifestParseIncrementalState |
| typedef void(* | json_manifest_version_callback) (JsonManifestParseContext *, int manifest_version) |
| typedef void(* | json_manifest_system_identifier_callback) (JsonManifestParseContext *, uint64 manifest_system_identifier) |
| typedef void(* | json_manifest_per_file_callback) (JsonManifestParseContext *, const char *pathname, uint64 size, pg_checksum_type checksum_type, int checksum_length, uint8 *checksum_payload) |
| typedef void(* | json_manifest_per_wal_range_callback) (JsonManifestParseContext *, TimeLineID tli, XLogRecPtr start_lsn, XLogRecPtr end_lsn) |
| typedef void(* | json_manifest_error_callback) (JsonManifestParseContext *, const char *fmt,...) pg_attribute_printf(2 |
| typedef void(* json_manifest_error_callback) (JsonManifestParseContext *, const char *fmt,...) pg_attribute_printf(2 |
Definition at line 36 of file parse_manifest.h.
| typedef void(* json_manifest_per_file_callback) (JsonManifestParseContext *, const char *pathname, uint64 size, pg_checksum_type checksum_type, int checksum_length, uint8 *checksum_payload) |
Definition at line 29 of file parse_manifest.h.
| typedef void(* json_manifest_per_wal_range_callback) (JsonManifestParseContext *, TimeLineID tli, XLogRecPtr start_lsn, XLogRecPtr end_lsn) |
Definition at line 33 of file parse_manifest.h.
| typedef void(* json_manifest_system_identifier_callback) (JsonManifestParseContext *, uint64 manifest_system_identifier) |
Definition at line 27 of file parse_manifest.h.
| typedef void(* json_manifest_version_callback) (JsonManifestParseContext *, int manifest_version) |
Definition at line 25 of file parse_manifest.h.
Definition at line 22 of file parse_manifest.h.
Definition at line 23 of file parse_manifest.h.
|
extern |
Definition at line 227 of file parse_manifest.c.
References JsonSemAction::array_element_end, JsonSemAction::array_element_start, JsonSemAction::array_end, JsonSemAction::array_start, fb(), freeJsonLexContext(), JM_EXPECT_EOF, JM_EXPECT_TOPLEVEL_START, json_errdetail(), json_manifest_array_end(), json_manifest_array_start(), json_manifest_object_end(), json_manifest_object_field_start(), json_manifest_object_start(), json_manifest_parse_failure(), json_manifest_scalar(), JSON_SUCCESS, makeJsonLexContextCstringLen(), JsonSemAction::object_end, JsonSemAction::object_field_end, JsonSemAction::object_field_start, JsonSemAction::object_start, parse(), pg_parse_json(), PG_UTF8, JsonSemAction::scalar, sem, JsonSemAction::semstate, and verify_manifest_checksum().
Referenced by load_backup_manifest(), and parse_manifest_file().
|
extern |
Definition at line 185 of file parse_manifest.c.
References JsonManifestParseContext::error_cb, fb(), JM_EXPECT_EOF, json_errdetail(), JSON_INCOMPLETE, json_manifest_parse_failure(), JSON_SUCCESS, parse(), pg_cryptohash_update(), pg_parse_json_incremental(), and verify_manifest_checksum().
Referenced by AppendIncrementalManifestData(), FinalizeIncrementalManifest(), load_backup_manifest(), and parse_manifest_file().
|
extern |
Definition at line 129 of file parse_manifest.c.
References JsonManifestParseContext::error_cb, fb(), JM_EXPECT_TOPLEVEL_START, json_manifest_array_end(), json_manifest_array_start(), json_manifest_object_end(), json_manifest_object_field_start(), json_manifest_object_start(), json_manifest_scalar(), makeJsonLexContextIncremental(), palloc_object, parse(), pg_cryptohash_create(), pg_cryptohash_init(), PG_SHA256, and PG_UTF8.
Referenced by CreateIncrementalBackupInfo(), load_backup_manifest(), and parse_manifest_file().
|
extern |
Definition at line 169 of file parse_manifest.c.
References fb(), freeJsonLexContext(), and pfree().
Referenced by FinalizeIncrementalManifest(), load_backup_manifest(), and parse_manifest_file().