v7.3 : \encoding doesn't show changes in client encoding that are not done with \encoding itself (i.e. set names/set client_encoding)
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
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@postgresql.org)
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073