pgsql: Rename ReservedBackends variable to SuperuserReservedConnections

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Rename ReservedBackends variable to SuperuserReservedConnections
Date: 2023-01-20 20:34:33
Message-ID: E1pIy5o-004fRh-UC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Rename ReservedBackends variable to SuperuserReservedConnections.

This is in preparation for adding a new reserved_connections GUC,
but aligning the GUC name with the variable name is also a good
idea on general principle.

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

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fe00fec1f5d78a5cfe46ac72dc284ed4cc477be1

Modified Files
--------------
src/backend/postmaster/postmaster.c | 20 ++++++++++----------
src/backend/utils/init/postinit.c | 4 ++--
src/backend/utils/misc/guc_tables.c | 2 +-
src/include/postmaster/postmaster.h | 2 +-
4 files changed, 14 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2023-01-20 20:41:37 pgsql: Add new GUC reserved_connections.
Previous Message Robert Haas 2023-01-20 20:31:24 pgsql: Update docs and error message for superuser_reserved_connections