From 076a055acf3c55314de267c62b03191586d79cf6 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 29 May 2004 22:48:23 +0000 Subject: Separate out bgwriter code into a logically separate module, rather than being random pieces of other files. Give bgwriter responsibility for all checkpoint activity (other than a post-recovery checkpoint); so this child process absorbs the functionality of the former transient checkpoint and shutdown subprocesses. While at it, create an actual include file for postmaster.c, which for some reason never had its own file before. --- src/include/storage/bufmgr.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/include/storage/bufmgr.h') diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h index 0aab9ad24f4..27752d412b5 100644 --- a/src/include/storage/bufmgr.h +++ b/src/include/storage/bufmgr.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/storage/bufmgr.h,v 1.79 2004/05/08 19:09:25 tgl Exp $ + * $PostgreSQL: pgsql/src/include/storage/bufmgr.h,v 1.80 2004/05/29 22:48:23 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -28,11 +28,6 @@ extern DLLIMPORT int NBuffers; /* in bufmgr.c */ extern bool zero_damaged_pages; -extern int BgWriterDelay; -extern int BgWriterPercent; -extern int BgWriterMaxpages; - - /* in buf_init.c */ extern DLLIMPORT Block *BufferBlockPointers; extern int32 *PrivateRefCount; @@ -179,9 +174,6 @@ extern void AbortBufferIO(void); extern void BufmgrCommit(void); extern int BufferSync(int percent, int maxpages); -extern void BufferBackgroundWriter(void); -extern const char *BgWriterAssignSyncMethod(const char *method, - bool doid, bool interactive); extern void InitLocalBuffer(void); -- cgit v1.2.3