aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/selfuncs.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2008-05-12 00:00:54 +0000
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2008-05-12 00:00:54 +0000
commitf8c4d7db6033802ab682f95d5548a9ea6c33cec6 (patch)
treef9d33a506196ac07d6b84e734b0918b6ada2d6d3 /src/backend/utils/adt/selfuncs.c
parenta86a9bf9fe1266c6025024c3f6b7479e27f8da83 (diff)
downloadpostgresql-f8c4d7db6033802ab682f95d5548a9ea6c33cec6.tar.gz
postgresql-f8c4d7db6033802ab682f95d5548a9ea6c33cec6.zip
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 'src/backend/utils/adt/selfuncs.c')
-rw-r--r--src/backend/utils/adt/selfuncs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/utils/adt/selfuncs.c b/src/backend/utils/adt/selfuncs.c
index c358cfa7945..5d08a329654 100644
--- a/src/backend/utils/adt/selfuncs.c
+++ b/src/backend/utils/adt/selfuncs.c
@@ -15,7 +15,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/adt/selfuncs.c,v 1.248 2008/04/13 20:51:20 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/adt/selfuncs.c,v 1.249 2008/05/12 00:00:51 alvherre Exp $
*
*-------------------------------------------------------------------------
*/
@@ -76,6 +76,7 @@
#include <ctype.h>
#include <math.h>
+#include "access/sysattr.h"
#include "catalog/pg_opfamily.h"
#include "catalog/pg_statistic.h"
#include "catalog/pg_type.h"