From: Bruce Momjian Date: Fri, 3 Aug 2012 18:02:22 +0000 (-0400) Subject: Document that, for psql -c, only the result of the last command is X-Git-Tag: REL9_3_BETA1~1146 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b8c798362a4141904f690375ede8a5bb9138623;p=postgresql 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. --- diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index b6bf6a3ba8..1ba5ea8dab 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -99,7 +99,8 @@ PostgreSQL documentation BEGIN/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 - psql's standard input. + psql's standard input. Also, only + the result of the last SQL command is returned.