summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2016-08-02 17:15:35 +0000
committerPeter Eisentraut2016-08-02 17:15:35 +0000
commitc4d3a039f0ea735c4c21831a74b753678c0e6794 (patch)
tree4f34b01c161ecb3e478bc55f57674a525b4c8d5e
parente2e95f5ef3c17197e319e4bbee70486f6a33e7d1 (diff)
Change minimum max_worker_processes from 1 to 0
Setting it to 0 is probably not useful in practice, but it allows testing of situations without available background worker slots.
-rw-r--r--src/backend/utils/misc/guc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index 6ac5184b37..9c93df0f0a 100644
--- 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
},