Add some comments about division of labor between rewriter and planner.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: efe4c9d7049f0bf832b792bfad05c92aaf86aa3c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2015-12-29T23:50:35Z
Releases: 9.6.0
Add some comments about division of labor between rewriter and planner.

The rationale for the way targetlist processing is done wasn't clearly
stated anywhere, and I for one had forgotten some of the details.  Having
just painfully re-learned them, add some breadcrumbs for the next person.

Files

PathChange+/−
src/backend/optimizer/prep/preptlist.c modified +16 −3