Split macros from visibilitymap.h into a separate header

Alexander Korotkov <akorotkov@postgresql.org>

Commit: 7186f07189baf069c54718315b81e65d87f4c0c1
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2021-09-23T16:59:11Z
Releases: 14.0
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

Files

Discussion