When we're restricting who can connect, don't allow new walsenders.
Robert Haas <rhaas@postgresql.org>
When we're restricting who can connect, don't allow new walsenders. Normal superuser processes are allowed to connect even when the database system is shutting down, or when fewer than superuser_reserved_connection slots remain. This is intended to make sure an administrator can log in and troubleshoot, so don't extend these same courtesies to users connecting for replication.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/config.sgml | modified | +3 −2 |
| src/backend/utils/init/postinit.c | modified | +32 −21 |