Re: error loading data with copy

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Fred Wohlfert <fredwohlfert(at)ehbmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: error loading data with copy
Date: 2004-11-21 08:43:41
Message-ID: 20041121084341.GA67194@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Fuhr 2004-11-22 01:56:12 Re: Stamping rows...
Previous Message Nicholas Walker 2004-11-20 05:58:56 Escape Quoting