1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-21 05:21:08 +03:00

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
This commit is contained in:
Alexander Korotkov
2021-09-23 19:59:03 +03:00
parent ad8a166ca8
commit b92f9f7443
4 changed files with 27 additions and 11 deletions

View File

@@ -14,7 +14,6 @@
#ifndef RELCACHE_H
#define RELCACHE_H
#include "postgres.h"
#include "access/tupdesc.h"
#include "nodes/bitmapset.h"