Skip to content
Snippets Groups Projects
Commit bed5a92c authored by Michael Paquier's avatar Michael Paquier
Browse files

hook_utility: Fix compilation

Upstream commit 18ce3a4a has changed the shape of the utility hook,
so adapt to it.
parent 2b8c751f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -28,6 +28,7 @@ static void dbrestrict_utility(PlannedStmt *pstmt,
const char *queryString,
ProcessUtilityContext context,
ParamListInfo params,
QueryEnvironment *queryEnv,
DestReceiver *dest,
char *completionTag);
static void load_params(void);
Loading
Loading
@@ -37,6 +38,7 @@ void dbrestrict_utility(PlannedStmt *pstmt,
const char *queryString,
ProcessUtilityContext context,
ParamListInfo params,
QueryEnvironment *queryEnv,
DestReceiver *dest,
char *completionTag)
{
Loading
Loading
@@ -73,11 +75,11 @@ void dbrestrict_utility(PlannedStmt *pstmt,
*/
if (prev_utility_hook)
(*prev_utility_hook) (pstmt, queryString,
context, params,
context, params, queryEnv,
dest, completionTag);
else
standard_ProcessUtility(pstmt, queryString,
context, params,
context, params, queryEnv,
dest, completionTag);
}
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment