Re: encoding and parser: error? - Mailing list pgsql-general

From Tom Lane
Subject Re: encoding and parser: error?
Date
Msg-id 11042.1063642683@sss.pgh.pa.us
Whole thread Raw
In response to encoding and parser: error?  (Hubert Fröhlich <hubert.froehlich@bvv.bayern.de>)
List pgsql-general
=?ISO-8859-1?Q?Hubert_Fr=F6hlich?= <hubert.froehlich@bvv.bayern.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

pgsql-general by date:

Previous
From: Lamar Owen
Date:
Subject: Re: need for in-place upgrades (was Re: State of
Next
From: Lamar Owen
Date:
Subject: Re: need for in-place upgrades (was Re: State of