Remove unnecessary PQconsumeInput call from PQputCopyData; it's redundant
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq/fe-exec.c | modified | +7 −7 |