Document that, for psql -c, only the result of the last command is

returned, per report from Aleksey Tsalolikhin

Backpatch to 9.2 and 9.1.
REL9_1_STABLE
Bruce Momjian 14 years ago
parent b1c891e90b
commit d06dfc1b63
  1. 3
      doc/src/sgml/ref/psql-ref.sgml

@ -99,7 +99,8 @@ PostgreSQL documentation
<command>BEGIN</>/<command>COMMIT</> commands included in the
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.
<application>psql</application>'s standard input. Also, only
the result of the last SQL command is returned.
</para>
</listitem>
</varlistentry>

Loading…
Cancel
Save