Re: COPY and text encodings

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "M(dot) Bastin" <marcbastin(at)mindspring(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: COPY and text encodings
Date: 2003-08-08 17:44:15
Message-ID: 200308081744.h78HiF903949@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


Yes, I think it is being converted automatically.

---------------------------------------------------------------------------

M. Bastin wrote:
> Hi all,
>
> When doing a COPY FROM STDIN, while having set the client encoding to
> some encoding, is the encoding of all data being uploaded
> automatically being converted to the server's encoding, or does COPY
> do a "blind", bulk upload?
>
> Thanks,
>
> Marc
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Thiemo Kellner 2003-08-08 22:10:55 Freshly created user cannot connect
Previous Message Tom Lane 2003-08-08 14:09:34 Re: Upgrading from 7.1.3 to 7.2.3