@ -204,15 +204,15 @@ char *Unix_socket_directories;
char * ListenAddresses ;
/*
* ReservedBackend s is the number of backends reserved for superuser use .
* This number is taken out of the pool size given by MaxConnections so
* number of backend slots available to non - superusers is
* ( MaxConnections - ReservedBackend s) . Note what this really means is
* " if there are <= ReservedBackends connections available, only superuser s
* can make new connections " --- pre-existing superuser connections don't
* count against the limit .
* SuperuserReservedConnection s is the number of backends reserved for
* superuser use . This number is taken out of the pool size given by
* MaxConnections so number of backend slots available to non - superusers is
* ( MaxConnections - SuperuserReservedConnection s) . Note what this really
* means is " if there are <= SuperuserReservedConnections connection s
* available , only superusers can make new connections " --- pre-existing
* superuser connections don ' t count against the limit .
*/
int ReservedBackend s;
int SuperuserReservedConnection s;
/* The socket(s) we're listening to. */
# define MAXLISTEN 64
@ -908,11 +908,11 @@ PostmasterMain(int argc, char *argv[])
/*
* Check for invalid combinations of GUC settings .
*/
if ( ReservedBackend s > = MaxConnections )
if ( SuperuserReservedConnection s > = MaxConnections )
{
write_stderr ( " %s: superuser_reserved_connections (%d) must be less than max_connections (%d) \n " ,
progname ,
ReservedBackend s, MaxConnections ) ;
SuperuserReservedConnection s, MaxConnections ) ;
ExitPostmaster ( 1 ) ;
}
if ( XLogArchiveMode > ARCHIVE_MODE_OFF & & wal_level = = WAL_LEVEL_MINIMAL )