@@ -431,6 +431,8 @@ typedef struct InstanceConfig
431431extern ConfigOption instance_options [];
432432extern InstanceConfig instance_config ;
433433extern time_t current_time ;
434+ extern bool no_validate ;
435+ extern IncrRestoreMode incremental_mode ;
434436
435437typedef struct PGNodeInfo
436438{
@@ -805,9 +807,12 @@ extern pid_t my_pid;
805807extern __threadint my_thread_num ;
806808extern int num_threads ;
807809extern bool stream_wal ;
810+ extern bool no_color ;
808811extern bool show_color ;
809812extern bool progress ;
813+ extern bool no_sync ;
810814extern 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 */
812817extern char * replication_slot ;
813818#if PG_VERSION_NUM >=100000
@@ -816,6 +821,7 @@ extern bool temp_slot;
816821extern bool perm_slot ;
817822
818823/* backup options */
824+ extern bool backup_logs ;
819825extern bool smooth_checkpoint ;
820826
821827/* remote probackup options */
@@ -827,8 +833,15 @@ extern bool exclusive_backup;
827833extern bool delete_wal ;
828834extern bool delete_expired ;
829835extern bool merge_expired ;
836+ extern bool force ;
830837extern 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
834847typedef struct InstanceState
@@ -858,11 +871,18 @@ typedef struct InstanceState
858871
859872/* show options */
860873extern 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 ;
863881extern bool heapallindexed ;
864882extern bool checkunique ;
883+ extern bool amcheck_parent ;
865884extern bool skip_block_validation ;
885+ extern bool skip_external_dirs ;
866886
867887/* current settings */
868888extern pgBackup current ;