Skip to content

Commit 41d2dfa

Browse files
author
pavel.mash
committed
disable PQflush call inside PQpipelineSync to allow grouping several commands in one network package
1 parent 19d8e23 commit 41d2dfa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/interfaces/libpq/fe-exec.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3185,9 +3185,10 @@ PQpipelineSync(PGconn *conn)
31853185
* Give the data a push. In nonblock mode, don't complain if we're unable
31863186
* to send it all; PQgetResult() will do any additional flushing needed.
31873187
*/
3188+
/* MPV - commented to allow grouping several command in one network package
31883189
if (PQflush(conn) < 0)
31893190
goto sendFailed;
3190-
3191+
*/
31913192
/* OK, it's launched! */
31923193
pqAppendCmdQueueEntry(conn, entry);
31933194

0 commit comments

Comments
 (0)