1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Magic blocks don't do us any good unless we use 'em ... so install one

in every shared library.
This commit is contained in:
Tom Lane
2006-05-30 22:12:16 +00:00
parent e95703eac3
commit a0ffab351e
58 changed files with 160 additions and 47 deletions

View File

@ -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.6 2005/10/15 02:49:05 momjian Exp $
* $PostgreSQL: pgsql/contrib/pg_buffercache/pg_buffercache_pages.c,v 1.7 2006/05/30 22:12:13 tgl Exp $
*-------------------------------------------------------------------------
*/
#include "postgres.h"
@ -21,6 +21,8 @@ extern DLLIMPORT BufferDesc *BufferDescriptors;
extern DLLIMPORT volatile uint32 InterruptHoldoffCount;
#endif
PG_MODULE_MAGIC;
Datum pg_buffercache_pages(PG_FUNCTION_ARGS);