Re: Cryptic Error Message Importing Table Dump

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
Subject: Re: Cryptic Error Message Importing Table Dump
Date: 2011-09-15 13:57:45
Message-ID: 201109150657.45749.adrian.klaver@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thursday, September 15, 2011 6:24:42 am Rich Shepard wrote:
> On Thu, 15 Sep 2011, Alban Hertroys wrote:

>
> Each row terminates with a \n; when the cursor is at the row end and I
> press ctrl-f (move one character forward), the cursor is at the beginning
> of the next line.
>
> I'm confused about your statement that a tab is not valid for the 'real'
> column. There are tabs between that column and adjacent ones, but no tabs
> within any text column (only one of which has multiple strings).
>
> Could the error be far from the reported line 47363 but that's where
> psql stopped? I've not been able to think of a way to check the entire
> file for an extra tab as the length of each column's content varies.
>
> Still perplexed,

In your editing of the file did you happen to edit out the \.
that is at the end of the COPY data?

>
> Rich

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2011-09-15 14:03:28 Re: pg_dump with select command
Previous Message Ondrej Ivanič 2011-09-15 13:55:29 Re: share nothing but reads cluster