]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Split macros from visibilitymap.h into a separate header
authorAlexander Korotkov <akorotkov@postgresql.org>
Thu, 23 Sep 2021 16:59:03 +0000 (19:59 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Thu, 23 Sep 2021 17:12:25 +0000 (20:12 +0300)
commitfd22aec631af9f2b967af20e23206840c6594c72
treea5be96d07592ed6df33496634d3c60e9bbeb96aa
parentc0386f403a832f50d61fc7bb9bb265f7700273f3
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
src/bin/pg_upgrade/file.c
src/include/access/visibilitymap.h
src/include/access/visibilitymapdefs.h [new file with mode: 0644]
src/include/utils/relcache.h