]> granicus.if.org Git - postgresql/commitdiff
Document that, for psql -c, only the result of the last command is
authorBruce Momjian <bruce@momjian.us>
Fri, 3 Aug 2012 18:02:22 +0000 (14:02 -0400)
committerBruce Momjian <bruce@momjian.us>
Fri, 3 Aug 2012 18:02:22 +0000 (14:02 -0400)
returned, per report from Aleksey Tsalolikhin

Backpatch to 9.2 and 9.1.

doc/src/sgml/ref/psql-ref.sgml

index 79a0ed4f4bbb1575cf55bc868dadb9a87a117aa6..4c65dc3e98031ac53594bfc7502acd8e2de89124 100644 (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>