pgsql: Remove duplicate code in planner.c.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove duplicate code in planner.c.
Date: 2017-02-14 16:47:59
Message-ID: E1cdgGl-0001u3-RB@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-02-14 17:08:04 Re: Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p
Previous Message Fujii Masao 2017-02-14 16:27:01 pgsql: Replace reference to "xlog-method" with "wal-method" in error me