@@ -672,16 +672,6 @@ typedef struct BackupPageHeader2
672672#define PageIsTruncated -2
673673#define PageIsCorrupted -3 /* used by checkdb */
674674
675-
676- /*
677- * return pointer that exceeds the length of prefix from character string.
678- * ex. str="/xxx/yyy/zzz", prefix="/xxx/yyy", return="zzz".
679- *
680- * Deprecated. Do not use this in new code.
681- */
682- #define GetRelativePath (str , prefix ) \
683- ((strlen(str) <= strlen(prefix)) ? "" : str + strlen(prefix) + 1)
684-
685675/*
686676 * Return timeline, xlog ID and record offset from an LSN of the type
687677 * 0/B000188, usual result from pg_stop_backup() and friends.
@@ -789,9 +779,6 @@ extern bool delete_expired;
789779extern bool merge_expired ;
790780extern bool dry_run ;
791781
792- /* compression options */
793- extern bool compress_shortcut ;
794-
795782/* other options */
796783extern char * instance_name ;
797784
@@ -808,10 +795,6 @@ extern pgBackup current;
808795/* argv of the process */
809796extern char * * commands_args ;
810797
811- /* in dir.c */
812- /* exclude directory list for $PGDATA file listing */
813- extern const char * pgdata_exclude_dir [];
814-
815798/* in backup.c */
816799extern int do_backup (pgSetBackupParams * set_backup_params ,
817800 bool no_validate , bool no_sync , bool backup_logs );
0 commit comments