diff options
author | Alvaro Herrera | 2008-05-12 00:00:54 +0000 |
---|---|---|
committer | Alvaro Herrera | 2008-05-12 00:00:54 +0000 |
commit | f8c4d7db6033802ab682f95d5548a9ea6c33cec6 (patch) | |
tree | f9d33a506196ac07d6b84e734b0918b6ada2d6d3 /contrib/ltree/_ltree_gist.c | |
parent | a86a9bf9fe1266c6025024c3f6b7479e27f8da83 (diff) |
Restructure some header files a bit, in particular heapam.h, by removing some
unnecessary #include lines in it. Also, move some tuple routine prototypes and
macros to htup.h, which allows removal of heapam.h inclusion from some .c
files.
For this to work, a new header file access/sysattr.h needed to be created,
initially containing attribute numbers of system columns, for pg_dump usage.
While at it, make contrib ltree, intarray and hstore header files more
consistent with our header style.
Diffstat (limited to 'contrib/ltree/_ltree_gist.c')
-rw-r--r-- | contrib/ltree/_ltree_gist.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/ltree/_ltree_gist.c b/contrib/ltree/_ltree_gist.c index 1c9b6b03eaa..f1fa0fbaf42 100644 --- a/contrib/ltree/_ltree_gist.c +++ b/contrib/ltree/_ltree_gist.c @@ -2,13 +2,14 @@ * GiST support for ltree[] * Teodor Sigaev <[email protected]> */ +#include "postgres.h" -#include "ltree.h" #include "access/gist.h" #include "access/skey.h" #include "utils/array.h" - #include "crc32.h" +#include "ltree.h" + PG_FUNCTION_INFO_V1(_ltree_compress); Datum _ltree_compress(PG_FUNCTION_ARGS); |