Re: [PATCH] Add max_logical_replication_slots GUC - Mailing list pgsql-hackers

From Masahiko Sawada
Subject Re: [PATCH] Add max_logical_replication_slots GUC
Date
Msg-id CAD21AoBpEGfeX3ce_biQn6wsD+7vb5iEDbu5BV85P8kvOmotnQ@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Add max_logical_replication_slots GUC  (Ahmed Et-tanany <ahmed.ettanany@aiven.io>)
List pgsql-hackers
On Wed, Jan 28, 2026 at 10:02 PM Ahmed Et-tanany
<ahmed.ettanany@aiven.io> wrote:
>
> Yes, that's what I meant.

FYI there is a related discussion on another thread[1]; Now that
wal_level='replica' can dynamically become 'logical' WAL level
depending on the logical slot presence, there might be users who want
to allow physical replication while not for logical replication
(decoding) to avoid overheads due to logical WAL logging. Having
separate limits for logical slots and physical slots might help such
use cases too.

Regards,

[1] https://www.postgresql.org/message-id/CAEze2WjP0NpAjNioXzLiNkpNQcxCMtaNajaQXfufYVcyFyqW1g%40mail.gmail.com

--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: pg_upgrade: optimize replication slot caught-up check
Next
From: Chao Li
Date:
Subject: Re: Use allocation macros in the logical replication code