1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00

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 b1c891e90b
commit d06dfc1b63

View File

@ -99,7 +99,8 @@ PostgreSQL documentation
<command>BEGIN</>/<command>COMMIT</> commands included in the <command>BEGIN</>/<command>COMMIT</> commands included in the
string to divide it into multiple transactions. This is string to divide it into multiple transactions. This is
different from the behavior when the same string is fed to 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> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>