X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 031663A4F90 for ; Sun, 21 Nov 2004 08:43:50 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 91880-09 for ; Sun, 21 Nov 2004 08:43:44 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id 27DC73A4F77 for ; Sun, 21 Nov 2004 08:43:45 +0000 (GMT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.1/8.13.1) with ESMTP id iAL8hftc007758 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 21 Nov 2004 01:43:44 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.1/8.13.1) with ESMTP id iAL8hfRd067244; Sun, 21 Nov 2004 01:43:41 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.1/8.13.1/Submit) id iAL8hfPw067243; Sun, 21 Nov 2004 01:43:41 -0700 (MST) (envelope-from mfuhr) Date: Sun, 21 Nov 2004 01:43:41 -0700 From: Michael Fuhr To: Fred Wohlfert Cc: pgsql-admin@postgresql.org Subject: Re: error loading data with copy Message-ID: <20041121084341.GA67194@winnie.fuhr.org> References: <419B7F99.1080407@ehbmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <419B7F99.1080407@ehbmail.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/159 X-Sequence-Number: 15543 On Wed, Nov 17, 2004 at 11:43:05AM -0500, Fred Wohlfert wrote: > *ham-existing=# \copy invst from '/home/fmwdba/transcoma' using > delimiters ',' > \. > ERROR: value too long for type character(7) > CONTEXT: COPY invst, line 1, column stknum: "'0020338'" Looks like the stknum values in the file have extraneous single quotes. -- Michael Fuhr http://www.fuhr.org/~mfuhr/