=?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