Re: BUG #1816: Insert null values on a null field

From: Richard Huxton <dev(at)archonet(dot)com>
To: Rafael BArrios <rbarrios(at)emdis(dot)net(dot)co>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1816: Insert null values on a null field
Date: 2005-08-10 15:23:06
Message-ID: 42FA1BDA.9060003@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Rafael BArrios wrote:
> Description: Insert null values on a null field
>
> I have a table wich is referenced as foreing key for others, the problem is,
> in my case my table is composed of 4 fields, 2 of them are FK but all of
> them are not null by definition. If i insert the data for the FK and leave
> the other 2 empty (null), the DB accept and insert the record without any
> problem.

Can you provide definitions of both tables and and example of an insert
that should fail.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Richard Huxton 2005-08-10 15:26:42 Re: BUG #1817: column not exist
Previous Message Mahesh Shinde 2005-08-10 12:30:41 Help Needed