]> 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 16:59:11 +0000 (19:59 +0300)
commit7186f07189baf069c54718315b81e65d87f4c0c1
tree4e96039e098347b710a592f13c1c102eb3b2ab3b
parentabb2f9144ba1b7ac806f3779f53ae2f6174cd2d9
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