po 7. 9. 2020 v 16:48 odesílatel Tom Lane <tgl@sss.pgh.pa.us> napsal:
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.