diff options
author | Robert Haas | 2020-04-23 12:44:06 +0000 |
---|---|---|
committer | Robert Haas | 2020-04-23 12:44:06 +0000 |
commit | 3989dbdf1293ecc16991065a3d84857a945ea853 (patch) | |
tree | 810df1d5a7c6d18fda4095f7e0b3aed9f9d9a418 /src/include | |
parent | 299298bc873374ed49fa2f39944c09ac62bd75e3 (diff) |
Rename exposed identifiers to say "backup manifest".
Function names declared "extern" now use BackupManifest in the name
rather than just Manifest, and data types use backup_manifest
rather than just manifest.
Per note from Michael Paquier.
Discussion: http://postgr.es/m/20200418125713.GG350229@paquier.xyz
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/replication/backup_manifest.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/src/include/replication/backup_manifest.h b/src/include/replication/backup_manifest.h index e7fccddd0da..fd614202b31 100644 --- a/src/include/replication/backup_manifest.h +++ b/src/include/replication/backup_manifest.h @@ -22,7 +22,7 @@ typedef enum manifest_option MANIFEST_OPTION_YES, MANIFEST_OPTION_NO, MANIFEST_OPTION_FORCE_ENCODE -} manifest_option; +} backup_manifest_option; typedef struct manifest_info { @@ -33,19 +33,20 @@ typedef struct manifest_info bool force_encode; bool first_file; bool still_checksumming; -} manifest_info; +} backup_manifest_info; -extern void InitializeManifest(manifest_info *manifest, - manifest_option want_manifest, - pg_checksum_type manifest_checksum_type); -extern void AppendStringToManifest(manifest_info *manifest, char *s); -extern void AddFileToManifest(manifest_info *manifest, const char *spcoid, - const char *pathname, size_t size, - pg_time_t mtime, - pg_checksum_context *checksum_ctx); -extern void AddWALInfoToManifest(manifest_info *manifest, XLogRecPtr startptr, - TimeLineID starttli, XLogRecPtr endptr, - TimeLineID endtli); -extern void SendBackupManifest(manifest_info *manifest); +extern void InitializeBackupManifest(backup_manifest_info *manifest, + backup_manifest_option want_manifest, + pg_checksum_type manifest_checksum_type); +extern void AddFileToBackupManifest(backup_manifest_info *manifest, + const char *spcoid, + const char *pathname, size_t size, + pg_time_t mtime, + pg_checksum_context * checksum_ctx); +extern void AddWALInfoToBackupManifest(backup_manifest_info *manifest, + XLogRecPtr startptr, + TimeLineID starttli, XLogRecPtr endptr, + TimeLineID endtli); +extern void SendBackupManifest(backup_manifest_info *manifest); #endif |