]> granicus.if.org Git - postgresql/commit
Allow binary-compatible indices to be considered when checking for valid
authorThomas G. Lockhart <lockhart@fourpalms.org>
Fri, 14 Aug 1998 16:13:07 +0000 (16:13 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Fri, 14 Aug 1998 16:13:07 +0000 (16:13 +0000)
commit6912beea706177ad4562cf3f238c172a73fd763b
tree16545c7c338ce488e3b6349ec0314d6462116aea
parent94f42ed3894ca4de85b47b308d29badb862eee9e
Allow binary-compatible indices to be considered when checking for valid
 indices for restriction clauses containing a constant.
Note that if an index does not match directly (usually because the types
 on both side of the clause don't match), and if a binary-compatible index
 is identified, then the operator function will be replaced by a new
 one. Should not be a problem, but be sure that if types are listed as
 being binary compatible (in parse_coerce.h) then the comparison functions
 are also binary-compatible, giving equivalent results.
src/backend/optimizer/path/indxpath.c