Commit 01fd6f8f authored by Kevin Grittner's avatar Kevin Grittner

Try to fix breakage of sepgsql hooks by ENR patch.

Turned up by buildfarm animal rhinoceros.  Fixing blind.  Will have
to wait for next run by rhinoceros to know whether it worked.
parent 59702716
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include "miscadmin.h" #include "miscadmin.h"
#include "tcop/utility.h" #include "tcop/utility.h"
#include "utils/guc.h" #include "utils/guc.h"
#include "utils/queryenvironment.h"
#include "sepgsql.h" #include "sepgsql.h"
...@@ -301,6 +302,7 @@ sepgsql_utility_command(PlannedStmt *pstmt, ...@@ -301,6 +302,7 @@ sepgsql_utility_command(PlannedStmt *pstmt,
const char *queryString, const char *queryString,
ProcessUtilityContext context, ProcessUtilityContext context,
ParamListInfo params, ParamListInfo params,
QueryEnvironment *queryEnv,
DestReceiver *dest, DestReceiver *dest,
char *completionTag) char *completionTag)
{ {
...@@ -364,11 +366,11 @@ sepgsql_utility_command(PlannedStmt *pstmt, ...@@ -364,11 +366,11 @@ sepgsql_utility_command(PlannedStmt *pstmt,
if (next_ProcessUtility_hook) if (next_ProcessUtility_hook)
(*next_ProcessUtility_hook) (pstmt, queryString, (*next_ProcessUtility_hook) (pstmt, queryString,
context, params, context, params, queryEnv,
dest, completionTag); dest, completionTag);
else else
standard_ProcessUtility(pstmt, queryString, standard_ProcessUtility(pstmt, queryString,
context, params, context, params, queryEnv,
dest, completionTag); dest, completionTag);
} }
PG_CATCH(); PG_CATCH();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment