pgsql: Teach pattern_fixed_prefix() about collations.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Teach pattern_fixed_prefix() about collations.
Date: 2011-04-11 16:28:47
Message-ID: E1Q9Jyp-0001ef-PZ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Teach pattern_fixed_prefix() about collations.

This is necessary, not optional, now that ILIKE and regexes are collation
aware --- else we might derive a wrong comparison constant for index
optimized pattern matches.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3c381a55b0fa1c4ca328211e39df8e1a715129cb

Modified Files
--------------
src/backend/optimizer/path/indxpath.c | 34 +++++----
src/backend/utils/adt/selfuncs.c | 137 +++++++++++++++++++++++----------
src/include/utils/selfuncs.h | 1 +
3 files changed, 117 insertions(+), 55 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message User Achernow 2011-04-11 18:33:30 libpqtypes - libpqtypes: added PQclearTypes, PQclearSpecs, PQinitTypes,
Previous Message Andrew Dunstan 2011-04-11 16:20:54 Re: Re: [COMMITTERS] pgsql: Don't make "replication" magical as a user name, only as a datab