Re: FK issue

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: mike <mike(at)bristolreccc(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: FK issue
Date: 2004-06-10 16:00:53
Message-ID: 25334.1086883253@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

mike <mike(at)bristolreccc(dot)co(dot)uk> writes:
> INSERT INTO lk_sort_of_contact (type_code) VALUES ('1') (ie: a NULL into
> the FK) it works

> Is this a bug?

No. Mark the column NOT NULL if you wish to disallow nulls.

regards, tom lane

In response to

  • FK issue at 2004-06-10 15:21:53 from mike

Browse pgsql-general by date

  From Date Subject
Next Message Uwe C. Schroeder 2004-06-10 16:03:04 Re: FK issue
Previous Message John Wells 2004-06-10 16:00:44 Re: Large table search question