summaryrefslogtreecommitdiff
path: root/src/include/access/gin.h
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2008-06-19 00:46:06 +0000
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2008-06-19 00:46:06 +0000
commita3540b0f657c6352ae91884a9ee47c67395ce122 (patch)
treec0447efbf3f5a885f29d080e4005ff5562484513 /src/include/access/gin.h
parentd1da215d325a1b8923def0a59cf2b948186164c8 (diff)
Improve our #include situation by moving pointer types away from the
corresponding struct definitions. This allows other headers to avoid including certain highly-loaded headers such as rel.h and relscan.h, instead using just relcache.h, heapam.h or genam.h, which are more lightweight and thus cause less unnecessary dependencies.
Diffstat (limited to 'src/include/access/gin.h')
-rw-r--r--src/include/access/gin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/access/gin.h b/src/include/access/gin.h
index 99d37278965..d47d7ac2d64 100644
--- a/src/include/access/gin.h
+++ b/src/include/access/gin.h
@@ -4,7 +4,7 @@
*
* Copyright (c) 2006-2008, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/include/access/gin.h,v 1.21 2008/06/06 22:35:22 alvherre Exp $
+ * $PostgreSQL: pgsql/src/include/access/gin.h,v 1.22 2008/06/19 00:46:05 alvherre Exp $
*--------------------------------------------------------------------------
*/
@@ -12,8 +12,8 @@
#ifndef GIN_H
#define GIN_H
+#include "access/genam.h"
#include "access/itup.h"
-#include "access/relscan.h"
#include "access/xlog.h"
#include "fmgr.h"
#include "nodes/tidbitmap.h"