Re: request for help with COPY syntax - Mailing list pgsql-sql

From Chuck D.
Subject Re: request for help with COPY syntax
Date
Msg-id 200710240102.19224.pgsql-list@nullmx.com
Whole thread Raw
In response to Re: request for help with COPY syntax  ("Fernando Hevia" <fhevia@ip-tel.com.ar>)
Responses Re: request for help with COPY syntax
List pgsql-sql
On October 23, 2007 10:44:51 am you wrote:
> Hi Chuck,
> Do you need those characters in your table? If not I think you will be
> better off preprocessing the data before running copy.
>
> Replacing those " for ' or directly removing them is quite simple if you
> are working in Unix, actually it should be quite simple in any operating
> system.
>
> Regards,
> Fernando

Greetings,

I'm not sure if they are needed because I've never seen a double quote in a 
place name before.  I don't believe they are errors though because there are 
more records that contain them.  As well, some records have single and double 
quotes allowed within a record and this really messes things up.

Any ideas?  Should I consider removing them in favor of a single quote?  If 
so, do you know how to do this with sed or similar?


pgsql-sql by date:

Previous
From: "Chuck D."
Date:
Subject: Re: request for help with COPY syntax
Next
From: Paul Lambert
Date:
Subject: Re: request for help with COPY syntax