]> granicus.if.org Git - postgresql/commit
Remove unnecessary PQconsumeInput call from PQputCopyData; it's redundant
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Jan 2006 20:44:49 +0000 (20:44 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Jan 2006 20:44:49 +0000 (20:44 +0000)
commitf31a58481c209d70f6c1ff7123fe77071941afe9
treec049bafc42f79360e2d67fc999d86d2dae6b8aba
parentb34608fbdda2b872b35400075f724f12aa4f6b13
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
src/interfaces/libpq/fe-exec.c