Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 1E6FF632F1D for ; Sat, 10 Oct 2009 19:37:00 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 61653-05 for ; Sat, 10 Oct 2009 22:36:43 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.ecpi.com (mail.ecpi.com [64.128.16.3]) by mail.postgresql.org (Postfix) with ESMTP id 4723E632662 for ; Sat, 10 Oct 2009 19:36:49 -0300 (ADT) Received: (qmail 67937 invoked by uid 89); 10 Oct 2009 22:36:34 -0000 Received: from unknown (HELO paulsen.homeip.net) (64.128.19.172) by mail4.ecpi.com with SMTP; 10 Oct 2009 22:36:34 -0000 Received: by paulsen.homeip.net (Postfix, from userid 1000) id 9382C11CB11; Sat, 10 Oct 2009 17:36:46 -0500 (CDT) From: Robert Paulsen To: pgsql-sql@postgresql.org Subject: Re: ERROR: null value in column "id" violates not-null constraint Date: Sat, 10 Oct 2009 17:36:46 -0500 User-Agent: KMail/1.9.1 Cc: Tom Lane References: <200910101056.24051.robert@paulsenonline.net> <200910101529.15690.robert@paulsenonline.net> <22204.1255209151@sss.pgh.pa.us> In-Reply-To: <22204.1255209151@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910101736.46449.robert@paulsenonline.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200910/48 X-Sequence-Number: 33247 On Saturday 10 October 2009 4:12 pm, Tom Lane wrote: > Robert Paulsen writes: > > I do have a question, though, I fixed things as indicated above: > > id integer DEFAULT nextval('vault_id_seq') NOT NULL, > > Dump gave back > > id integer DEFAULT nextval('vault_id_seq'::text) NOT NULL, > > That "text" seems odd. Should I change it? > > That's all there is in 8.0 ... > > regards, tom lane Thanks!