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/pgrowlocks/pgrowlocks.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/pgrowlocks/pgrowlocks.c')
-rw-r--r-- | contrib/pgrowlocks/pgrowlocks.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/pgrowlocks/pgrowlocks.c b/contrib/pgrowlocks/pgrowlocks.c index bb629c9085b..e41c59e7989 100644 --- a/contrib/pgrowlocks/pgrowlocks.c +++ b/contrib/pgrowlocks/pgrowlocks.c @@ -1,5 +1,5 @@ /* - * $PostgreSQL: pgsql/contrib/pgrowlocks/pgrowlocks.c,v 1.10 2008/05/12 00:00:43 alvherre Exp $ + * $PostgreSQL: pgsql/contrib/pgrowlocks/pgrowlocks.c,v 1.11 2008/06/19 00:46:03 alvherre Exp $ * * Copyright (c) 2005-2006 Tatsuo Ishii * @@ -26,6 +26,7 @@ #include "access/heapam.h" #include "access/multixact.h" +#include "access/relscan.h" #include "access/xact.h" #include "catalog/namespace.h" #include "funcapi.h" |