diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
new file mode 100644
index 264cfe6..b7c5fca
*** a/doc/src/sgml/ref/psql-ref.sgml
--- b/doc/src/sgml/ref/psql-ref.sgml
*************** $ <userinput>psql postgresql://dbmaster:
*** 622,628 ****
      </para>
  
      <para>
!      If at least one of standard input or 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
--- 622,628 ----
      </para>
  
      <para>
!      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
