|
PostgreSQL Source Code git master
|
#include "common/checksum_helper.h"

Go to the source code of this file.
Typedefs | |
| typedef struct manifest_writer | manifest_writer |
Functions | |
| manifest_writer * | create_manifest_writer (char *directory, uint64 system_identifier) |
| 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) |
| void | finalize_manifest (manifest_writer *mwriter, struct manifest_wal_range *first_wal_range) |
Definition at line 20 of file write_manifest.h.
|
extern |
Definition at line 76 of file write_manifest.c.
References appendStringInfo(), appendStringInfoChar(), appendStringInfoString(), enlargeStringInfo(), escape_json(), fb(), flush_manifest(), hex_encode(), pg_checksum_type_name(), pg_encoding_verifymbstr(), and PG_UTF8.
Referenced by process_directory_recursively(), and write_backup_label().
|
extern |
Definition at line 48 of file write_manifest.c.
References appendStringInfo(), CHECKSUM_TYPE_SHA256, directory, fb(), initStringInfo(), MAXPGPATH, pg_checksum_init(), pg_malloc(), snprintf, and UINT64_FORMAT.
Referenced by main().
|
extern |
Definition at line 142 of file write_manifest.c.
References appendStringInfo(), appendStringInfoString(), Assert, close, enlargeStringInfo(), fb(), flush_manifest(), hex_encode(), len, LSN_FORMAT_ARGS, manifest_wal_range::next, pg_checksum_final(), pg_fatal, PG_SHA256_DIGEST_LENGTH, and PG_SHA256_DIGEST_STRING_LENGTH.
Referenced by main().