Re: [DOCS] Streaming replication document improvements - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [DOCS] Streaming replication document improvements
Date
Msg-id 26449.1271772517@sss.pgh.pa.us
Whole thread Raw
In response to Re: [DOCS] Streaming replication document improvements  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [DOCS] Streaming replication document improvements  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, Apr 20, 2010 at 9:47 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
>> 3. Your proposal
>> � �Treat superuser replication connection like non-superuser one

> Well, only for this one very specific purpose.  I would adjust the
> docs like this:

> Determines the number of connection "slots" that are reserved for
> connections by PostgreSQL  superusers. At most max_connections
> connections can ever be active simultaneously. Whenever the number of
> active concurrent connections is at least max_connections minus
> superuser_reserved_connections, new connections will be accepted only
> for superusers, and no new replication connections will be accepted.

> I think that's pretty simple and clear.

+1.  I'm not sure about the consequences of converting walsender to
non-superuser across the board, and would prefer not to experiment
with it at this stage of the release cycle.

            regards, tom lane

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Thoughts on pg_hba.conf rejection
Next
From: Tom Lane
Date:
Subject: Re: Thoughts on pg_hba.conf rejection