mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
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.
This commit is contained in:
parent
5d305d86bd
commit
e183d11262
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user