From: | Alexander Korotkov <akorotkov(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Split macros from visibilitymap.h into a separate header |
Date: | 2021-09-23 17:12:54 |
Message-ID: | E1mTSHG-0005O7-7g@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Korotkov | 2021-09-23 18:04:46 | pgsql: Split macros from visibilitymap.h into a separate header |
Previous Message | Alexander Korotkov | 2021-09-23 17:12:52 | pgsql: Split macros from visibilitymap.h into a separate header |