Re: encoding and parser: error?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hubert Fröhlich <hubert(dot)froehlich(at)bvv(dot)bayern(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: encoding and parser: error?
Date: 2003-09-15 16:18:03
Message-ID: 11042.1063642683@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

=?ISO-8859-1?Q?Hubert_Fr=F6hlich?= <hubert(dot)froehlich(at)bvv(dot)bayern(dot)de> writes:
> Moreover, when I use the metacommand

> /encoding latin1
> instead of the "set client_encoding" SQLcommand (which should be
> equivalent,
> everything goes OK right from the beginning.

They should be equivalent, but they are not --- psql needs to know the
encoding, and when you use SET it doesn't. (This is fixed for 7.4.)

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Lamar Owen 2003-09-15 16:40:46 Re: need for in-place upgrades (was Re: State of
Previous Message Lamar Owen 2003-09-15 15:59:39 Re: need for in-place upgrades (was Re: State of