Re: [PATCH] Add max_logical_replication_slots GUC

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Ahmed Et-tanany <ahmed(dot)ettanany(at)aiven(dot)io>
Cc: Álvaro Herrera <alvherre(at)kurilemu(dot)de>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Add max_logical_replication_slots GUC
Date: 2026-01-29 11:39:42
Message-ID: CAHGQGwEaBw9dd+Nzb2ETDJ-40nJTo6GRXrG_FcP0rmw3_-qU_Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jan 28, 2026 at 10:02 PM Ahmed Et-tanany
<ahmed(dot)ettanany(at)aiven(dot)io> wrote:
>
> Yes, that's what I meant.

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...

Regards,

--
Fujii Masao

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Bapat 2026-01-29 11:42:59 Re: Auto-tune shared_buffers to use available huge pages
Previous Message Ahmed Et-tanany 2026-01-29 11:33:28 Re: [PATCH] Add max_logical_replication_slots GUC