pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Kretschmer <andreas@a-kretschmer.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: case and accent insensitive
Date: Sat, 24 Mar 2018 15:49:55 +0100
Message-ID: <89c707df-8d80-81ac-2a0b-e704e97bda26@a-kretschmer.de> (raw)
In-Reply-To: <CAJW3KKZxhgB_F8R8ED63LDnp8QwBZTvR1cfvFag7VtpduK_qCQ@mail.gmail.com>
References: <CAJW3KKZxhgB_F8R8ED63LDnp8QwBZTvR1cfvFag7VtpduK_qCQ@mail.gmail.com>



Am 23.03.2018 um 23:04 schrieb MOISES ESPINOSA:
> I don't know how i could reproduced case insensitive and accent 
> insensitive.

Maybe you can use lower() for case insensitive or citext for the same 
(https://www.postgresql.org/docs/10/static/citext.html) and the 
unaccent-extension
for the accent insensitive 
(https://www.postgresql.org/docs/10/static/unaccent.html)

*untested*


Regards, Andreas

-- 
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com





view thread (4+ messages)

Message-ID: <89c707df-8d80-81ac-2a0b-e704e97bda26@a-kretschmer.de>
Permalink:  ../89c707df-8d80-81ac-2a0b-e704e97bda26@a-kretschmer.de/
Also on:    postgresql.org/message-id/89c707df-8d80-81ac-2a0b-e704e97bda26@a-kretschmer.de

 · 

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 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: andreas@a-kretschmer.de
  Subject: Re: case and accent insensitive
  In-Reply-To: <89c707df-8d80-81ac-2a0b-e704e97bda26@a-kretschmer.de>
  References: <CAJW3KKZxhgB_F8R8ED63LDnp8QwBZTvR1cfvFag7VtpduK_qCQ@mail.gmail.com> <89c707df-8d80-81ac-2a0b-e704e97bda26@a-kretschmer.de>

* 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