Re: Importing CSV File - Mailing list pgsql-general

From Gavin Flower
Subject Re: Importing CSV File
Date
Msg-id 562EA1BA.9020506@archidevsys.co.nz
Whole thread Raw
In response to Importing CSV File  (David Blomstrom <david.blomstrom@gmail.com>)
List pgsql-general
On 27/10/15 10:45, David Blomstrom wrote:
> I tried to import a CSV file into a PostgreSQL table using pgAdmin
> III. I got an error message: "extra data after last column."
>
>
> All my spreadsheets have an "end of data" column that has /r/n in each
> cell. When I import a CSV file into a MySQL table, everything beyond
> /r/n is ignored. Is there some way to tell PostgreSQL to stop at /r/n?
>
> Thanks.
You can import the CSV into a spreadsheet (such as LibreOffice Calc),
and manually delete the extraneous lines.



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Importing CSV File
Next
From: David Blomstrom
Date:
Subject: Re: Recursive Arrays 101