PostgreSQL Source Code git master
|
Go to the source code of this file.
Functions | |
void | parse_backup_label (char *filename, StringInfo buf, TimeLineID *start_tli, XLogRecPtr *start_lsn, TimeLineID *previous_tli, XLogRecPtr *previous_lsn) |
void | write_backup_label (char *output_directory, StringInfo buf, pg_checksum_type checksum_type, struct manifest_writer *mwriter) |
void parse_backup_label | ( | char * | filename, |
StringInfo | buf, | ||
TimeLineID * | start_tli, | ||
XLogRecPtr * | start_lsn, | ||
TimeLineID * | previous_tli, | ||
XLogRecPtr * | previous_lsn | ||
) |
Definition at line 45 of file backup_label.c.
References buf, filename, get_eol_offset(), InvalidXLogRecPtr, line_starts_with(), parse_lsn(), parse_tli(), and pg_fatal.
Referenced by check_backup_label_files().
void write_backup_label | ( | char * | output_directory, |
StringInfo | buf, | ||
pg_checksum_type | checksum_type, | ||
struct manifest_writer * | mwriter | ||
) |
Definition at line 127 of file backup_label.c.
References add_file_to_manifest(), buf, close, get_eol_offset(), line_starts_with(), MAXPGPATH, output_filename, PG_BINARY, pg_checksum_final(), pg_checksum_init(), PG_CHECKSUM_MAX_LENGTH, pg_checksum_update(), pg_fatal, pg_file_create_mode, snprintf, stat::st_mtime, stat::st_size, stat, and write.
Referenced by main().