From: Robert Paulsen <robert@paulsenonline.net>
To: pgsql-sql@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: ERROR: null value in column "id" violates not-null constraint
Date: Sat, 10 Oct 2009 14:05:26 -0500
Message-ID: <200910101405.26853.robert@paulsenonline.net> (raw)
In-Reply-To: <200910101400.47182.robert@paulsenonline.net>
References: <200910101056.24051.robert@paulsenonline.net>
<17323.1255200405@sss.pgh.pa.us>
<200910101400.47182.robert@paulsenonline.net>
On Saturday 10 October 2009 2:00 pm, Robert Paulsen wrote:
>
> So no default for id. What should it be?
>
> Something like one of this?
>
> default nextval('vault_id_seq')
>
Should have tried that before posting last message -- it worked. Thanks!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: robert@paulsenonline.net, tgl@sss.pgh.pa.us
Subject: Re: ERROR: null value in column "id" violates not-null constraint
In-Reply-To: <200910101405.26853.robert@paulsenonline.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox