Re: [HACKERS] TODO Done. Superuser backend slot reservations - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] TODO Done. Superuser backend slot reservations
Date
Msg-id 14028.1030334164@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] TODO Done. Superuser backend slot reservations  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Neil Conway <neilc@samurai.com> writes:
>         - Therefore, the # of backend slots created is
>           (max_connections + max_admin_connections)

I tend to agree with Bruce on this: max_connections means
max_connections.  Therefore, the number of backend slots is
max_connections, of which max_connections - max_admin_connections
are available to non-superusers.

(There is provision in the existing code for one extra child process
for checkpoints, but it's not a "real" backend and so it's reasonable
not to count it against max_connections.)

            regards, tom lane

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: pg_locks cleanup
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] TODO Done. Superuser backend slot reservations