Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

Michael Fuhr

In response to

pgsql-admin by date

Next:From: Michael FuhrDate: 2004-11-22 01:56:12
Subject: Re: Stamping rows...
Previous:From: Nicholas WalkerDate: 2004-11-20 05:58:56
Subject: Escape Quoting

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group