Rename ReservedBackends variable to SuperuserReservedConnections.
Robert Haas <rhaas@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/postmaster.c | modified | +10 −10 |
| src/backend/utils/init/postinit.c | modified | +2 −2 |
| src/backend/utils/misc/guc_tables.c | modified | +1 −1 |
| src/include/postmaster/postmaster.h | modified | +1 −1 |
Discussion
- almost-super-user problems that we haven't fixed yet 66 messages · 2023-01-16 → 2023-03-17