Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 7B102632F1D for ; Sat, 10 Oct 2009 18:12:48 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 27831-05 for ; Sat, 10 Oct 2009 21:12:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id A005A632505 for ; Sat, 10 Oct 2009 18:12:40 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id n9ALCVKf022205; Sat, 10 Oct 2009 17:12:31 -0400 (EDT) To: Robert Paulsen cc: pgsql-sql@postgresql.org Subject: Re: ERROR: null value in column "id" violates not-null constraint In-reply-to: <200910101529.15690.robert@paulsenonline.net> References: <200910101056.24051.robert@paulsenonline.net> <200910101405.26853.robert@paulsenonline.net> <20765.1255205790@sss.pgh.pa.us> <200910101529.15690.robert@paulsenonline.net> Comments: In-reply-to Robert Paulsen message dated "Sat, 10 Oct 2009 15:29:15 -0500" Date: Sat, 10 Oct 2009 17:12:31 -0400 Message-ID: <22204.1255209151@sss.pgh.pa.us> From: Tom Lane 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/47 X-Sequence-Number: 33246 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