aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2009-02-19 08:02:32 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2009-02-19 08:02:32 +0000
commit6ebc6d9089cc86e377c5ed87330c13f1eea5eb7e (patch)
tree99c35de5ccb358351409b9a2e58379776b1b7abb /src
parent86ffdcad1bfd1a02e58458baf6d0b265f3814121 (diff)
downloadpostgresql-6ebc6d9089cc86e377c5ed87330c13f1eea5eb7e.tar.gz
postgresql-6ebc6d9089cc86e377c5ed87330c13f1eea5eb7e.zip
Increase NUM_AUXILIARY_PROCS, now that the startup process can co-exist
with other auxiliary processes for a short period. As witnessed by buildfarm member dungbeetle.
Diffstat (limited to 'src')
-rw-r--r--src/include/storage/proc.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h
index 0570a8614ed..dccea9fa7ad 100644
--- a/src/include/storage/proc.h
+++ b/src/include/storage/proc.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/storage/proc.h,v 1.110 2009/01/01 17:24:01 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/storage/proc.h,v 1.111 2009/02/19 08:02:32 heikki Exp $
*
*-------------------------------------------------------------------------
*/
@@ -138,8 +138,12 @@ typedef struct PROC_HDR
/*
* We set aside some extra PGPROC structures for auxiliary processes,
* ie things that aren't full-fledged backends but need shmem access.
+ *
+ * Background writer, WAL writer, and autovacuum launcher run during
+ * normal operation. When recovery has just finished, the startup
+ * process can co-exist with them for a brief period before it exits.
*/
-#define NUM_AUXILIARY_PROCS 3
+#define NUM_AUXILIARY_PROCS 4
/* configurable options */