Skip to content

Commit 2a99c02

Browse files
committed
Arrange the code with current PG master
1 parent b454f65 commit 2a99c02

File tree

5 files changed

+70
-88
lines changed

5 files changed

+70
-88
lines changed

Diff for: aqo.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ int auto_tuning_infinite_loop = 8;
8181
int aqo_k;
8282
double log_selectivity_lower_bound = -30;
8383

84-
bool cleanup_bgworker = false;
84+
static bool cleanup_bgworker = false;
8585

8686
/*
8787
* Currently we use it only to store query_text string which is initialized
@@ -118,7 +118,7 @@ get_parameterized_joinrel_size_hook_type prev_get_parameterized_joinrel_size_hoo
118118
ExplainOnePlan_hook_type prev_ExplainOnePlan_hook;
119119
ExplainOneNode_hook_type prev_ExplainOneNode_hook;
120120
static shmem_request_hook_type prev_shmem_request_hook = NULL;
121-
object_access_hook_type prev_object_access_hook;
121+
static object_access_hook_type prev_object_access_hook;
122122

123123
PGDLLEXPORT void aqo_bgworker_cleanup(Datum main_arg);
124124
static void aqo_bgworker_startup(void);

0 commit comments

Comments
 (0)