Remove unnecessary PQconsumeInput call from PQputCopyData; it's redundant

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 9b012311f8b6d3596d2a081b8e30b8e8ee352bf2
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-01-25T20:44:32Z
Releases: 8.2.0
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

Files

PathChange+/−
src/interfaces/libpq/fe-exec.c modified +7 −7