summaryrefslogtreecommitdiff
path: root/src/include/storage/freespace.h
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2008-12-12 22:56:00 +0000
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2008-12-12 22:56:00 +0000
commit0f864a63ea532a475490d4259608385ad717280c (patch)
tree5353083a4a608b4ed50614b802ea3eb286c77e54 /src/include/storage/freespace.h
parent192dd845a118cf285523e968660135c6a95afdca (diff)
downloadpostgresql-0f864a63ea532a475490d4259608385ad717280c.tar.gz
Reduce some rel.h inclusions, and add pg_list.h to pg_proc_fn.h.
Diffstat (limited to 'src/include/storage/freespace.h')
-rw-r--r--src/include/storage/freespace.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/include/storage/freespace.h b/src/include/storage/freespace.h
index e9490933db..eebc836c3f 100644
--- a/src/include/storage/freespace.h
+++ b/src/include/storage/freespace.h
@@ -7,16 +7,17 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/storage/freespace.h,v 1.31 2008/11/19 10:34:52 heikki Exp $
+ * $PostgreSQL: pgsql/src/include/storage/freespace.h,v 1.32 2008/12/12 22:56:00 alvherre Exp $
*
*-------------------------------------------------------------------------
*/
#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);
@@ -33,4 +34,4 @@ extern void XLogRecordPageWithFreeSpace(RelFileNode rnode, BlockNumber heapBlk,
extern void FreeSpaceMapTruncateRel(Relation rel, BlockNumber nblocks);
extern void FreeSpaceMapVacuum(Relation rel);
-#endif /* FREESPACE_H */
+#endif /* FREESPACE_H_ */