From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Remove dead code from nbtsplitloc.c. |
Date: | 2019-03-24 19:32:50 |
Message-ID: | E1h88rS-0002IH-Ho@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Remove dead code from nbtsplitloc.c.
It doesn't make sense to consider the possibility that there will only
be one candidate split point when choosing among split points to find
the split with the lowest penalty. This is a vestige of an earlier
version of the patch that became commit fab25024.
Issue spotted while rereviewing coverage of the nbtree patch series
using gcov.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/59ab3be9e4d3e3cdf03bada2f6fb3d71a1e42908
Modified Files
--------------
src/backend/access/nbtree/nbtsplitloc.c | 20 ++++++--------------
1 file changed, 6 insertions(+), 14 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2019-03-24 20:47:33 | Re: pgsql: Make heap TID a tiebreaker nbtree index column. |
Previous Message | Tom Lane | 2019-03-24 19:13:39 | pgsql: Avoid double-free in vacuumlo error path. |