Re: 8.1 Unique Index Issue/Bug???

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Cc: "Chris Hoover" <revoohc(at)gmail(dot)com>
Subject: Re: 8.1 Unique Index Issue/Bug???
Date: 2006-07-13 15:55:26
Message-ID: 200607131755.27335.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Am Donnerstag, 13. Juli 2006 16:40 schrieb Chris Hoover:
> On this table, I have created a unique index on payer_trn03, payer_trn04,
> and expire_timestamp. However, since the expire_timestamp is normally
> null, the unique index does not appear to be working. I have been able to
> enter two identical rows into this table.

This behavior is correct according to the SQL standard, as two null values are
not considered equal.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Stephan Szabo 2006-07-13 15:57:53 Re: 8.1 Unique Index Issue/Bug???
Previous Message Andy Shellam 2006-07-13 15:50:55 Re: 8.1 Unique Index Issue/Bug???