projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bf52bd
)
docs: properly document psql auto encoding mode
author
Bruce Momjian
Wed, 16 Apr 2014 23:53:42 +0000
(19:53 -0400)
committer
Bruce Momjian
Wed, 16 Apr 2014 23:53:42 +0000
(19:53 -0400)
In psql, both stdin and stdout must be terminals to get a client
encoding of 'auto'.
Patch by Albe Laurenz
Backpatch to 9.3.
doc/src/sgml/ref/psql-ref.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/ref/psql-ref.sgml
b/doc/src/sgml/ref/psql-ref.sgml
index f9680fca27882902b8e417f1f29e9744dd3d7e2d..881ba42b54279fdb7d26558bcb45f69aba99e4de 100644
(file)
--- a/
doc/src/sgml/ref/psql-ref.sgml
+++ b/
doc/src/sgml/ref/psql-ref.sgml
@@
-636,7
+636,7
@@
$
psql postgresql://dbmaster:5433/mydb?sslmode=require
- If
at least one of standard input or
standard output are a
+ If
both standard input and
standard output are a
terminal, then
psql
sets the client
encoding to
auto
, which will detect the
appropriate client encoding from the locale settings