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

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Refactor pg_get_line() to expose an alternative StringInfo-based
Date: 2020-09-07 14:29:35
Message-ID: 20200907142935.GA28809@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-09-07 14:48:46 Re: pgsql: Refactor pg_get_line() to expose an alternative StringInfo-based
Previous Message Thomas Munro 2020-09-07 11:40:17 pgsql: Add d_type to our Windows dirent emulation.