summaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-02-19 08:54:58 +0200
committerPeter Eisentraut <peter_e@gmx.net>2011-02-19 08:54:58 +0200
commit02e14562a806a96f38120c96421d39dfa7394192 (patch)
treec2bdedb7a4646fe07b3b6ac49ccf50591075a920 /src/tutorial/advanced.source
parent327e0250716f12fe94b62669d25e572b40a8fba5 (diff)
Set psql client encoding from locale by default
Add a new libpq connection option client_encoding (which includes the existing PGCLIENTENCODING environment variable), which besides an encoding name accepts a special value "auto" that tries to determine the encoding from the locale in the client's environment, using the mechanisms that have been in use in initdb. psql sets this new connection option to "auto" when running from a terminal and not overridden by setting PGCLIENTENCODING. original code by Heikki Linnakangas, with subsequent contributions by Jaime Casanova, Peter Eisentraut, Stephen Frost, Ibrar Ahmed
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions