From: Michael Fuhr <mike@fuhr.org>
To: Fred Wohlfert <fredwohlfert@ehbmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: error loading data with copy
Date: Sun, 21 Nov 2004 01:43:41 -0700
Message-ID: <20041121084341.GA67194@winnie.fuhr.org> (raw)
In-Reply-To: <419B7F99.1080407@ehbmail.com>
References: <419B7F99.1080407@ehbmail.com>
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/
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mike@fuhr.org, fredwohlfert@ehbmail.com
Subject: Re: error loading data with copy
In-Reply-To: <20041121084341.GA67194@winnie.fuhr.org>
References: <419B7F99.1080407@ehbmail.com> <20041121084341.GA67194@winnie.fuhr.org>
* 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