Unique Index

From: Alex <alex(at)meerkatsoft(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Unique Index
Date: 2005-01-19 14:35:32
Message-ID: 41EE7034.6070803@meerkatsoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

i have a unique index on a table over multiple columns. If now one of
the records has a null value in one of the indexed columns i can insert
the same record multiple times.

Is this a problem within postgres or expected?

Example:

index unique, btree (colA, colB, colC);

would still allow me to insert

AAAA, ,CCCC
AAAA, ,CCCC

Thanks for any help on that.
A

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robby Russell 2005-01-19 14:35:53 Re: [GENERAL] PostgreSQL 8.0.0 Released
Previous Message Martijn van Oosterhout 2005-01-19 14:34:23 Re: Infinite recursion detected... How do I prevent that?