v7.3 : \encoding doesn't show changes in client encoding that are not done with \encoding itself (i.e. set names/set client_encoding) - Mailing list pgsql-bugs

From Frank van Vugt
Subject v7.3 : \encoding doesn't show changes in client encoding that are not done with \encoding itself (i.e. set names/set client_encoding)
Date
Msg-id 200212151202.40513.ftm.van.vugt@foxi.nl
Whole thread Raw
Responses Re: v7.3 : \encoding doesn't show changes in client encoding
List pgsql-bugs
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)


--ELM1041745565-23840-0_--

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #848: Index on bigint column is unused in selects
Next
From: Neil Conway
Date:
Subject: Re: Bug #848: Index on bigint column is unused in selects