diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-06-19 00:46:06 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-06-19 00:46:06 +0000 |
commit | a3540b0f657c6352ae91884a9ee47c67395ce122 (patch) | |
tree | c0447efbf3f5a885f29d080e4005ff5562484513 /contrib/btree_gist/btree_utils_var.c | |
parent | d1da215d325a1b8923def0a59cf2b948186164c8 (diff) | |
download | postgresql-a3540b0f657c6352ae91884a9ee47c67395ce122.tar.gz postgresql-a3540b0f657c6352ae91884a9ee47c67395ce122.zip |
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_utils_var.c')
-rw-r--r-- | contrib/btree_gist/btree_utils_var.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/btree_gist/btree_utils_var.c b/contrib/btree_gist/btree_utils_var.c index 37107c9d92f..4f1b7e49a35 100644 --- a/contrib/btree_gist/btree_utils_var.c +++ b/contrib/btree_gist/btree_utils_var.c @@ -1,5 +1,5 @@ /* - * $PostgreSQL: pgsql/contrib/btree_gist/btree_utils_var.c,v 1.19 2008/05/17 01:28:19 adunstan Exp $ + * $PostgreSQL: pgsql/contrib/btree_gist/btree_utils_var.c,v 1.20 2008/06/19 00:46:02 alvherre Exp $ */ #include "btree_gist.h" @@ -10,6 +10,7 @@ #include "btree_utils_var.h" #include "utils/pg_locale.h" #include "utils/builtins.h" +#include "utils/rel.h" PG_FUNCTION_INFO_V1(gbt_var_decompress); Datum gbt_var_decompress(PG_FUNCTION_ARGS); |