-
+
Indexes
x < 1
implies x < 2
; otherwise
the predicate condition must exactly match part of the query's
WHERE> condition
- or the index will not be recognized to be usable.
+ or the index will not be recognized to be usable. Matching takes
+ place at query planning time, not at run time. As a result,
+ parameterized query clauses will not work with a partial index. For
+ example a prepared query with a parameter might specify
+ x < ?
which will never imply
+ x < 2
for all possible values of the parameter.