Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7b8c798

Browse files
committed
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.
1 parent e8969c4 commit 7b8c798

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/src/sgml/ref/psql-ref.sgml

+2-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ PostgreSQL documentation
9999
<command>BEGIN</>/<command>COMMIT</> commands included in the
100100
string to divide it into multiple transactions. This is
101101
different from the behavior when the same string is fed to
102-
<application>psql</application>'s standard input.
102+
<application>psql</application>'s standard input. Also, only
103+
the result of the last SQL command is returned.
103104
</para>
104105
</listitem>
105106
</varlistentry>

0 commit comments

Comments
 (0)