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

Re: Inefficient bytea escaping?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Inefficient bytea escaping?
Date: 2006-05-25 18:46:37
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Andreas Pflug <pgadmin(at)pse-consulting(dot)de> writes:
> Tom Lane wrote:
>> Looking at CopySendData, I wonder whether any traction could be gained
>> by trying not to call fwrite() once per character.  I'm not sure how
>> much per-call overhead there is in that function.  We've done a lot of
>> work trying to optimize the COPY IN path since 8.0, but nothing much
>> on COPY OUT ...

> Hm, I'll see whether I can manage to check CVS head too, and see what's 
> happening, not a production alternative though.

OK, make sure you get the copy.c version I just committed ...

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2006-05-25 18:54:27
Subject: Re: 8.1.4 build failure on ICC 9.1
Previous:From: Andreas PflugDate: 2006-05-25 18:37:16
Subject: Re: Inefficient bytea escaping?

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