From: Tom Lane <tgl@sss.pgh.pa.us>
To: Martijn van Oosterhout <kleptog@svana.org>
Cc: Frank Millman <frank@chagford.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Case sensitivity
Date: Tue, 09 Aug 2005 11:02:47 -0400
Message-ID: <16183.1123599767@sss.pgh.pa.us> (raw)
In-Reply-To: <20050809095743.GB8244@svana.org>
References: <42F72C06.8000000@archonet.com>
<VPOP32.1.0e.20050809093619.625.7.1.a40c1f81@chagford.com>
<20050809095743.GB8244@svana.org>
Martijn van Oosterhout <kleptog@svana.org> writes:
> Another option would be to create a new datatype 'itext' which works
> like text except it compares case insensetively. PostgreSQL is flexible
> like that. Here's something to get you started, see below for example.
> http://svana.org/kleptog/pgsql/type_itext.sql> At the moment it uses SQL functions for the comparisons, for production
> you'd probably want to have them in C for performance.
I believe there is a C-coded type like this on gborg ("citext" is the
name I think).
regards, tom lane
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, kleptog@svana.org, frank@chagford.com
Subject: Re: Case sensitivity
In-Reply-To: <16183.1123599767@sss.pgh.pa.us>
* 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