pgsql/src backend/commands/copy.c backend/libp ...

From: tgl(at)postgresql(dot)org
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src backend/commands/copy.c backend/libp ...
Date: 2001-12-04 19:40:17
Message-ID: 200112041940.fB4JeH110286@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql
Changes by: tgl(at)postgresql(dot)org 01/12/04 14:40:17

Modified files:
src/backend/commands: copy.c
src/backend/libpq: pqcomm.c
src/backend/tcop: postgres.c
src/include/libpq: libpq.h

Log message:
Replace pq_getbytes(&ch, 1) calls with pq_getbyte(), which is easier
to use and significantly faster. This tweak saves 25% (!) of the runtime
of COPY IN in a test with 8000-character lines. I wouldn't normally
commit a performance improvement this late in the cycle, but 25% got
my attention...

Browse pgsql-committers by date

  From Date Subject
Next Message momjian 2001-12-04 20:15:41 pgsql/. HISTORY
Previous Message momjian 2001-12-04 18:07:53 [WEBMASTER] 'www/html/docs faq-aix.html faq-english.html faq-german.html faq-hpux.html faq-japanese.html faq-mswin.html faq-qnx4.html faq-sco.html faq-solaris.html'