Re: Custom collations, collation modifiers (eg case-insensitive)

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Custom collations, collation modifiers (eg case-insensitive)
Date: 2014-01-21 16:17:00
Message-ID: 20140121161700.GI10723@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2014-01-21 16:18:33 Re: proposal: hide application_name from other users
Previous Message Robert Haas 2014-01-21 16:15:18 Re: currawong is not a happy animal