From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Make better use of ParseState in ProcessUtility |
Date: | 2020-01-04 12:18:27 |
Message-ID: | E1iniNv-0002qy-Ge@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)stehule(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/6e7aa4a1-be6a-1a75-b1f9-83a678e5184a(at)2ndquadrant(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2020-01-04 18:19:28 | Re: pgsql: Add basic TAP tests for psql's tab-completion logic. |
Previous Message | Peter Geoghegan | 2020-01-04 07:01:59 | Re: pgsql: Add basic TAP tests for psql's tab-completion logic. |