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

From: Andres Freund <andres(at)anarazel(dot)de>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Add more efficient functions to pqformat API.
Date: 2017-12-05 01:04:35
Message-ID: 20171205010435.hlqhoa27xk7szbn2@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On 2017-12-04 19:58:01 -0500, Peter Eisentraut wrote:
> 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

Thanks!

Greetings,

Andres Freund

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-12-05 01:53:12 pgsql: Treat directory open failures as hard errors in ResetUnloggedRel
Previous Message Peter Eisentraut 2017-12-05 00:58:01 Re: [COMMITTERS] pgsql: Add more efficient functions to pqformat API.