From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Split macros from visibilitymap.h into a separate header
Date: Thu, 23 Sep 2021 17:12:54 +0000
Message-ID: <E1mTSHG-0005O7-7g@gemulon.postgresql.org> (raw)
Split macros from visibilitymap.h into a separate header
That allows to include just visibilitymapdefs.h from file.c, and in turn,
remove include of postgres.h from relcache.h.
Reported-by: Andres Freund
Discussion: https://postgr.es/m/20210913232614.czafiubr435l6egi%40alap3.anarazel.de
Author: Alexander Korotkov
Reviewed-by: Andres Freund, Tom Lane, Alvaro Herrera
Backpatch-through: 13
Branch
------
REL_14_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/7186f07189baf069c54718315b81e65d87f4c0c1
Modified Files
--------------
src/bin/pg_upgrade/file.c | 2 +-
src/include/access/visibilitymap.h | 10 +---------
src/include/access/visibilitymapdefs.h | 25 +++++++++++++++++++++++++
src/include/utils/relcache.h | 1 -
4 files changed, 27 insertions(+), 11 deletions(-)
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: akorotkov@postgresql.org
Subject: Re: pgsql: Split macros from visibilitymap.h into a separate header
In-Reply-To: <E1mTSHG-0005O7-7g@gemulon.postgresql.org>
References: <E1mTSHG-0005O7-7g@gemulon.postgresql.org>
* 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