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

From Alvaro Herrera
Subject Re: pgsql: Refactor pg_get_line() to expose an alternative StringInfo-based
Date
Msg-id 20200907142935.GA28809@alvherre.pgsql
Whole thread Raw
In response to Re: pgsql: Refactor pg_get_line() to expose an alternative StringInfo-based  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: pgsql: Refactor pg_get_line() to expose an alternative StringInfo-based
List pgsql-committers
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.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Add d_type to our Windows dirent emulation.
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Refactor pg_get_line() to expose an alternative StringInfo-based