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.
This commit is contained in:
Bruce Momjian 2012-08-03 14:02:22 -04:00
parent 51ec1d3d48
commit 91668fcc31

View File

@ -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>