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 e8969c4733
commit 7b8c798362
1 changed files with 2 additions and 1 deletions

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>