Re: Inefficient bytea escaping? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Inefficient bytea escaping?
Date
Msg-id 14749.1148582797@sss.pgh.pa.us
Whole thread Raw
In response to Re: Inefficient bytea escaping?  (Andreas Pflug <pgadmin@pse-consulting.de>)
Responses Re: Inefficient bytea escaping?
List pgsql-hackers
Andreas Pflug <pgadmin@pse-consulting.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


pgsql-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: Inefficient bytea escaping?
Next
From: Tom Lane
Date:
Subject: Re: 8.1.4 build failure on ICC 9.1