Thread: [COMMITTERS] pgsql: Remove duplicate code in planner.c.

[COMMITTERS] pgsql: Remove duplicate code in planner.c.

From
Tom Lane
Date:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8d396a0a7046438ced8d8ada6ceb7c0756e58351

Modified Files
--------------
src/backend/optimizer/plan/planner.c | 48 +-----------------------------------
1 file changed, 1 insertion(+), 47 deletions(-)