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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [COMMITTERS] pgsql: Add more efficient functions to pqformat API.
Дата
Msg-id dc9002f7-2be1-b0a4-9106-76be2ebf0537@2ndquadrant.com
обсуждение исходный текст
Ответ на [COMMITTERS] pgsql: Add more efficient functions to pqformat API.  (Andres Freund <andres@anarazel.de>)
Ответы Re: [COMMITTERS] pgsql: Add more efficient functions to pqformat API.  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список 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

Вложения

В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: SQL procedures
Следующее
От: David Rowley
Дата:
Сообщение: Re: pgsql: New C function: bms_add_range