From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Refactor pg_get_line() to expose an alternative StringInfo-based
Date: Mon, 7 Sep 2020 13:58:44 -0300
Message-ID: <20200907165844.GA7588@alvherre.pgsql> (raw)
In-Reply-To: <1696646.1599497640@sss.pgh.pa.us>
On 2020-Sep-07, Tom Lane wrote:
> Pavel Stehule <pavel.stehule@gmail.com> writes:
> > here is a patch
>
> What exactly is this supposed to fix?
>
> I didn't bother tracking down exactly where initdb.c is getting
> stringinfo.h from, but it clearly does import it somewhere in
> our rat's nest of headers.
You can see it here: https://doxygen.postgresql.org/initdb_8c.html
It's through xlog_internal.h (not that it matters much).
We do the indirect-header thing all over the place. There's no point in
trying to avoid it completely.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: alvherre@2ndquadrant.com, tgl@sss.pgh.pa.us, pavel.stehule@gmail.com
Subject: Re: pgsql: Refactor pg_get_line() to expose an alternative StringInfo-based
In-Reply-To: <20200907165844.GA7588@alvherre.pgsql>
References: <1696646.1599497640@sss.pgh.pa.us> <20200907165844.GA7588@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox