Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e183d11

Browse files
committed
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.
1 parent 5d305d8 commit e183d11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/ref/psql-ref.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ $ <userinput>psql postgresql://dbmaster:5433/mydb?sslmode=require</userinput>
636636
</para>
637637

638638
<para>
639-
If at least one of standard input or standard output are a
639+
If both standard input and standard output are a
640640
terminal, then <application>psql</application> sets the client
641641
encoding to <quote>auto</quote>, which will detect the
642642
appropriate client encoding from the locale settings

0 commit comments

Comments
 (0)