aboutsummaryrefslogtreecommitdiff
path: root/contrib/sepgsql/hooks.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2012-09-05 14:01:15 -0400
committerRobert Haas <rhaas@postgresql.org>2012-09-05 14:01:59 -0400
commitaa2b237ce51ef12c213ac55d4d3aba509cb3133e (patch)
tree4ffc1e8458088ff539e20916ac64271409790557 /contrib/sepgsql/hooks.c
parent46c508fbcf98ac334f1e831d21021d731c882fbb (diff)
downloadpostgresql-aa2b237ce51ef12c213ac55d4d3aba509cb3133e.tar.gz
postgresql-aa2b237ce51ef12c213ac55d4d3aba509cb3133e.zip
sepgsql cleanups.
This is needed to match recent changes elsewhere. Along the way, some renaming for clarity. KaiGai Kohei
Diffstat (limited to 'contrib/sepgsql/hooks.c')
-rw-r--r--contrib/sepgsql/hooks.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/sepgsql/hooks.c b/contrib/sepgsql/hooks.c
index 914519109c8..f3cf1c5f88c 100644
--- a/contrib/sepgsql/hooks.c
+++ b/contrib/sepgsql/hooks.c
@@ -265,9 +265,9 @@ static void
sepgsql_utility_command(Node *parsetree,
const char *queryString,
ParamListInfo params,
- bool isTopLevel,
DestReceiver *dest,
- char *completionTag)
+ char *completionTag,
+ ProcessUtilityContext context)
{
sepgsql_context_info_t saved_context_info = sepgsql_context_info;
ListCell *cell;
@@ -328,10 +328,10 @@ sepgsql_utility_command(Node *parsetree,
if (next_ProcessUtility_hook)
(*next_ProcessUtility_hook) (parsetree, queryString, params,
- isTopLevel, dest, completionTag);
+ dest, completionTag, context);
else
standard_ProcessUtility(parsetree, queryString, params,
- isTopLevel, dest, completionTag);
+ dest, completionTag, context);
}
PG_CATCH();
{