Skip to content

Commit 4c84105

Browse files
japinliOleg Gurev
authored andcommitted
Fix warning about no previous declaration
1 parent 7874bc4 commit 4c84105

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/pg_probackup.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,8 @@ typedef struct InstanceConfig
431431
extern ConfigOption instance_options[];
432432
extern InstanceConfig instance_config;
433433
extern time_t current_time;
434+
extern bool no_validate;
435+
extern IncrRestoreMode incremental_mode;
434436

435437
typedef struct PGNodeInfo
436438
{
@@ -805,9 +807,12 @@ extern pid_t my_pid;
805807
extern __thread int my_thread_num;
806808
extern int num_threads;
807809
extern bool stream_wal;
810+
extern bool no_color;
808811
extern bool show_color;
809812
extern bool progress;
813+
extern bool no_sync;
810814
extern bool is_archive_cmd; /* true for archive-{get,push} */
815+
extern time_t start_time;
811816
/* In pre-10 'replication_slot' is defined in receivelog.h */
812817
extern char *replication_slot;
813818
#if PG_VERSION_NUM >= 100000
@@ -816,6 +821,7 @@ extern bool temp_slot;
816821
extern bool perm_slot;
817822

818823
/* backup options */
824+
extern bool backup_logs;
819825
extern bool smooth_checkpoint;
820826

821827
/* remote probackup options */
@@ -827,8 +833,15 @@ extern bool exclusive_backup;
827833
extern bool delete_wal;
828834
extern bool delete_expired;
829835
extern bool merge_expired;
836+
extern bool force;
830837
extern bool dry_run;
831838

839+
/* archive push options */
840+
extern int batch_size;
841+
842+
/* archive get options */
843+
extern bool no_validate_wal;
844+
832845
/* ===== instanceState ===== */
833846

834847
typedef struct InstanceState
@@ -858,11 +871,18 @@ typedef struct InstanceState
858871

859872
/* show options */
860873
extern ShowFormat show_format;
874+
extern bool show_archive;
875+
876+
/* set backup options */
877+
extern int64 ttl;
861878

862879
/* checkdb options */
880+
extern bool need_amcheck;
863881
extern bool heapallindexed;
864882
extern bool checkunique;
883+
extern bool amcheck_parent;
865884
extern bool skip_block_validation;
885+
extern bool skip_external_dirs;
866886

867887
/* current settings */
868888
extern pgBackup current;

0 commit comments

Comments
 (0)