diff options
author | Bruce Momjian <bruce@momjian.us> | 2012-08-03 14:02:22 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2012-08-03 14:02:22 -0400 |
commit | d06dfc1b6316582fd337f21d099be84aa6de6405 (patch) | |
tree | 1a3f05344e8ef8928e671fad532e57288b3fd82a | |
parent | b1c891e90b748a5c5aec3504bfac50f2fe7398db (diff) | |
download | postgresql-d06dfc1b6316582fd337f21d099be84aa6de6405.tar.gz postgresql-d06dfc1b6316582fd337f21d099be84aa6de6405.zip |
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.sgml | 3 |
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 79a0ed4f4bb..4c65dc3e980 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> |