You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
This patch reserves the last superuser_reserved_connections slots for
connections by the superuser only.This patch replaces the last patch I sent a couple of days ago.It closes a connection that has not been authorised by a superuser if it wouldleave less than the GUC variable ReservedBackends(superuser_reserved_connections in postgres.conf) backend process slots freein the SISeg. This differs to the first patch which only reserved the lastReservedBackends slots in the procState array. This has made the free slottest more expensive due to the use of a lock.After thinking about a comment on the first patch I've also made it a fatalerror if the number of reserved slots is not less than the maximum number ofconnections.Nigel J. Andrews