Re: Custom collations, collation modifiers (eg case-insensitive) - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Custom collations, collation modifiers (eg case-insensitive)
Date
Msg-id 20140121161700.GI10723@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: Custom collations, collation modifiers (eg case-insensitive)  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: Custom collations, collation modifiers (eg case-insensitive)  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Craig Ringer wrote:

> (I intensely dislike the idea of ignoring accents, but it's something
> some people appear to need/want, and is supported by other vendors).

FWIW at least in spanish, users always want to search for entries
ignoring accents.  Nowadays I think most turn to unaccent(), but before
that was written people resorted to calling transform() on both the
stored data and the user-entered query, so that all pertinent matches
would be found.  People would even create indexes on the unaccented data
to speed this up.  It's an important feature, not a corner case by any
means.

Not sure about other languages.  For instance perhaps in French they
would be interested in ignoring some accents but not others.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: currawong is not a happy animal
Next
From: Stephen Frost
Date:
Subject: Re: proposal: hide application_name from other users