Re: 8.1 Unique Index Issue/Bug??? - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: 8.1 Unique Index Issue/Bug???
Date
Msg-id 200607131755.27335.peter_e@gmx.net
Whole thread Raw
In response to 8.1 Unique Index Issue/Bug???  ("Chris Hoover" <revoohc@gmail.com>)
List 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/

pgsql-admin by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: 8.1 Unique Index Issue/Bug???
Next
From: Andy Shellam
Date:
Subject: Re: 8.1 Unique Index Issue/Bug???