summaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_numeric.c
diff options
context:
space:
mode:
authorAlvaro Herrera2008-06-19 00:46:06 +0000
committerAlvaro Herrera2008-06-19 00:46:06 +0000
commitd89193919e6d320c458e3efef5cb0dc3019eab04 (patch)
tree7b02a2b5b7686596db3beca6c005248399523864 /contrib/btree_gist/btree_numeric.c
parent2c11e111c8498a980eb4a851af27718224618306 (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 'contrib/btree_gist/btree_numeric.c')
-rw-r--r--contrib/btree_gist/btree_numeric.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/btree_gist/btree_numeric.c b/contrib/btree_gist/btree_numeric.c
index 9ea096edcb..866dd08f62 100644
--- a/contrib/btree_gist/btree_numeric.c
+++ b/contrib/btree_gist/btree_numeric.c
@@ -1,5 +1,5 @@
/*
- * $PostgreSQL:$
+ * $PostgreSQL$
*/
#include "btree_gist.h"
@@ -9,6 +9,7 @@
#include "btree_utils_var.h"
#include "utils/builtins.h"
#include "utils/numeric.h"
+#include "utils/rel.h"
/*
** Bytea ops