* 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"
#include "storage/buf_internals.h"
#include "storage/bufmgr.h"
#include "utils/relcache.h"
-#include "pg_buffercache_pages.h"
#define NUM_BUFFERCACHE_PAGES_ELEM 6
extern DLLIMPORT volatile uint32 InterruptHoldoffCount;
#endif
+Datum pg_buffercache_pages(PG_FUNCTION_ARGS);
+
/*
* Record structure holding the to be exposed cache data.
+++ /dev/null
-/*-------------------------------------------------------------------------
- *
- * 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 */