Re: v7.3 : \encoding doesn't show changes in client encoding

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Frank van Vugt <ftm(dot)van(dot)vugt(at)foxi(dot)nl>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: v7.3 : \encoding doesn't show changes in client encoding
Date: 2003-01-07 18:46:20
Message-ID: 200301071846.h07IkKu14439@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches


Seems it is known bug. I am documenting it with this patch. We can't
seem to think of a clean way to fix it properly.

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

Frank van Vugt wrote:
> L.S.
>
> It seems that '\encoding' only shows the correct client encoding if any
> changes are applied by using '\encoding' itself.
>
> If the client encoding is changed by using 'set names' or 'set
> client_encoding', the result of '\encoding' will still be the old one used.
> However, the encoding seems to be changed, as 'show client_encoding' will
> show.
>
>
>
>
> Regards,
>
>
>
>
> Frank van Vugt
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

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

Attachment Content-Type Size
unknown_filename text/plain 753 bytes

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2003-01-07 22:07:50 Re: More SSL patches
Previous Message Bruce Momjian 2003-01-06 02:41:35 Re: More SSL patches

Browse pgsql-patches by date

  From Date Subject
Next Message Justin Clift 2003-01-07 18:51:04 Re: Docs for service file
Previous Message Bruce Momjian 2003-01-07 18:40:21 Re: Docs for service file