Content-Length: 311423 | pFad | http://github.com/postgrespro/postgres_cluster/commit/39f73f5fa484a701e536e3f1e3a4c6a49faeb06c

A7 new ProcessUtilityHook signature · postgrespro/postgres_cluster@39f73f5 · GitHub
Skip to content

Commit 39f73f5

Browse files
committed
new ProcessUtilityHook signature
1 parent e3a16c5 commit 39f73f5

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

contrib/test_decoding/test_decoding.c

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ static void test_decoding_xact_callback(XactEvent event, void *arg);
102102

103103
static void test_decoding_process_utility(PlannedStmt *pstmt,
104104
const char *queryString, ProcessUtilityContext context,
105-
ParamListInfo params, DestReceiver *dest, char *completionTag);
105+
ParamListInfo params, QueryEnvironment *queryEnv,
106+
DestReceiver *dest, char *completionTag);
106107

107108
static bool test_decoding_twophase_commit();
108109

@@ -188,7 +189,8 @@ test_decoding_executor_finish(QueryDesc *queryDesc)
188189
static void
189190
test_decoding_process_utility(PlannedStmt *pstmt,
190191
const char *queryString, ProcessUtilityContext context,
191-
ParamListInfo params, DestReceiver *dest, char *completionTag)
192+
ParamListInfo params, QueryEnvironment *queryEnv,
193+
DestReceiver *dest, char *completionTag)
192194
{
193195
Node *parsetree = pstmt->utilityStmt;
194196

@@ -267,13 +269,13 @@ test_decoding_process_utility(PlannedStmt *pstmt,
267269

268270
if (PreviousProcessUtilityHook != NULL)
269271
{
270-
PreviousProcessUtilityHook(pstmt, queryString, context,
271-
params, dest, completionTag);
272+
PreviousProcessUtilityHook(pstmt, queryString, context, params, queryEnv,
273+
dest, completionTag);
272274
}
273275
else
274276
{
275-
standard_ProcessUtility(pstmt, queryString, context,
276-
params, dest, completionTag);
277+
standard_ProcessUtility(pstmt, queryString, context, params, queryEnv,
278+
dest, completionTag);
277279
}
278280
}
279281

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/39f73f5fa484a701e536e3f1e3a4c6a49faeb06c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy