Make max_parallel_degree PGC_USERSET.
authorRobert Haas
Mon, 21 Mar 2016 14:54:36 +0000 (10:54 -0400)
committerRobert Haas
Mon, 21 Mar 2016 14:54:36 +0000 (10:54 -0400)
It was intended to be this way all along, just like other planner
GUCs such as work_mem.  But I goofed.

src/backend/utils/misc/guc.c

index 5a3a40e21d4fdbe092d249e51af127f917e8c029..65a6cd4404f9ce2c18f1c288f2762db187e5db69 100644 (file)
@@ -2637,7 +2637,7 @@ static struct config_int ConfigureNamesInt[] =
    },
 
    {
-       {"max_parallel_degree", PGC_SUSET, RESOURCES_ASYNCHRONOUS,
+       {"max_parallel_degree", PGC_USERSET, RESOURCES_ASYNCHRONOUS,
            gettext_noop("Sets the maximum number of parallel processes per executor node."),
            NULL
        },