aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/rel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/rel.h')
-rw-r--r--src/include/utils/rel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h
index 5d354c0f67b..3d628766e51 100644
--- a/src/include/utils/rel.h
+++ b/src/include/utils/rel.h
@@ -204,7 +204,7 @@ typedef struct StdRdOptions
AutoVacOpts autovacuum; /* autovacuum-related options */
bool user_catalog_table; /* use as an additional catalog
* relation */
- int parallel_degree; /* max number of parallel workers */
+ int parallel_workers; /* max number of parallel workers */
} StdRdOptions;
#define HEAP_MIN_FILLFACTOR 10
@@ -243,11 +243,11 @@ typedef struct StdRdOptions
/*
* RelationGetParallelDegree
- * Returns the relation's parallel_degree. Note multiple eval of argument!
+ * Returns the relation's parallel_workers. Note multiple eval of argument!
*/
#define RelationGetParallelDegree(relation, defaultpd) \
((relation)->rd_options ? \
- ((StdRdOptions *) (relation)->rd_options)->parallel_degree : (defaultpd))
+ ((StdRdOptions *) (relation)->rd_options)->parallel_workers : (defaultpd))
/*