Re: ERROR: null value in column "id" violates not-null constraint

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERROR: null value in column "id" violates not-null constraint
Дата
Msg-id 20765.1255205790@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ERROR: null value in column "id" violates not-null constraint  (Robert Paulsen <robert@paulsenonline.net>)
Ответы Re: ERROR: null value in column "id" violates not-null constraint  (Robert Paulsen <robert@paulsenonline.net>)
Список pgsql-sql
Robert Paulsen <robert@paulsenonline.net> writes:
> On Saturday 10 October 2009 2:00 pm, Robert Paulsen wrote:
>> So no default for id. What should it be?
>> default nextval('vault_id_seq')

> Should have tried that before posting last message -- it worked. Thanks!

So the next question is just what happened and whether you're missing
anything else from the original database state ...
        regards, tom lane


В списке pgsql-sql по дате отправления:

Предыдущее
От: Robert Paulsen
Дата:
Сообщение: Re: ERROR: null value in column "id" violates not-null constraint
Следующее
От: Robert Paulsen
Дата:
Сообщение: Re: ERROR: null value in column "id" violates not-null constraint