Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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...


pgsql-committers by date

Next:From: momjianDate: 2001-12-04 20:15:41
Subject: pgsql/. HISTORY
Previous:From: momjianDate: 2001-12-04 18:07:53
Subject: [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'

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group