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.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.h')
-rw-r--r-- | src/include/access/gist.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/access/gist.h b/src/include/access/gist.h index 106de89a06..fb6f764a93 100644 --- a/src/include/access/gist.h +++ b/src/include/access/gist.h @@ -18,8 +18,9 @@ #include "access/xlog.h" #include "access/xlogdefs.h" +#include "storage/block.h" #include "storage/bufpage.h" -#include "utils/rel.h" +#include "utils/relcache.h" /* * amproc indexes for GiST indexes. |