Make the planner treat empty jointrees as selecting from a new dummy RTE type

Edit
Title Make the planner treat empty jointrees as selecting from a new dummy RTE type
Topic Performance
Created 2018-10-14 22:11:23
Last modified 2018-10-14 22:11:41 (1 month ago)
Latest email 2018-10-15 03:25:09 (1 month ago)
Status
2018-11: Needs review
Authors Tom Lane (tgl)
Reviewers Become reviewer
Committer
Links
Emails
"SELECT ... FROM DUAL" is not quite as silly as it appears
First at 2018-03-15 15:27:44 by Tom Lane <tgl at sss.pgh.pa.us>
Latest at 2018-10-15 03:25:09 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (get-rid-of-empty-jointrees-2.patch) at 2018-10-15 03:25:09 from Tom Lane <tgl at sss.pgh.pa.us>
    Attachment (get-rid-of-empty-jointrees-2.patch) at 2018-10-15 03:25:09 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (get-rid-of-empty-jointrees-1.patch) at 2018-10-14 22:04:12 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
History
When Who What
2018-10-14 22:11:41 Tom Lane (tgl) Changed authors to Tom Lane (tgl)
2018-10-14 22:11:23 Tom Lane (tgl) Attached mail thread 15944.1521127664@sss.pgh.pa.us
2018-10-14 22:11:23 Tom Lane (tgl) Created patch record
Edit