Re: [COMMITTERS] pgsql: Add more efficient functions to pqformat API. - Mailing list pgsql-committers

From Peter Eisentraut
Subject Re: [COMMITTERS] pgsql: Add more efficient functions to pqformat API.
Date
Msg-id b8644aa2-116c-7338-cb83-74b7b83850e2@2ndquadrant.com
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Add more efficient functions to pqformat API.  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: [COMMITTERS] pgsql: Add more efficient functions to pqformat API.  (Andres Freund <andres@anarazel.de>)
List pgsql-committers
On 11/30/17 14:49, Peter Eisentraut wrote:
> On 10/11/17 19:11, Andres Freund wrote:
>> 3) Add pq_writeint$width(), pq_writestring(). These rely on sufficient
>>    space in the StringInfo's buffer, avoiding individual space checks
>>    & potential individual resizing.  To allow this to be used for
>>    strings, expose mbutil.c's MAX_CONVERSION_GROWTH.
> 
> This has been causing warnings from cpluspluscheck.  I suggest the
> attached patch to address that.

committed

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Fix warnings from cpluspluscheck
Next
From: Andres Freund
Date:
Subject: Re: [COMMITTERS] pgsql: Add more efficient functions to pqformat API.