Re: ERROR: invalid input syntax for integer: - Mailing list pgsql-novice

From e-letter
Subject Re: ERROR: invalid input syntax for integer:
Date
Msg-id CAET1fe6a+12f8fhFy73HAdUc_RAzQ9CJbVuxkXx48KZRgdTUwA@mail.gmail.com
Whole thread Raw
In response to Re: ERROR: invalid input syntax for integer:  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
On 22/09/2011, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> I don't believe that \copy will default to assuming that the file is in
> csv format.  You probably need to add "format csv" or something similar
> to that command.

Thanks; for the benefit of others, import was successful when the
above \copy command was appended with:

csv

When the csv file had no header columns.

pgsql-novice by date:

Previous
From: James Hartley
Date:
Subject: Re: ERROR: invalid input syntax for integer:
Next
From: Arvind Sharma
Date:
Subject: PG-9.0 - XML Data in a Column