pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jonathan S. Katz <jonathan.katz@excoventures.com>
To: Jakob.Witczak@dlr.de
Cc: pgsql-sql@postgresql.org
Subject: Re: German "umlaut insensitive" query
Date: Fri, 20 Sep 2019 08:17:15 -0400
Message-ID: <DA29F2FD-A2DC-4CA0-81D5-283D9A17B548@excoventures.com> (raw)
In-Reply-To: <242EFA74EBC4CE45AD34310EEB2145E70E498596@DLDEFFMIMP03EXC.intra.dlr.de>
References: <242EFA74EBC4CE45AD34310EEB2145E70E498596@DLDEFFMIMP03EXC.intra.dlr.de>


> On Sep 20, 2019, at 4:36 AM, <Jakob.Witczak@dlr.de> <Jakob.Witczak@dlr.de> wrote:
> 
> Hi,
> 
> i found an entry from 2004, where it is about the German Umlaute and i have the same problem.
> https://www.postgresql.org/message-id/4135E7F5.4070002%40stroetgen.de <https://www.postgresql.org/message-id/4135E7F5.4070002%40stroetgen.de;
> 
> I also found this article:
> https://dba.stackexchange.com/questions/195502/postgres-collate-example-in-select <https://dba.stackexchange.com/questions/195502/postgres-collate-example-in-select;
> 
> Are there other possibilities today (for example COLLATE) besides replace() to process the German Umlaute?
> In the long term, we also want to use it for other countries.

There is a feature in the upcoming PostgreSQL 12 release that
allows for accent insensitive queries:

https://www.postgresql.org/docs/12/collation.html#COLLATION-NONDETERMINISTIC <https://www.postgresql.org/docs/12/collation.html#COLLATION-NONDETERMINISTIC;
This is part of PostgreSQL’s support for ICU collations.

Thanks,

Jonathan

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (5+ messages)

Message-ID: <DA29F2FD-A2DC-4CA0-81D5-283D9A17B548@excoventures.com>
Permalink:  ../DA29F2FD-A2DC-4CA0-81D5-283D9A17B548@excoventures.com/
Also on:    postgresql.org/message-id/DA29F2FD-A2DC-4CA0-81D5-283D9A17B548@excoventures.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jonathan.katz@excoventures.com, Jakob.Witczak@dlr.de
  Subject: Re: German "umlaut insensitive" query
  In-Reply-To: <DA29F2FD-A2DC-4CA0-81D5-283D9A17B548@excoventures.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