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

From Robert Haas
Subject Re: [DOCS] Streaming replication document improvements
Date
Msg-id k2j603c8f071004200642l6373987fz84182d348881f0c2@mail.gmail.com
Whole thread Raw
In response to Re: [DOCS] Streaming replication document improvements  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Apr 20, 2010 at 9:40 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> If replication connections can use up superuser_reserved_connections
>> slots, then it's very possible that this safety valve will fail
>> completely.
>
> Only if replication can use up *all* the superuser_reserved_connections
> slots.

Sure.  In many cases someone will have 3
superuser_reserved_connections and only 1 wal_sender, so it won't be
an issue.  However, I still think we oughta make this (apparently
one-line) fix so that people will have the number of emergency
superuser connections that they expect to have, rather than some
smaller number that might be 0 if they have a number of SR slaves.

...Robert

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [DOCS] Streaming replication document improvements
Next
From: Boszormenyi Zoltan
Date:
Subject: SpinLockAcquire question