summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2012-08-03 18:02:22 +0000
committerBruce Momjian2012-08-03 18:02:22 +0000
commit7b8c798362a4141904f690375ede8a5bb9138623 (patch)
treef2b51a77f9e79b032a590da2b4732e64a220f313
parente8969c4733b15857d6af2ec024a102897bfbfbf2 (diff)
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.
-rw-r--r--doc/src/sgml/ref/psql-ref.sgml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index b6bf6a3ba8e..1ba5ea8dabc 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>