pgsql: Remove dead code from nbtsplitloc.c.

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема pgsql: Remove dead code from nbtsplitloc.c.
Дата
Msg-id E1h88rS-0002IH-Ho@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Avoid double-free in vacuumlo error path.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Make heap TID a tiebreaker nbtree index column.