postgresql add tag
In order to [address a known issue](, I've added the following line to the windows equivalent of the [.psqlrc]( (located at `%APPDATA%\postgresql\psqlrc.conf` [^HT^](

\echo `chcp 1252`

This works to suppress the console code page warning that would otherwise appear, but sadly it leaves the console code page pinned to 1252 when exiting the psql client. 


I would like to set the code page back to 850 when exiting the psql client. I _could_ get fancy with wrapper scripts or aliases; but I'd prefer to avoid that if possible. Is there a psql client equivalent to something like [.bash_logout](

This room is for discussion about this question.

Once logged in you can direct comments to any contributor here.

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.