From 680b7357ce850c28d06997be793aee18f72434ba Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 30 Nov 2000 01:39:08 +0000 Subject: Rearrange bufmgr header files so that buf_internals.h need not be included by everything that includes bufmgr.h --- it's supposed to be internals, after all, not part of the API! This fixes the conflict against FreeBSD headers reported by Rosenman, by making it unnecessary for s_lock.h to be included by plperl.c. --- src/backend/storage/buffer/xlog_bufmgr.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/backend/storage/buffer/xlog_bufmgr.c') diff --git a/src/backend/storage/buffer/xlog_bufmgr.c b/src/backend/storage/buffer/xlog_bufmgr.c index 9672510547a..fb02413f970 100644 --- a/src/backend/storage/buffer/xlog_bufmgr.c +++ b/src/backend/storage/buffer/xlog_bufmgr.c @@ -1,6 +1,6 @@ /*------------------------------------------------------------------------- * - * bufmgr.c + * xlog_bufmgr.c * buffer manager interface routines * * Portions Copyright (c) 1996-2000, PostgreSQL, Inc @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/xlog_bufmgr.c,v 1.5 2000/11/28 23:27:55 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/xlog_bufmgr.c,v 1.6 2000/11/30 01:39:07 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -39,14 +39,17 @@ * freelist.c -- chooses victim for buffer replacement * buf_table.c -- manages the buffer lookup table */ +#include "postgres.h" + #include #include #include #include -#include "postgres.h" #include "executor/execdebug.h" #include "miscadmin.h" +#include "storage/buf_internals.h" +#include "storage/bufmgr.h" #include "storage/s_lock.h" #include "storage/smgr.h" #include "utils/relcache.h" -- cgit v1.2.3