Remove duplicate code in planner.c.
Tom Lane <tgl@sss.pgh.pa.us>
Remove duplicate code in planner.c. I noticed while hacking on join UNION transforms that planner.c's function get_base_rel_indexes() just duplicates the functionality of get_relids_in_jointree(). It doesn't even have the excuse of being older code :-(. Drop it and use the latter function instead.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/optimizer/plan/planner.c | modified | +1 −47 |