From c4d3a039f0ea735c4c21831a74b753678c0e6794 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 2 Aug 2016 13:15:35 -0400 Subject: [PATCH] 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. --- src/backend/utils/misc/guc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 },