pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Clean up handling of dropped columns in NAMEDTUPLESTORE RTEs.
2+ messages / 1 participants
[nested] [flat]

* pgsql: Clean up handling of dropped columns in NAMEDTUPLESTORE RTEs.
@ 2017-09-06 14:41 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2017-09-06 14:41 UTC (permalink / raw)
  To: pgsql-committers

Clean up handling of dropped columns in NAMEDTUPLESTORE RTEs.

The NAMEDTUPLESTORE patch piggybacked on the infrastructure for
TABLEFUNC/VALUES/CTE RTEs, none of which can ever have dropped columns,
so the possibility was ignored most places.  Fix that, including adding a
specification to parsenodes.h about what it's supposed to look like.

In passing, clean up assorted comments that hadn't been maintained
properly by said patch.

Per bug #14799 from Philippe Beaudoin.  Back-patch to v10.

Discussion: https://postgr.es/m/20170906120005.25630.84360@wrigleys.postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8689e38263af7755b8100203e325a5953ed1e602

Modified Files
--------------
src/backend/optimizer/util/relnode.c |  4 +-
src/backend/parser/parse_relation.c  | 98 ++++++++++++++++++++++++------------
src/backend/parser/parse_target.c    |  4 +-
src/backend/utils/adt/ruleutils.c    |  4 +-
src/include/nodes/parsenodes.h       |  5 ++
5 files changed, 77 insertions(+), 38 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Clean up handling of dropped columns in NAMEDTUPLESTORE RTEs.
@ 2017-09-06 14:41 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2017-09-06 14:41 UTC (permalink / raw)
  To: pgsql-committers

Clean up handling of dropped columns in NAMEDTUPLESTORE RTEs.

The NAMEDTUPLESTORE patch piggybacked on the infrastructure for
TABLEFUNC/VALUES/CTE RTEs, none of which can ever have dropped columns,
so the possibility was ignored most places.  Fix that, including adding a
specification to parsenodes.h about what it's supposed to look like.

In passing, clean up assorted comments that hadn't been maintained
properly by said patch.

Per bug #14799 from Philippe Beaudoin.  Back-patch to v10.

Discussion: https://postgr.es/m/20170906120005.25630.84360@wrigleys.postgresql.org

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/483882905a9a5dc72c9487ceee12320b9630ba2b

Modified Files
--------------
src/backend/optimizer/util/relnode.c |   4 +-
src/backend/parser/parse_relation.c  | 103 +++++++++++++++++++++++------------
src/backend/parser/parse_target.c    |   4 +-
src/backend/utils/adt/ruleutils.c    |   4 +-
src/include/nodes/parsenodes.h       |   5 ++
5 files changed, 79 insertions(+), 41 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2017-09-06 14:41 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-09-06 14:41 pgsql: Clean up handling of dropped columns in NAMEDTUPLESTORE RTEs. Tom Lane <tgl@sss.pgh.pa.us>
2017-09-06 14:41 pgsql: Clean up handling of dropped columns in NAMEDTUPLESTORE RTEs. Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox