summaryrefslogtreecommitdiff
path: root/contrib/pg_buffercache
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2012-08-30 16:15:44 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2012-08-30 16:52:35 -0400
commitc219d9b0a55bcdf81b00da6bad24ac2bf3e53d20 (patch)
treed3130101cfa437376e15c1d0d835e102e439104a /contrib/pg_buffercache
parent381a9ed66d8a601eb972be172e7251ca7f0e9d78 (diff)
downloadpostgresql-c219d9b0a55bcdf81b00da6bad24ac2bf3e53d20.tar.gz
Split tuple struct defs from htup.h to htup_details.h
This reduces unnecessary exposure of other headers through htup.h, which is very widely included by many files. I have chosen to move the function prototypes to the new file as well, because that means htup.h no longer needs to include tupdesc.h. In itself this doesn't have much effect in indirect inclusion of tupdesc.h throughout the tree, because it's also required by execnodes.h; but it's something to explore in the future, and it seemed best to do the htup.h change now while I'm busy with it.
Diffstat (limited to 'contrib/pg_buffercache')
-rw-r--r--contrib/pg_buffercache/pg_buffercache_pages.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/pg_buffercache/pg_buffercache_pages.c b/contrib/pg_buffercache/pg_buffercache_pages.c
index 27e52b3b35..dbf8030f7c 100644
--- a/contrib/pg_buffercache/pg_buffercache_pages.c
+++ b/contrib/pg_buffercache/pg_buffercache_pages.c
@@ -8,6 +8,7 @@
*/
#include "postgres.h"
+#include "access/htup_details.h"
#include "catalog/pg_type.h"
#include "funcapi.h"
#include "storage/buf_internals.h"