Re: Create Table Unique problem... bug?

From: Nabil Sayegh <nas(at)e-trolley(dot)de>
To: Mauro Bertoli <bertolima(at)yahoo(dot)it>
Cc: pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Create Table Unique problem... bug?
Date: 2003-05-28 13:50:26
Message-ID: 1054129826.1504.10.camel@billy
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Am Mit, 2003-05-28 um 15.34 schrieb Mauro Bertoli:
> and re-insert it... I can!!!! Now there are two
> identical row, and UNIQUE??
> I think postgres must occur an error? Is it Ok?
>
> (The same problem is with:
> INSERT INTO questiontypes (id,label) values (2,'a');
> Is it ok?)

I don't know the answer to your question, but I think the problem could
be that you NULL compared with anything will always be undefined.

e.g. NULL=NULL is false

maybe: (NULL,'a')=(NULL,'a') is false, too ?

bye
--
e-Trolley Sayegh & John, Nabil Sayegh
Tel.: 0700 etrolley /// 0700 38765539
Fax.: +49 69 8299381-8
PGP : http://www.e-trolley.de

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message papapep 2003-05-28 13:51:15 Re: Inserting data of two other tables [Now deleting ...]
Previous Message Mauro Bertoli 2003-05-28 13:34:41 Create Table Unique problem... bug?