From d06dfc1b6316582fd337f21d099be84aa6de6405 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 3 Aug 2012 14:02:22 -0400 Subject: [PATCH] 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 79a0ed4f4b..4c65dc3e98 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. -- 2.40.0