diff options
| author | Alvaro Herrera | 2008-06-19 00:46:06 +0000 |
|---|---|---|
| committer | Alvaro Herrera | 2008-06-19 00:46:06 +0000 |
| commit | d89193919e6d320c458e3efef5cb0dc3019eab04 (patch) | |
| tree | 7b02a2b5b7686596db3beca6c005248399523864 /src/include/access/gist_private.h | |
| parent | 2c11e111c8498a980eb4a851af27718224618306 (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/gist_private.h')
| -rw-r--r-- | src/include/access/gist_private.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/access/gist_private.h b/src/include/access/gist_private.h index d220751a51..463a190aee 100644 --- a/src/include/access/gist_private.h +++ b/src/include/access/gist_private.h @@ -16,9 +16,7 @@ #include "access/gist.h" #include "access/itup.h" -#include "access/xlog.h" -#include "access/xlogdefs.h" -#include "fmgr.h" +#include "storage/bufmgr.h" #define GIST_UNLOCK BUFFER_LOCK_UNLOCK #define GIST_SHARE BUFFER_LOCK_SHARE |
