]> granicus.if.org Git - postgresql/commit
Clean up minor collation issues in indxpath.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Apr 2011 23:19:17 +0000 (19:19 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Apr 2011 23:19:17 +0000 (19:19 -0400)
commit69f1d5fe1456229aeea3096c372eb24cedc7d597
tree2b916c4749b4d24d3f644fbf06abca3095822095
parent466dac8656c11317b91c1a4bfd5cfca4508cba94
Clean up minor collation issues in indxpath.c.

Get rid of bogus collation test in match_special_index_operator (even for
ILIKE, the pattern match operator's collation doesn't matter here, and even
if it did the test was testing the wrong thing).
Fix broken looping logic in expand_indexqual_rowcompare.
Add collation check in match_clause_to_ordering_op.
Make naming and argument ordering more consistent; improve comments.
src/backend/optimizer/path/indxpath.c