Re: [COMMITTERS] pgsql: Add more efficient functions to pqformat API.

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>, pgsql-committers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Add more efficient functions to pqformat API.
Date: 2017-11-30 19:49:13
Message-ID: dc9002f7-2be1-b0a4-9106-76be2ebf0537@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

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

Attachment Content-Type Size
0001-Fix-warnings-from-cpluspluscheck.patch text/plain 1.8 KB

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2017-11-30 20:53:54 Re: pgsql: New C function: bms_add_range
Previous Message Peter Eisentraut 2017-11-30 16:27:47 pgsql: SQL procedures