Remove unnecessary PQconsumeInput call from PQputCopyData; it's redundant

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

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