summaryrefslogtreecommitdiff
path: root/src/include/commands/createas.h
diff options
context:
space:
mode:
authorPeter Eisentraut2020-01-04 10:56:58 +0000
committerPeter Eisentraut2020-01-04 12:12:41 +0000
commit3fd40b628c7db4c4bcf03b548f9a55f85e327e25 (patch)
tree5db105f66b7f6b3fd753e8d43abc0455d7e25dbe /src/include/commands/createas.h
parentd2e5e20e57111cca9e14f6e5a99a186d4c66a5b7 (diff)
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 <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/[email protected]
Diffstat (limited to 'src/include/commands/createas.h')
-rw-r--r--src/include/commands/createas.h2
1 files changed, 1 insertions, 1 deletions
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);