From 3fd40b628c7db4c4bcf03b548f9a55f85e327e25 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 4 Jan 2020 11:56:58 +0100 Subject: Make better use of ParseState in ProcessUtility Pass ParseState into the functions called from standard_ProcessUtility() instead passing the query string and query environment separately. No functionality change, but it makes the notation consistent. We had already started moving things into that direction piece by piece, and this completes it. Reviewed-by: Pavel Stehule Discussion: https://www.postgresql.org/message-id/flat/6e7aa4a1-be6a-1a75-b1f9-83a678e5184a@2ndquadrant.com --- src/include/commands/createas.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/commands/createas.h') diff --git a/src/include/commands/createas.h b/src/include/commands/createas.h index 72c97702e40..7743851a380 100644 --- a/src/include/commands/createas.h +++ b/src/include/commands/createas.h @@ -21,7 +21,7 @@ #include "utils/queryenvironment.h" -extern ObjectAddress ExecCreateTableAs(CreateTableAsStmt *stmt, const char *queryString, +extern ObjectAddress ExecCreateTableAs(ParseState *pstate, CreateTableAsStmt *stmt, ParamListInfo params, QueryEnvironment *queryEnv, char *completionTag); extern int GetIntoRelEFlags(IntoClause *intoClause); -- cgit v1.2.3