File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -4594,6 +4594,11 @@ int PQsendQuery(PGconn *conn, const char *command);
4594
4594
(on the same connection) until <xref linkend="libpq-PQgetResult"/>
4595
4595
has returned a null pointer, indicating that the command is done.
4596
4596
</para>
4597
+
4598
+ <para>
4599
+ In pipeline mode, command strings containing more than one SQL command
4600
+ are disallowed.
4601
+ </para>
4597
4602
</listitem>
4598
4603
</varlistentry>
4599
4604
@@ -5046,7 +5051,8 @@ int PQflush(PGconn *conn);
5046
5051
<xref linkend="libpq-PQpipelineStatus"/> can be used
5047
5052
to test whether pipeline mode is active.
5048
5053
In pipeline mode, only <link linkend="libpq-async">asynchronous operations</link>
5049
- are permitted, and <literal>COPY</literal> is disallowed.
5054
+ are permitted, command strings containing multiple SQL commands are
5055
+ disallowed, and so is <literal>COPY</literal>.
5050
5056
Using synchronous command execution functions
5051
5057
such as <function>PQfn</function>,
5052
5058
<function>PQexec</function>,
You can’t perform that action at this time.
0 commit comments