Re: NULL value vs. DEFAULT value.

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: NULL value vs. DEFAULT value.
Дата
Msg-id 4D76479A.30607@iol.ie
обсуждение исходный текст
Ответ на NULL value vs. DEFAULT value.  ("James B. Byrne" <byrnejb@harte-lyne.ca>)
Список 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 по дате отправления:

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: NULL value vs. DEFAULT value.
Следующее
От: "Igor Neyman"
Дата:
Сообщение: Re: Why count(*) doest use index?