Re: Add encoding support to COPY

From: Bernd Helmle <mailings(at)oopsware(dot)de>
To: nagy(dot)karoly(at)expert-erp(dot)net, David Blewett <david(at)dawninglight(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Add encoding support to COPY
Date: 2009-07-15 18:05:28
Message-ID: DA73C15AB253C0F7F9E6DCC9@amenophis
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

--On 15. Juli 2009 19:59:56 +0300 Nagy Karoly Gabriel
<nagy(dot)karoly(at)expert-erp(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-07-15 18:20:16 Re: Add encoding support to COPY
Previous Message David Blewett 2009-07-15 17:53:01 Re: Add encoding support to COPY