Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6ebc6d9

Browse files
committed
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.
1 parent 86ffdca commit 6ebc6d9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/include/storage/proc.h

+6-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/storage/proc.h,v 1.110 2009/01/01 17:24:01 momjian Exp $
10+
* $PostgreSQL: pgsql/src/include/storage/proc.h,v 1.111 2009/02/19 08:02:32 heikki Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -138,8 +138,12 @@ typedef struct PROC_HDR
138138
/*
139139
* We set aside some extra PGPROC structures for auxiliary processes,
140140
* ie things that aren't full-fledged backends but need shmem access.
141+
*
142+
* Background writer, WAL writer, and autovacuum launcher run during
143+
* normal operation. When recovery has just finished, the startup
144+
* process can co-exist with them for a brief period before it exits.
141145
*/
142-
#define NUM_AUXILIARY_PROCS 3
146+
#define NUM_AUXILIARY_PROCS 4
143147

144148

145149
/* configurable options */

0 commit comments

Comments
 (0)