mirror of
https://github.com/postgres/postgres.git
synced 2025-08-17 01:02:17 +03:00
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.
This commit is contained in:
@@ -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/bootstrap/bootstrap.h,v 1.34 2004/05/28 05:13:21 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/include/bootstrap/bootstrap.h,v 1.35 2004/05/29 22:48:22 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -58,8 +58,6 @@ extern void Int_yyerror(const char *str);
|
||||
#define BS_XLOG_NOP 0
|
||||
#define BS_XLOG_BOOTSTRAP 1
|
||||
#define BS_XLOG_STARTUP 2
|
||||
#define BS_XLOG_CHECKPOINT 3
|
||||
#define BS_XLOG_BGWRITER 4
|
||||
#define BS_XLOG_SHUTDOWN 5
|
||||
#define BS_XLOG_BGWRITER 3
|
||||
|
||||
#endif /* BOOTSTRAP_H */
|
||||
|
Reference in New Issue
Block a user