diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-05-12 00:00:54 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-05-12 00:00:54 +0000 |
commit | f8c4d7db6033802ab682f95d5548a9ea6c33cec6 (patch) | |
tree | f9d33a506196ac07d6b84e734b0918b6ada2d6d3 /contrib/pgstattuple/pgstattuple.c | |
parent | a86a9bf9fe1266c6025024c3f6b7479e27f8da83 (diff) | |
download | postgresql-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 'contrib/pgstattuple/pgstattuple.c')
-rw-r--r-- | contrib/pgstattuple/pgstattuple.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/pgstattuple/pgstattuple.c b/contrib/pgstattuple/pgstattuple.c index 245788de451..d7f9c8a3739 100644 --- a/contrib/pgstattuple/pgstattuple.c +++ b/contrib/pgstattuple/pgstattuple.c @@ -1,5 +1,5 @@ /* - * $PostgreSQL: pgsql/contrib/pgstattuple/pgstattuple.c,v 1.33 2008/03/26 21:10:36 alvherre Exp $ + * $PostgreSQL: pgsql/contrib/pgstattuple/pgstattuple.c,v 1.34 2008/05/12 00:00:43 alvherre Exp $ * * Copyright (c) 2001,2002 Tatsuo Ishii * @@ -27,10 +27,12 @@ #include "access/gist_private.h" #include "access/hash.h" #include "access/heapam.h" +#include "access/htup.h" #include "access/nbtree.h" #include "catalog/namespace.h" #include "funcapi.h" #include "miscadmin.h" +#include "storage/bufmgr.h" #include "utils/builtins.h" #include "utils/tqual.h" |