postgres.git / summary / log / commit / refs
commit 91668fcc318cac9d980f076dee9258cd76904e9f
Author: Bruce Momjian <bruce@momjian.us>
Date: Fri Aug 03 18:02:22 2012 +0000
First released in: 9.3.0, 9.1.5, 9.2.0
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.
doc/src/sgml/ref/psql-ref.sgml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 54890a1db53..1beac9a1b7e 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -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>
[parent: 51ec1d3d486f]