Re: Connection slots reserved for replication - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: Connection slots reserved for replication
Date
Msg-id 20181120181302.GG3415@tamriel.snowman.net
Whole thread Raw
In response to Re: Connection slots reserved for replication  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Connection slots reserved for replication  (Alexander Kukushkin <cyberdemn@gmail.com>)
List pgsql-hackers
Greetings,

* Magnus Hagander (magnus@hagander.net) wrote:
> On Fri, Nov 9, 2018 at 2:02 AM Masahiko Sawada <sawada.mshk@gmail.com>
> wrote:
> > On the other hand, If we always reserve max_wal_senders slots
> > available slots for normal backend will get decreased in the next
> > release, which require for users to re-confiugre the max_connection.
> > But I felt this behavior seems more natural than the current one, so I
> > think the re-configuration can be acceptable for users.
>
> Maybe what we should do instead is not consider max_wal_senders a part of
> the total number of connections, and instead size the things that needs to
> be sized by them by max_connections + max_wal_senders. That seems more
> logical given how the parameters are named as well.

I tend to agree with having max_connections + max_wal_senders.

Thanks!

Stephen

Attachment

pgsql-hackers by date:

Previous
From: Mithun Cy
Date:
Subject: Re: mysql_fdw crash
Next
From: Tom Lane
Date:
Subject: Re: CF app feature request