aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/guc.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-04-26 08:31:38 -0400
committerRobert Haas <rhaas@postgresql.org>2016-04-26 08:35:58 -0400
commit77cd477c4ba885cfa1ba67beaa82e06f2e182b85 (patch)
tree45cd79391da5ae88bdd4913756e9a98db2d6aa95 /src/backend/utils/misc/guc.c
parentb7351ced425f3937f0a61adb4ade1d4b93bf751d (diff)
downloadpostgresql-77cd477c4ba885cfa1ba67beaa82e06f2e182b85.tar.gz
postgresql-77cd477c4ba885cfa1ba67beaa82e06f2e182b85.zip
Enable parallel query by default.
Change max_parallel_degree default from 0 to 2. It is possible that this is not a good idea, or that we should go with 1 worker rather than 2, but we won't find out without trying it. Along the way, reword the documentation for max_parallel_degree a little bit to hopefully make it more clear. Discussion: 20160420174631.3qjjhpwsvvx5bau5@alap3.anarazel.de
Diffstat (limited to 'src/backend/utils/misc/guc.c')
-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 60856dda198..26ca06cfc25 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -2662,7 +2662,7 @@ static struct config_int ConfigureNamesInt[] =
NULL
},
&max_parallel_degree,
- 0, 0, MAX_BACKENDS,
+ 2, 0, MAX_BACKENDS,
NULL, NULL, NULL
},