Alvaro Herrera <alvherre(at)2ndquadrant(dot)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