Go to the source code of this file.
◆ SH_DECLARE
◆ SH_DEFINE
◆ SH_ELEMENT_TYPE
◆ SH_EQUAL
#define SH_EQUAL |
( |
|
tb, |
|
|
|
a, |
|
|
|
b |
|
) |
| (strcmp(a, b) == 0) |
◆ SH_HASH_KEY
◆ SH_KEY
◆ SH_KEY_TYPE
#define SH_KEY_TYPE const char * |
◆ SH_PREFIX
#define SH_PREFIX manifest_files |
◆ SH_RAW_ALLOCATOR
◆ SH_SCOPE
#define SH_SCOPE static inline |
◆ should_verify_checksum
#define should_verify_checksum |
( |
|
m | ) |
(((m)->matched) && !((m)->bad) && (((m)->checksum_type) != CHECKSUM_TYPE_NONE)) |
◆ manifest_data
◆ manifest_file
◆ manifest_wal_range
◆ verifier_context
◆ astreamer_verify_content_new()
Definition at line 66 of file astreamer_verify.c.
68{
70
74
79
82
83 return &streamer->
base;
84}
static const astreamer_ops astreamer_verify_ops
void * pg_malloc(size_t size)
void * palloc0(Size size)
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(), pg_malloc(), verifier_context::skip_checksums, and astreamer_verify::tblspc_oid.
Referenced by create_archive_verifier().
◆ pg_attribute_noreturn()
void void pg_attribute_noreturn |
( |
| ) |
|
◆ report_backup_error()
void report_backup_error |
( |
verifier_context * |
context, |
|
|
const char *pg_restrict |
fmt, |
|
|
|
... |
|
) |
| |
◆ report_fatal_error()
void void report_fatal_error |
( |
const char *pg_restrict |
fmt, |
|
|
|
... |
|
) |
| |
◆ 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}
#define relpath(rlocator, forknum)
char val[FLEXIBLE_ARRAY_MEMBER]
struct SimpleStringListCell * next
SimpleStringListCell * head
SimpleStringList ignore_list
References 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().