diff options
author | Bruce Momjian <bruce@momjian.us> | 2014-04-16 19:53:42 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2014-04-16 19:53:42 -0400 |
commit | aa0a5198baba5bbf04081393e77d07ac3febc153 (patch) | |
tree | d9e8ff4445f05ab33bfeb81d34abd43480da6ec6 | |
parent | 0bf52bd990f324440c1cb9cc88e69ba7b9688410 (diff) |
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.sgml | 2 |
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 f9680fca278..881ba42b542 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 |