aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2014-04-16 19:53:42 -0400
committerBruce Momjian <bruce@momjian.us>2014-04-16 19:53:42 -0400
commite183d11262f4e04ce7f191a9655aeeaa4682a7f5 (patch)
treecf985e16c954bbd9a9e066926966343555f82dad
parent5d305d86bd917723f09ab4f15c075d90586a210a (diff)
downloadpostgresql-e183d11262f4e04ce7f191a9655aeeaa4682a7f5.tar.gz
postgresql-e183d11262f4e04ce7f191a9655aeeaa4682a7f5.zip
docs: properly document psql auto encoding mode
In psql, both stdin and stdout must be terminals to get a client encoding of 'auto'. Patch by Albe Laurenz Backpatch to 9.3.
-rw-r--r--doc/src/sgml/ref/psql-ref.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 0b91d45d804..da79d7a90ea 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -636,7 +636,7 @@ $ <userinput>psql postgresql://dbmaster:5433/mydb?sslmode=require</userinput>
</para>
<para>
- If at least one of standard input or standard output are a
+ If both standard input and standard output are a
terminal, then <application>psql</application> sets the client
encoding to <quote>auto</quote>, which will detect the
appropriate client encoding from the locale settings