Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6ebc6d9

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 bybuildfarm member dungbeetle.
1 parent86ffdca commit6ebc6d9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎src/include/storage/proc.h

Lines changed: 6 additions & 2 deletions
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-
#defineNUM_AUXILIARY_PROCS3
146+
#defineNUM_AUXILIARY_PROCS4
143147

144148

145149
/* configurable options */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp