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]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3fd40b628c7db4c4bcf03b548f9a55f85e327e25

Modified Files
--------------
src/backend/commands/createas.c   |  6 ++---
src/backend/commands/explain.c    |  7 +++---
src/backend/commands/portalcmds.c |  9 ++++---
src/backend/commands/prepare.c    | 52 +++++++++++++++------------------------
src/backend/tcop/utility.c        | 20 +++++++--------
src/include/commands/createas.h   |  2 +-
src/include/commands/explain.h    |  4 +--
src/include/commands/portalcmds.h |  5 ++--
src/include/commands/prepare.h    |  7 +++---
9 files changed, 51 insertions(+), 61 deletions(-)

Reply via email to