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

2017-12-04 Thread Andres Freund
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 > >>

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

2017-12-04 Thread Peter Eisentraut
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 fo

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

2017-11-30 Thread Peter Eisentraut
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