Re: Importing data from csv - Mailing list pgsql-sql

From Aaron Bono
Subject Re: Importing data from csv
Date
Msg-id bf05e51c0608272114g44476251vf38678883ed71a16@mail.gmail.com
Whole thread Raw
In response to Importing data from csv  (Sumeet <asumeet@gmail.com>)
List pgsql-sql
On 8/24/06, Sumeet <asumeet@gmail.com> wrote:
Hi Folks,

sorry if this is a duplicate post, i've been tryin to find a solution of importing data into postgres from a csv file. The problem is, I have a database which consists of columns which contain newline characters (mac and unix). now when i export these files to a csv format, there are some line breaks (mixed unix and mac) in the data which breaks the copy procedure.

 
Sounds like you are checking the file in as binary when it should be checked in as ASCII.  You may want to consider changing that in your repository so this does not continue to be an issue.

==================================================================
   Aaron Bono
   Aranya Software Technologies, Inc.
   http://www.aranya.com
   http://codeelixir.com
==================================================================

pgsql-sql by date:

Previous
From: "Aaron Bono"
Date:
Subject: Re: Performance Problem with sub-select using array
Next
From: Dinesh Tiwari
Date:
Subject: hi ........i have a query related to MS reporting services