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/pgstattuple/pgstattuple.c | |
parent | d1da215d325a1b8923def0a59cf2b948186164c8 (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/pgstattuple/pgstattuple.c')
-rw-r--r-- | contrib/pgstattuple/pgstattuple.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/pgstattuple/pgstattuple.c b/contrib/pgstattuple/pgstattuple.c index 4ed5ef1d5c5..f4c046ca8c5 100644 --- a/contrib/pgstattuple/pgstattuple.c +++ b/contrib/pgstattuple/pgstattuple.c @@ -1,5 +1,5 @@ /* - * $PostgreSQL: pgsql/contrib/pgstattuple/pgstattuple.c,v 1.35 2008/05/16 17:31:17 tgl Exp $ + * $PostgreSQL: pgsql/contrib/pgstattuple/pgstattuple.c,v 1.36 2008/06/19 00:46:03 alvherre Exp $ * * Copyright (c) 2001,2002 Tatsuo Ishii * @@ -26,9 +26,8 @@ #include "access/gist_private.h" #include "access/hash.h" -#include "access/heapam.h" -#include "access/htup.h" #include "access/nbtree.h" +#include "access/relscan.h" #include "catalog/namespace.h" #include "funcapi.h" #include "miscadmin.h" |