From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add outfuncs.c support for RawStmt nodes. |
Date: | 2018-09-16 17:03:01 |
Message-ID: | E1g1aRp-0004Ct-6x@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Add outfuncs.c support for RawStmt nodes.
I noticed while poking at a report from Andrey Lepikhov that the
recent addition of RawStmt nodes at the top of raw parse trees
makes it impossible to print any raw parse trees whatsoever,
because outfuncs.c doesn't know RawStmt and hence fails to descend
into it.
While we generally lack outfuncs.c support for utility statements,
there is reasonably complete support for what you can find in a
raw SELECT statement. It was not my intention to make that all
dead code ... so let's add support for RawStmt.
Back-patch to v10 where RawStmt appeared.
Branch
------
REL_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/0ca27ea66a18cbf9b9bc69443df15a637f26b9b4
Modified Files
--------------
src/backend/nodes/outfuncs.c | 25 +++++++++++++++++++++++--
1 file changed, 23 insertions(+), 2 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Gierth | 2018-09-16 18:47:02 | pgsql: Fix out-of-tree build for transform modules. |
Previous Message | Bruce Momjian | 2018-09-16 15:35:46 | pgsql: doc: clarify pg_basebackup's -C/--create-slot description |