On Tue, Apr 20, 2010 at 9:40 AM, Tom Lane <t...@sss.pgh.pa.us> wrote: > Robert Haas <robertmh...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers