Add new GUC reserved_connections.

Robert Haas <rhaas@postgresql.org>

Commit: 6e2775e4d4e47775f0d933e4a93c148024a3bc63
Author: Robert Haas <rhaas@postgresql.org>
Date: 2023-01-20T20:39:13Z
Releases: 16.0
Add new GUC reserved_connections.

This provides a way to reserve connection slots for non-superusers.
The slots reserved via the new GUC are available only to users who
have the new predefined role pg_use_reserved_connections.
superuser_reserved_connections remains as a final reserve in case
reserved_connections has been exhausted.

Patch by Nathan Bossart. Reviewed by Tushar Ahuja and by me.

Discussion: http://postgr.es/m/20230119194601.GA4105788@nathanxps13

Files

Documentation touched

Discussion