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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove unnecessary PQconsumeInput call from PQputCopyData; it's
Date: 2006-01-25 20:44:49
Message-ID: 20060125204449.B53D19DCB70@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message User Gsmet 2006-01-25 22:34:02 pgfouine - pgfouine: should never be called with appendTo
Previous Message Tom Lane 2006-01-25 20:44:32 pgsql: Remove unnecessary PQconsumeInput call from PQputCopyData; it's