pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andreas <maps.on@gmx.net>
Cc: Joshua Tolley <eggyknap@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Howto have a unique restraint on UPPER (textfield)
Date: Sun, 31 Jan 2010 16:07:46 -0500
Message-ID: <16294.1264972066@sss.pgh.pa.us> (raw)
In-Reply-To: <4B65EC9C.6000606@gmx.net>
References: <4B64EA46.60605@gmx.net>
	<4b64f184.9613f30a.5d13.01b2@mx.google.com>
	<4B65EC9C.6000606@gmx.net>

Andreas <maps.on@gmx.net> writes:
> So I had the missconception that UNIQUE (...) within CREATE TABLE (...) 
> was actually just an shorter way to define a unique index which it is not.

Well, it is that --- it just doesn't provide access to all the features
that CREATE INDEX does.

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <16294.1264972066@sss.pgh.pa.us>
Permalink:  ../16294.1264972066@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16294.1264972066@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, maps.on@gmx.net, eggyknap@gmail.com
  Subject: Re: Howto have a unique restraint on UPPER (textfield)
  In-Reply-To: <16294.1264972066@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