Re: Add encoding support to COPY - Mailing list pgsql-hackers

From Bernd Helmle
Subject Re: Add encoding support to COPY
Date
Msg-id DA73C15AB253C0F7F9E6DCC9@amenophis
Whole thread Raw
In response to Re: Add encoding support to COPY  (Nagy Karoly Gabriel <nagy.karoly@expert-erp.net>)
List pgsql-hackers

--On 15. Juli 2009 19:59:56 +0300 Nagy Karoly Gabriel 
<nagy.karoly@expert-erp.net> wrote:

> I think that I was the one who wondered about that. Our use case is
> related to moving data between different servers which have different
> encodings. Ofcourse the encoding should be an option only when COPY
> involves files.

I find this rather confusing: can't you just tell via client_encoding the 
correct encoding your file contains during restore?

-- 
Thanks
Bernd


pgsql-hackers by date:

Previous
From: David Blewett
Date:
Subject: Re: Add encoding support to COPY
Next
From: Alvaro Herrera
Date:
Subject: Re: Add encoding support to COPY