Re: Patch to improve a few appendStringInfo* calls - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Patch to improve a few appendStringInfo* calls
Date
Msg-id CA+TgmoYG613U4ds2=bnB3dx2m20dwf-CaBQ0q2Kq_hZwrgU42g@mail.gmail.com
Whole thread Raw
In response to Re: Patch to improve a few appendStringInfo* calls  (David Rowley <david.rowley@2ndquadrant.com>)
Responses Re: Patch to improve a few appendStringInfo* calls
Re: Patch to improve a few appendStringInfo* calls
List pgsql-hackers
On Thu, Jul 2, 2015 at 6:08 AM, David Rowley
<david.rowley@2ndquadrant.com> wrote:
>> I left out the changes like
>>
>>> -               appendStringInfoString(&collist, buf.data);
>>> +               appendBinaryStringInfo(&collist, buf.data, buf.len);
>>
>>
>> because they're not an improvement in readablity, IMHO, and they were not
>> in performance-critical paths.
>
> Perhaps we can come up with appendStringInfoStringInfo at some later date.

concatenateStringInfo?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: ToDo list update for BRIN indexes
Next
From: Robert Haas
Date:
Subject: Re: Odd behaviour of SELECT ... ORDER BY ... FOR UPDATE