File tree 7 files changed +25
-25
lines changed
7 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 20
20
#include "utils/datum.h"
21
21
#include "utils/memutils.h"
22
22
23
+ /* GUC parameter */
24
+ int GinFuzzySearchLimit = 0 ;
23
25
24
26
typedef struct pendingPosition
25
27
{
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ typedef struct
238
238
uint32 count [FAST_PATH_STRONG_LOCK_HASH_PARTITIONS ];
239
239
} FastPathStrongRelationLockData ;
240
240
241
- FastPathStrongRelationLockData * FastPathStrongRelationLocks ;
241
+ static FastPathStrongRelationLockData * FastPathStrongRelationLocks ;
242
242
243
243
244
244
/*
Original file line number Diff line number Diff line change 33
33
static HTAB * RelfilenodeMapHash = NULL ;
34
34
35
35
/* built first time through in InitializeRelfilenodeMap */
36
- ScanKeyData relfilenode_skey [2 ];
36
+ static ScanKeyData relfilenode_skey [2 ];
37
37
38
38
typedef struct
39
39
{
Original file line number Diff line number Diff line change @@ -122,5 +122,3 @@ int VacuumPageDirty = 0;
122
122
123
123
int VacuumCostBalance = 0 ; /* working state for vacuum */
124
124
bool VacuumCostActive = false;
125
-
126
- int GinFuzzySearchLimit = 0 ;
Original file line number Diff line number Diff line change 34
34
35
35
36
36
/* Global options */
37
- char * basedir = NULL ;
37
+ static char * basedir = NULL ;
38
38
static char * xlog_dir = "" ;
39
- char format = 'p' ; /* p(lain)/t(ar) */
40
- char * label = "pg_basebackup base backup" ;
41
- bool showprogress = false;
42
- int verbose = 0 ;
43
- int compresslevel = 0 ;
44
- bool includewal = false;
45
- bool streamwal = false;
46
- bool fastcheckpoint = false;
47
- bool writerecoveryconf = false;
48
- int standby_message_timeout = 10 * 1000 ; /* 10 sec = default */
39
+ static char format = 'p' ; /* p(lain)/t(ar) */
40
+ static char * label = "pg_basebackup base backup" ;
41
+ static bool showprogress = false;
42
+ static int verbose = 0 ;
43
+ static int compresslevel = 0 ;
44
+ static bool includewal = false;
45
+ static bool streamwal = false;
46
+ static bool fastcheckpoint = false;
47
+ static bool writerecoveryconf = false;
48
+ static int standby_message_timeout = 10 * 1000 ; /* 10 sec = default */
49
49
50
50
/* Progress counters */
51
51
static uint64 totalsize ;
Original file line number Diff line number Diff line change 32
32
#define RECONNECT_SLEEP_TIME 5
33
33
34
34
/* Global options */
35
- char * basedir = NULL ;
36
- int verbose = 0 ;
37
- int noloop = 0 ;
38
- int standby_message_timeout = 10 * 1000 ; /* 10 sec = default */
39
- volatile bool time_to_abort = false;
35
+ static char * basedir = NULL ;
36
+ static int verbose = 0 ;
37
+ static int noloop = 0 ;
38
+ static int standby_message_timeout = 10 * 1000 ; /* 10 sec = default */
39
+ static volatile bool time_to_abort = false;
40
40
41
41
42
42
static void usage (void );
Original file line number Diff line number Diff line change @@ -90,11 +90,11 @@ bool g_verbose; /* User wants verbose narration of our
90
90
* activities. */
91
91
92
92
/* various user-settable parameters */
93
- bool schemaOnly ;
94
- bool dataOnly ;
95
- int dumpSections ; /* bitmask of chosen sections */
96
- bool aclsSkip ;
97
- const char * lockWaitTimeout ;
93
+ static bool schemaOnly ;
94
+ static bool dataOnly ;
95
+ static int dumpSections ; /* bitmask of chosen sections */
96
+ static bool aclsSkip ;
97
+ static const char * lockWaitTimeout ;
98
98
99
99
/* subquery used to convert user ID (eg, datdba) to user name */
100
100
static const char * username_subquery ;
You can’t perform that action at this time.
0 commit comments