aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2005-04-01 08:41:19 +0000
committerNeil Conway <neilc@samurai.com>2005-04-01 08:41:19 +0000
commitf5dbbdcf00be796b4b7169a49659aeacf55fea87 (patch)
tree7b1651652768ef20346bd6807a2a684a3dfec5fc
parent135f65e2991b40635cd0469ec3099c1242c2ab6f (diff)
downloadpostgresql-f5dbbdcf00be796b4b7169a49659aeacf55fea87.tar.gz
postgresql-f5dbbdcf00be796b4b7169a49659aeacf55fea87.zip
Remove pg_buffercache_pages.h -- patch from Mark Kirkwood.
-rw-r--r--contrib/pg_buffercache/pg_buffercache_pages.c5
-rw-r--r--contrib/pg_buffercache/pg_buffercache_pages.h18
2 files changed, 3 insertions, 20 deletions
diff --git a/contrib/pg_buffercache/pg_buffercache_pages.c b/contrib/pg_buffercache/pg_buffercache_pages.c
index aea0cd78344..58a68f59622 100644
--- a/contrib/pg_buffercache/pg_buffercache_pages.c
+++ b/contrib/pg_buffercache/pg_buffercache_pages.c
@@ -3,7 +3,7 @@
* pg_buffercache_pages.c
* display some contents of the buffer cache
*
- * $PostgreSQL: pgsql/contrib/pg_buffercache/pg_buffercache_pages.c,v 1.2 2005/03/31 00:45:26 neilc Exp $
+ * $PostgreSQL: pgsql/contrib/pg_buffercache/pg_buffercache_pages.c,v 1.3 2005/04/01 08:41:19 neilc Exp $
*-------------------------------------------------------------------------
*/
#include "postgres.h"
@@ -12,7 +12,6 @@
#include "storage/buf_internals.h"
#include "storage/bufmgr.h"
#include "utils/relcache.h"
-#include "pg_buffercache_pages.h"
#define NUM_BUFFERCACHE_PAGES_ELEM 6
@@ -22,6 +21,8 @@ extern DLLIMPORT BufferDesc *BufferDescriptors;
extern DLLIMPORT volatile uint32 InterruptHoldoffCount;
#endif
+Datum pg_buffercache_pages(PG_FUNCTION_ARGS);
+
/*
* Record structure holding the to be exposed cache data.
diff --git a/contrib/pg_buffercache/pg_buffercache_pages.h b/contrib/pg_buffercache/pg_buffercache_pages.h
deleted file mode 100644
index 05d97a5882c..00000000000
--- a/contrib/pg_buffercache/pg_buffercache_pages.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/*-------------------------------------------------------------------------
- *
- * pg_buffercache_pages.h
- * Prototypes for pg_buffercache_pages
- *
- *
- * $PostgreSQL: pgsql/contrib/pg_buffercache/pg_buffercache_pages.h,v 1.1 2005/03/12 15:36:24 neilc Exp $
- *
- *-------------------------------------------------------------------------
- */
-
-
-#ifndef PG_BUFFERCACHE_PAGES_H
-#define PG_BUFFERCACHE_PAGES_H
-
-extern Datum pg_buffercache_pages(PG_FUNCTION_ARGS);
-
-#endif /* PG_BUFFERCACHE_PAGES_H */