#ifndef VISIBILITYMAP_H
#define VISIBILITYMAP_H
-#include "utils/rel.h"
+#include "utils/relcache.h"
#include "storage/buf.h"
#include "storage/itemptr.h"
#include "access/xlogdefs.h"
#ifndef PG_PROC_FN_H
#define PG_PROC_FN_H
+#include "nodes/pg_list.h"
+
extern Oid ProcedureCreate(const char *procedureName,
Oid procNamespace,
bool replace,
#ifndef STORAGE_H
#define STORAGE_H
+#include "access/xlog.h"
+#include "lib/stringinfo.h"
#include "storage/block.h"
#include "storage/relfilenode.h"
-#include "utils/rel.h"
+#include "utils/relcache.h"
extern void RelationCreateStorage(RelFileNode rnode, bool istemp);
extern void RelationDropStorage(Relation rel);
#ifndef FREESPACE_H_
#define FREESPACE_H_
-#include "utils/rel.h"
+#include "storage/block.h"
#include "storage/bufpage.h"
-#include "access/xlog.h"
+#include "storage/relfilenode.h"
+#include "utils/relcache.h"
/* prototypes for public functions in freespace.c */
extern Size GetRecordedFreeSpace(Relation rel, BlockNumber heapBlk);
extern void FreeSpaceMapTruncateRel(Relation rel, BlockNumber nblocks);
extern void FreeSpaceMapVacuum(Relation rel);
-#endif /* FREESPACE_H */
+#endif /* FREESPACE_H_ */
#ifndef INDEXFSM_H_
#define INDEXFSM_H_
-#include "utils/rel.h"
+#include "storage/block.h"
+#include "utils/relcache.h"
extern BlockNumber GetFreeIndexPage(Relation rel);
extern void RecordFreeIndexPage(Relation rel, BlockNumber page);
extern void IndexFreeSpaceMapVacuum(Relation rel);
-#endif /* INDEXFSM_H */
+#endif /* INDEXFSM_H_ */