From: Heikki Linnakangas Date: Thu, 19 Feb 2009 08:02:32 +0000 (+0000) Subject: Increase NUM_AUXILIARY_PROCS, now that the startup process can co-exist X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=3afb8a9338a7ab815f8481fef223539ef40a099a;p=users%2Fsimon%2Fpostgres.git 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. --- diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index 7509332d59..53a5c055ad 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -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 */