]> granicus.if.org Git - postgresql/commit
Revert buggy optimization of index scans
authorSimon Riggs <simon@2ndQuadrant.com>
Thu, 3 Mar 2016 09:50:38 +0000 (09:50 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Thu, 3 Mar 2016 09:50:38 +0000 (09:50 +0000)
commitbf7ced5e2dc8622f88129437a9adafc0bdd83041
treeba6882b060c12d3fd3f428792bcd1553e714070d
parentf8a75881f90f88f4dc54f3692e4e1691cf2c0a91
Revert buggy optimization of index scans

606c0123d627 attempted to reduce cost of index scans using > and <
strategies, though got that completely wrong in a few complex cases.

Revert whole patch until we find a safe optimization.
src/backend/access/nbtree/nbtsearch.c
src/backend/access/nbtree/nbtutils.c
src/include/access/nbtree.h