Use MAX_PARALLEL_WORKER_LIMIT for max_parallel_maintenance_workers max_parallel_maintenance_workers has been introduced in 9da0cc35284b, and used a hardcoded limit of 1024 rather than this variable.
max_parallel_workers and max_parallel_workers_per_gather already used MAX_PARALLEL_WORKER_LIMIT (1024) as their upper-bound since 6599c9ac3340. Author: Matthias van de Meent Reviewed-by: Zhang Mingli Discussion: https://postgr.es/m/CAEze2WiCiJD+8Wig_wGPyn4vgdPjbnYXy2Rw+9KYi6izTMuP=w...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/c0b74323dc7b47644f074cf98597723ca55b2309 Modified Files -------------- src/backend/utils/misc/guc_tables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)