diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-11-30 01:39:08 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-11-30 01:39:08 +0000 |
commit | 680b7357ce850c28d06997be793aee18f72434ba (patch) | |
tree | 79c9ab2ef4ac257301510d9ca6bc37b8c6dfba8b /src/backend/storage/buffer/xlog_bufmgr.c | |
parent | 9f20852f878dbacc0412d909d48fcbd779d7779e (diff) | |
download | postgresql-680b7357ce850c28d06997be793aee18f72434ba.tar.gz postgresql-680b7357ce850c28d06997be793aee18f72434ba.zip |
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.
Diffstat (limited to 'src/backend/storage/buffer/xlog_bufmgr.c')
-rw-r--r-- | src/backend/storage/buffer/xlog_bufmgr.c | 9 |
1 files changed, 6 insertions, 3 deletions
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 <sys/types.h> #include <sys/file.h> #include <math.h> #include <signal.h> -#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" |