pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Split macros from visibilitymap.h into a separate header
3+ messages / 1 participants
[nested] [flat]

* pgsql: Split macros from visibilitymap.h into a separate header
@ 2021-09-23 17:12 Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Alexander Korotkov @ 2021-09-23 17:12 UTC (permalink / raw)
  To: pgsql-committers@lists.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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b92f9f74436c48054e7743548edc8ca50e97c6b1

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Split macros from visibilitymap.h into a separate header
@ 2021-09-23 17:12 Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Alexander Korotkov @ 2021-09-23 17:12 UTC (permalink / raw)
  To: pgsql-committers@lists.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

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Split macros from visibilitymap.h into a separate header
@ 2021-09-23 18:04 Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Alexander Korotkov @ 2021-09-23 18:04 UTC (permalink / raw)
  To: pgsql-committers@lists.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

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/fd22aec631af9f2b967af20e23206840c6594c72

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2021-09-23 18:04 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23 17:12 pgsql: Split macros from visibilitymap.h into a separate header Alexander Korotkov <akorotkov@postgresql.org>
2021-09-23 17:12 pgsql: Split macros from visibilitymap.h into a separate header Alexander Korotkov <akorotkov@postgresql.org>
2021-09-23 18:04 pgsql: Split macros from visibilitymap.h into a separate header Alexander Korotkov <akorotkov@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox