Re: BUG #1816: Insert null values on a null field - Mailing list pgsql-bugs

From Richard Huxton
Subject Re: BUG #1816: Insert null values on a null field
Date
Msg-id 42FA1BDA.9060003@archonet.com
Whole thread Raw
In response to BUG #1816: Insert null values on a null field  ("Rafael BArrios" <rbarrios@emdis.net.co>)
List 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

pgsql-bugs by date:

Previous
From: Richard Huxton
Date:
Subject: Re: BUG #1817: column not exist
Next
From: Richard Huxton
Date:
Subject: Re: Help Needed