pgsql: Clean up minor collation issues in indxpath.c.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Clean up minor collation issues in indxpath.c.
Date: 2011-04-08 23:20:22
Message-ID: E1Q8KyU-000774-64@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/69f1d5fe1456229aeea3096c372eb24cedc7d597

Modified Files
--------------
src/backend/optimizer/path/indxpath.c | 103 +++++++++++++++++++-------------
1 files changed, 61 insertions(+), 42 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2011-04-09 03:12:02 pgsql: Latest consolidated typedef list from buildfarm.
Previous Message User Hinoue 2011-04-08 22:35:42 psqlodbc - psqlodbc: Resolve the trouble introduced by the change