]> granicus.if.org Git - postgresql/commit
Remove dead code from nbtsplitloc.c.
authorPeter Geoghegan <pg@bowt.ie>
Sun, 24 Mar 2019 19:28:58 +0000 (12:28 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Sun, 24 Mar 2019 19:28:58 +0000 (12:28 -0700)
commit59ab3be9e4d3e3cdf03bada2f6fb3d71a1e42908
treee914d43a2dcdd47ec046259ab81ee89e1c8f1a79
parentbd9396a0b2d42497f1196af74b327e00cb6af435
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.
src/backend/access/nbtree/nbtsplitloc.c