projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2e95f5
)
Change minimum max_worker_processes from 1 to 0
author
Peter Eisentraut
<peter_e@gmx.net>
Tue, 2 Aug 2016 17:15:35 +0000
(13:15 -0400)
committer
Peter Eisentraut
<peter_e@gmx.net>
Tue, 2 Aug 2016 17:15:35 +0000
(13:15 -0400)
Setting it to 0 is probably not useful in practice, but it allows
testing of situations without available background worker slots.
src/backend/utils/misc/guc.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/misc/guc.c
b/src/backend/utils/misc/guc.c
index 6ac5184b3743fe0aed88b1b3a6ee7a170f3a9f69..9c93df0f0a49efbecee3e7dc8cc60dd73cd9af46 100644
(file)
--- a/
src/backend/utils/misc/guc.c
+++ b/
src/backend/utils/misc/guc.c
@@
-2469,7
+2469,7
@@
static struct config_int ConfigureNamesInt[] =
NULL,
},
&max_worker_processes,
- 8,
1
, MAX_BACKENDS,
+ 8,
0
, MAX_BACKENDS,
check_max_worker_processes, NULL, NULL
},