summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2016-03-03 09:50:38 +0000
committerSimon Riggs <simon@2ndQuadrant.com>2016-03-03 09:50:38 +0000
commitbf7ced5e2dc8622f88129437a9adafc0bdd83041 (patch)
treeba6882b060c12d3fd3f428792bcd1553e714070d /src/include
parentf8a75881f90f88f4dc54f3692e4e1691cf2c0a91 (diff)
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.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/access/nbtree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/access/nbtree.h b/src/include/access/nbtree.h
index 9e48efd8292..1b0c649c91d 100644
--- a/src/include/access/nbtree.h
+++ b/src/include/access/nbtree.h
@@ -644,7 +644,6 @@ typedef BTScanOpaqueData *BTScanOpaque;
*/
#define SK_BT_REQFWD 0x00010000 /* required to continue forward scan */
#define SK_BT_REQBKWD 0x00020000 /* required to continue backward scan */
-#define SK_BT_MATCHED 0x00040000 /* required to skip further key match */
#define SK_BT_INDOPTION_SHIFT 24 /* must clear the above bits */
#define SK_BT_DESC (INDOPTION_DESC << SK_BT_INDOPTION_SHIFT)
#define SK_BT_NULLS_FIRST (INDOPTION_NULLS_FIRST << SK_BT_INDOPTION_SHIFT)