public inbox for [email protected]
help / color / mirror / Atom feedFrom: Amit Kapila <[email protected]>
To: Ahmed Et-tanany <[email protected]>
Cc: Fujii Masao <[email protected]>
Cc: Álvaro Herrera <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH] Add max_logical_replication_slots GUC
Date: Wed, 11 Feb 2026 17:39:37 +0530
Message-ID: <CAA4eK1JWGgQ-6MTBPTEvK9ttBqMAbxsAHNay8RjEg9AaxeyS2A@mail.gmail.com> (raw)
In-Reply-To: <CAD7nQBCwWj=v0QE6HL3BDOPrbqE1raniZ6DRPi_cyLxv81+HJQ@mail.gmail.com>
References: <CAD7nQBD1iy3NAS2YRDUH+zk0g=50px_h_wRsLcFkai7R_RF6VQ@mail.gmail.com>
<[email protected]>
<CAD7nQBCfgCeTwO=45OXhGc=wpYBrWXJfzJKRy+T26_jALxatLg@mail.gmail.com>
<CAHGQGwEaBw9dd+Nzb2ETDJ-40nJTo6GRXrG_FcP0rmw3_-qU_Q@mail.gmail.com>
<CAD7nQBCwWj=v0QE6HL3BDOPrbqE1raniZ6DRPi_cyLxv81+HJQ@mail.gmail.com>
On Thu, Jan 29, 2026 at 6:31 PM Ahmed Et-tanany <[email protected]> wrote:
>
> On Thu, Jan 29, 2026 at 12:39 PM Fujii Masao <[email protected]> wrote:
>>
>>
>> Would something like max_logical_wal_senders also be needed for your purpose?
>> Otherwise, logical replication connections could exhaust max_wal_senders and
>> prevent physical replication connections from being established.
>>
>> That said, adding two separate GUC parameters (i.e.,
>> max_logical_replication_slots
>> and max_logical_wal_senders) for this purpose doesn't seem like a
>> great solution,
>> though...
>>
>
> That's a great point! I'm thinking we could potentially avoid
> introducing a separate max_logical_wal_senders GUC by reusing
> max_logical_replication_slots to decide whether a WAL sender can
> start for logical replication.
>
Won't the walsender automatically exit if the
max_logical_replication_slots is reached? If so, do we really need a
separate GUC to control logical walsenders?
--
With Regards,
Amit Kapila.
view thread (10+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: [PATCH] Add max_logical_replication_slots GUC
In-Reply-To: <CAA4eK1JWGgQ-6MTBPTEvK9ttBqMAbxsAHNay8RjEg9AaxeyS2A@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox