Обсуждение: pgsql: Remove dead code from nbtsplitloc.c.

Поиск
Список
Период
Сортировка

pgsql: Remove dead code from nbtsplitloc.c.

От
Peter Geoghegan
Дата:
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(-)