pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Karsten Hilbert <Karsten.Hilbert@gmx.net>
To: pgsql-general@postgresql.org
Subject: Re: Case Sensitivity
Date: Thu, 13 Jan 2011 16:25:28 +0100
Message-ID: <20110113152528.218550@gmx.net> (raw)
In-Reply-To: <AANLkTi=mk9n3Szka_hy-wc8r8iBM-mHmQRmo9WPQ-hd1@mail.gmail.com>
References: <D869A69BDB32184981F31AB9349C8C9B188D1E@exch-be34.exchange.local>
	<AANLkTi=mk9n3Szka_hy-wc8r8iBM-mHmQRmo9WPQ-hd1@mail.gmail.com>

> you should to use a citext datatype
> 
> http://www.postgresql.org/docs/9.0/interactive/citext.html

Or:

- use a functional index with lower() to ensure uniqueness
- use a BEFORE trigger to lower() the inserted data

Karsten

-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl



view thread (80+ messages)  latest in thread

Message-ID: <20110113152528.218550@gmx.net>
Permalink:  ../20110113152528.218550@gmx.net/
Also on:    postgresql.org/message-id/20110113152528.218550@gmx.net

 · 

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-general@postgresql.org
  Cc: Karsten.Hilbert@gmx.net
  Subject: Re: Case Sensitivity
  In-Reply-To: <20110113152528.218550@gmx.net>

* 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