Split macros from visibilitymap.h into a separate header
Alexander Korotkov <akorotkov@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_upgrade/file.c | modified | +1 −1 |
| src/include/access/visibilitymapdefs.h | added | +25 −0 |
| src/include/access/visibilitymap.h | modified | +1 −9 |
| src/include/utils/relcache.h | modified | +0 −1 |
Discussion
- postgres.h included from relcache.h - but removing it breaks pg_upgrade 14 messages · 2021-09-13 → 2021-09-21