Content-Length: 293816 | pFad | http://github.com/postgrespro/postgres_cluster/commit/01fd6f8f2d15a9369768921d6fc95ac481779430

CF Try to fix breakage of sepgsql hooks by ENR patch. · postgrespro/postgres_cluster@01fd6f8 · GitHub
Skip to content

Commit 01fd6f8

Browse files
committed
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.
1 parent 5970271 commit 01fd6f8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

contrib/sepgsql/hooks.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "miscadmin.h"
2323
#include "tcop/utility.h"
2424
#include "utils/guc.h"
25+
#include "utils/queryenvironment.h"
2526

2627
#include "sepgsql.h"
2728

@@ -301,6 +302,7 @@ sepgsql_utility_command(PlannedStmt *pstmt,
301302
const char *queryString,
302303
ProcessUtilityContext context,
303304
ParamListInfo params,
305+
QueryEnvironment *queryEnv,
304306
DestReceiver *dest,
305307
char *completionTag)
306308
{
@@ -364,11 +366,11 @@ sepgsql_utility_command(PlannedStmt *pstmt,
364366

365367
if (next_ProcessUtility_hook)
366368
(*next_ProcessUtility_hook) (pstmt, queryString,
367-
context, params,
369+
context, params, queryEnv,
368370
dest, completionTag);
369371
else
370372
standard_ProcessUtility(pstmt, queryString,
371-
context, params,
373+
context, params, queryEnv,
372374
dest, completionTag);
373375
}
374376
PG_CATCH();

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/01fd6f8f2d15a9369768921d6fc95ac481779430

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy