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

From Pavel Stehule
Subject Re: Patch to improve a few appendStringInfo* calls
Date
Msg-id CAFj8pRBP-_MZKN3CDd1xmds2P_zZiop3iemt1O-1iAmXVELeEQ@mail.gmail.com
Whole thread Raw
In response to Re: Patch to improve a few appendStringInfo* calls  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers


2015-12-21 13:58 GMT+01:00 Robert Haas <robertmhaas@gmail.com>:
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?

concatStringInfo ?

Pavel

 

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


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: ToDo list update for BRIN indexes
Next
From: Tom Lane
Date:
Subject: Re: Experimental evaluation of PostgreSQL's query optimizer