Commit 7b8c7983 authored by Bruce Momjian's avatar Bruce Momjian

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.
parent e8969c47
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment