From: Max <maxabbr@yahoo.com.br>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Case and accent insensitive
Date: Tue, 26 Jan 2016 11:06:12 +0000 (UTC)
Message-ID: <1461523717.1243810.1453806372489.JavaMail.yahoo@mail.yahoo.com> (raw)
References: <1461523717.1243810.1453806372489.JavaMail.yahoo.ref@mail.yahoo.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
Is there a collation for case and accent insensitive filter? I just found the use of operators like ILIKE ou CITEXT module but I can't use ILIKE in the queries and the CITEXT is a field-by-field solution for the case insensitive part of the problem. I also found the unaccent text search dictionary that could help with the accent part.
In the MySQL world we have the database level collation latin1_swedish_ci where 'maca' = 'Maçã' is true and no field level configuration is required.
This database is hosted in Amazon Cloud so I'm also limited by what I can do in this environment.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: maxabbr@yahoo.com.br
Subject: Re: Case and accent insensitive
In-Reply-To: <1461523717.1243810.1453806372489.JavaMail.yahoo@mail.yahoo.com>
References: <1461523717.1243810.1453806372489.JavaMail.yahoo.ref@mail.yahoo.com> <1461523717.1243810.1453806372489.JavaMail.yahoo@mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox