]> granicus.if.org Git - postgresql/commit
When testing usability of a partial index, recognize that an index
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 7 Mar 2004 05:43:53 +0000 (05:43 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 7 Mar 2004 05:43:53 +0000 (05:43 +0000)
commitbc19d6641a1dbb6ce227b0fdd2de1635aa2bc91b
tree3edd6d11f251227a9f92252db11bf8dd9422dc64
parent5ae38167cfe6abd632f9e4459320b63b67563122
When testing usability of a partial index, recognize that an index
predicate of the form 'foo IS NOT NULL' is implied by a WHERE clause
that uses 'foo' in any strict operator or function.  Per suggestion
and preliminary implementation by John Siracusa; some further hacking
by moi.
src/backend/optimizer/path/indxpath.c