pgsql: Remove unnecessary PQconsumeInput call from PQputCopyData; it's

Started by Tom Lanealmost 21 years ago1 messagescommitters
Jump to latest
#1Tom Lane
tgl@postgresql.org

Log Message:
-----------
Remove unnecessary PQconsumeInput call from PQputCopyData; it's redundant
because pqSendSome will absorb input data anytime it'd be forced to block.
Avoiding a kernel call per PQputCopyData call helps COPY speed materially.

Alon Goldshuv

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
pgsql/src/interfaces/libpq:
fe-exec.c (r1.176.2.1 -> r1.176.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-exec.c.diff?r1=1.176.2.1&r2=1.176.2.2)