Go to the source code of this file.
◆ SH_DECLARE
◆ SH_DEFINE
◆ SH_ELEMENT_TYPE
◆ SH_EQUAL
◆ SH_HASH_KEY
◆ SH_KEY
◆ SH_KEY_TYPE
◆ SH_PREFIX
| #define SH_PREFIX manifest_files |
◆ SH_RAW_ALLOCATOR
◆ SH_SCOPE
◆ should_verify_checksum
Definition at line 40 of file pg_verifybackup.h.
63{
70
71
72
73
75{
82
83
84
85
87{
96
104
107 char *archive_name,
109
110#endif
#define pg_attribute_printf(f, a)
void pg_noreturn void report_fatal_error(const char *pg_restrict fmt,...) pg_attribute_printf(1
void pg_noreturn void bool should_ignore_relpath(verifier_context *context, const char *relpath)
astreamer * astreamer_verify_content_new(astreamer *next, verifier_context *context, char *archive_name, Oid tblspc_oid)
void report_backup_error(verifier_context *context, const char *pg_restrict fmt,...) pg_attribute_printf(2
#define relpath(rlocator, forknum)
manifest_wal_range * last_wal_range
manifest_wal_range * first_wal_range
manifest_files_hash * files
struct manifest_wal_range * prev
SimpleStringList ignore_list
◆ manifest_data
◆ manifest_file
◆ manifest_wal_range
◆ verifier_context
◆ astreamer_verify_content_new()
Definition at line 67 of file astreamer_verify.c.
69{
71
75
80
83
84 return &streamer->
base;
85}
static const astreamer_ops astreamer_verify_ops
void * pg_malloc(size_t size)
#define palloc0_object(type)
verifier_context * context
pg_checksum_context * checksum_ctx
const astreamer_ops * bbs_ops
References astreamer_verify::archive_name, astreamer_verify_ops, astreamer_verify::base, astreamer::bbs_next, astreamer::bbs_ops, astreamer_verify::checksum_ctx, astreamer_verify::context, next, palloc0_object, pg_malloc(), verifier_context::skip_checksums, and astreamer_verify::tblspc_oid.
Referenced by create_archive_verifier().
◆ report_backup_error()
◆ report_fatal_error()
◆ should_ignore_relpath()
Definition at line 1267 of file pg_verifybackup.c.
1268{
1270
1272 {
1274 char *v = cell->
val;
1275
1276 while (*v != '\0' && *r == *v)
1277 ++r, ++v;
1278
1279 if (*v == '\0' && (*r == '\0' || *r == '/'))
1280 return true;
1281 }
1282
1283 return false;
1284}
char val[FLEXIBLE_ARRAY_MEMBER]
struct SimpleStringListCell * next
SimpleStringListCell * head
References fb(), SimpleStringList::head, verifier_context::ignore_list, SimpleStringListCell::next, relpath, and SimpleStringListCell::val.
Referenced by member_verify_header(), report_extra_backup_files(), verify_backup_checksums(), verify_plain_backup_directory(), and verify_tar_backup().