Re: NULL value vs. DEFAULT value. - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: NULL value vs. DEFAULT value.
Date
Msg-id 4D76479A.30607@iol.ie
Whole thread Raw
In response to NULL value vs. DEFAULT value.  ("James B. Byrne" <byrnejb@harte-lyne.ca>)
List pgsql-general
On 08/03/2011 14:54, James B. Byrne wrote:
> My question is:  Why am I getting a NULL exception?  Should I only
> specify DEFAULT and drop the NOT NULL constraint?

Good question. Are you trying to insert an explicit NULL?

Can you show us your INSERT statement?

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

pgsql-general by date:

Previous
From: Thom Brown
Date:
Subject: Re: NULL value vs. DEFAULT value.
Next
From: "Igor Neyman"
Date:
Subject: Re: Why count(*) doest use index?