Re: pgsql: Refactor pg_get_line() to expose an alternative StringInfo-based

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Refactor pg_get_line() to expose an alternative StringInfo-based
Дата
Msg-id 1668181.1599490126@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Refactor pg_get_line() to expose an alternative StringInfo-based  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: pgsql: Refactor pg_get_line() to expose an alternative StringInfo-based  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-committers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> On 2020-Sep-07, Pavel Stehule wrote:
>> I tried  to reuse this new API in pg_dump.c, and I had a problem with
>> private struct StringInfo.

>> maybe there should be included directly with #include "lib/stringinfo.h" ?

> That's the right thing to do, yes.

Yeah, if you want to use pg_get_line_append, you need to include
both those headers.

            regards, tom lane



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: Refactor pg_get_line() to expose an alternative StringInfo-based
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Frob numeric.c loop so that clang will auto-vectorize it too.