Skip to content

Commit

Permalink
Arrange the code with current PG master
Browse files Browse the repository at this point in the history
  • Loading branch information
danolivo committed Oct 13, 2024
1 parent b454f65 commit 2a99c02
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 88 deletions.
4 changes: 2 additions & 2 deletions aqo.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ int auto_tuning_infinite_loop = 8;
int aqo_k;
double log_selectivity_lower_bound = -30;

bool cleanup_bgworker = false;
static bool cleanup_bgworker = false;

/*
* Currently we use it only to store query_text string which is initialized
Expand Down Expand Up @@ -118,7 +118,7 @@ get_parameterized_joinrel_size_hook_type prev_get_parameterized_joinrel_size_hoo
ExplainOnePlan_hook_type prev_ExplainOnePlan_hook;
ExplainOneNode_hook_type prev_ExplainOneNode_hook;
static shmem_request_hook_type prev_shmem_request_hook = NULL;
object_access_hook_type prev_object_access_hook;
static object_access_hook_type prev_object_access_hook;

PGDLLEXPORT void aqo_bgworker_cleanup(Datum main_arg);
static void aqo_bgworker_startup(void);
Expand Down
Loading

0 comments on commit 2a99c02

Please sign in to comment.