postgresql/src/backend
Tom Lane 8689e38263 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
2017-09-06 10:41:05 -04:00
..
access Use group updates when setting transaction status in clog. 2017-09-01 11:45:40 -04:00
bootstrap Remove unnecessary parentheses in return statements 2017-09-05 14:52:55 -04:00
catalog Tighten up some code in RelationBuildPartitionDesc. 2017-09-01 15:16:44 -04:00
commands Add a WAIT option to DROP_REPLICATION_SLOT 2017-09-01 13:44:14 +02:00
executor Improve division of labor between execParallel.c and nodeGather[Merge].c. 2017-09-01 17:39:01 -04:00
foreign
lib Suppress compiler warnings in dshash.c. 2017-09-03 11:12:29 -04:00
libpq Clean up shm_mq cleanup. 2017-08-31 15:10:24 -04:00
main Change pg_ctl to detect server-ready by watching status in postmaster.pid. 2017-06-28 17:31:32 -04:00
nodes Force rescanning of parallel-aware scan nodes below a Gather[Merge]. 2017-08-30 09:29:55 -04:00
optimizer Clean up handling of dropped columns in NAMEDTUPLESTORE RTEs. 2017-09-06 10:41:05 -04:00
parser Clean up handling of dropped columns in NAMEDTUPLESTORE RTEs. 2017-09-06 10:41:05 -04:00
po Translation updates 2017-08-07 13:55:34 -04:00
port Change pg_ctl to detect server-ready by watching status in postmaster.pid. 2017-06-28 17:31:32 -04:00
postmaster Use group updates when setting transaction status in clog. 2017-09-01 11:45:40 -04:00
regex Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
replication Correct base backup throttling 2017-09-05 17:27:30 +02:00
rewrite Change tupledesc->attrs[n] to TupleDescAttr(tupledesc, n). 2017-08-20 11:19:07 -07:00
snowball Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
statistics Remove obsolete comments about functional dependencies 2017-07-26 11:40:39 -04:00
storage Use group updates when setting transaction status in clog. 2017-09-01 11:45:40 -04:00
tcop Add memory info to getrusage output 2017-09-01 15:36:33 -04:00
tsearch Remove unnecessary parentheses in return statements 2017-09-05 14:52:55 -04:00
utils Clean up handling of dropped columns in NAMEDTUPLESTORE RTEs. 2017-09-06 10:41:05 -04:00
.gitignore
common.mk
Makefile Inject $(ICU_LIBS) regardless of platform. 2017-08-20 21:22:18 -07:00
nls.mk