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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy