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

Started by Tom Laneover 20 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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)