From: Holger Jakobs <holger@jakobs.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: postgresql database use a case insensitive collation
Date: Wed, 25 May 2022 09:33:32 +0200
Message-ID: <0ac62809-eb35-75f4-2fb6-c92cc590bff0@jakobs.com> (raw)
In-Reply-To: <CANveA+3V6K-G9V0P2BiHAcoFkcrOkJheCWAB-w8RLWzTqqLo2g@mail.gmail.com>
References: <CANveA+3V6K-G9V0P2BiHAcoFkcrOkJheCWAB-w8RLWzTqqLo2g@mail.gmail.com>
Am 25.05.22 um 08:19 schrieb Dennis:
> Hi,
>
> How to make configuration my postgresql database use a case
> insensitive collation?
>
> Dennis
Hi Dennis,
you may use the data type citext (case insensitive text). It's not
builtin, but an extension, which has to be activated in every database with
CREATE EXTENSION citext;
Regards,
Holger
--
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012
Attachments:
OpenPGP_signature (application/pgp-signature, 202B) download
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-admin@postgresql.org
Cc: holger@jakobs.com, pgsql-admin@lists.postgresql.org
Subject: Re: postgresql database use a case insensitive collation
In-Reply-To: <0ac62809-eb35-75f4-2fb6-c92cc590bff0@jakobs.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