*** a/doc/src/sgml/ref/psql-ref.sgml
--- b/doc/src/sgml/ref/psql-ref.sgml
*************** PostgreSQL documentation
*** 100,106 ****
         string to divide it into multiple transactions.  This is
         different from the behavior when the same string is fed to
         <application>psql</application>'s standard input.  Also, only
!        the result of the last SQL command is returned.
        </para>
        </listitem>
      </varlistentry>
--- 100,111 ----
         string to divide it into multiple transactions.  This is
         different from the behavior when the same string is fed to
         <application>psql</application>'s standard input.  Also, only
!        the result of the last SQL command is returned.  <command>SET</>
!        commands that modify statement behavior will be ineffective because
!        they are part of the already running statement.  Most notably,
!        <literal>psql -c 'SET statement_timeout = 0; SELECT ...'</literal>
!        will not work as expected.  (Use <literal>echo '...' | psql</literal>
!        as above instead.)
        </para>
        </listitem>
      </varlistentry>
