summaryrefslogtreecommitdiff
path: root/src/include/storage/pmsignal.h
diff options
context:
space:
mode:
authorTom Lane2004-05-29 22:48:23 +0000
committerTom Lane2004-05-29 22:48:23 +0000
commit076a055acf3c55314de267c62b03191586d79cf6 (patch)
tree1bfb8a8755cd393c6615bd55a7a4bb7ad404781c /src/include/storage/pmsignal.h
parentd531fd2cdc819e7ca026c2ab9e65a7f7c49b1906 (diff)
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.
Diffstat (limited to 'src/include/storage/pmsignal.h')
-rw-r--r--src/include/storage/pmsignal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/storage/pmsignal.h b/src/include/storage/pmsignal.h
index 688b83adab1..4180c95c735 100644
--- a/src/include/storage/pmsignal.h
+++ b/src/include/storage/pmsignal.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/pmsignal.h,v 1.7 2004/05/23 03:50:45 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/storage/pmsignal.h,v 1.8 2004/05/29 22:48:23 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -22,7 +22,6 @@
*/
typedef enum
{
- PMSIGNAL_DO_CHECKPOINT, /* request to start a checkpoint */
PMSIGNAL_PASSWORD_CHANGE, /* pg_pwd file has changed */
PMSIGNAL_WAKEN_CHILDREN, /* send a SIGUSR1 signal to all backends */
@@ -35,5 +34,6 @@ typedef enum
extern void PMSignalInit(void);
extern void SendPostmasterSignal(PMSignalReason reason);
extern bool CheckPostmasterSignal(PMSignalReason reason);
+extern bool PostmasterIsAlive(bool amDirectChild);
#endif /* PMSIGNAL_H */