pgsql: Make better use of ParseState in ProcessUtility - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Make better use of ParseState in ProcessUtility
Date
Msg-id E1iniNv-0002qy-Ge@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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 <pavel.stehule@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/6e7aa4a1-be6a-1a75-b1f9-83a678e5184a@2ndquadrant.com

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(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: pgsql: Add xl_btree_delete optimization.
Next
From: Tom Lane
Date:
Subject: pgsql: Make tab-completion tests more robust.