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

From Bernd Helmle
Subject Re: [PATCH] Add max_logical_replication_slots GUC
Date
Msg-id 73e3649ecec2b31c1b31b222c8b1d3aede283149.camel@oopsware.de
Whole thread Raw
In response to Re: [PATCH] Add max_logical_replication_slots GUC  ("Euler Taveira" <euler@eulerto.com>)
List pgsql-hackers
Am Mittwoch, dem 28.01.2026 um 10:43 -0300 schrieb Euler Taveira:
> Another idea is to not differentiate between physical and
> logical but have a reserved_replication_slots parameter. The concept
> is similar
> to reserved_connections. It defines the number of (physical or
> logical)
> replication slots that are reserved by roles with privileges of the
> pg_use_reserved_replication_slots. (Maybe this role name is long but
> descriptive.) It defaults to 0.

I like your second idea. That makes it independent from what you like
to reserve for, either logical or physical and supports flexible pool
configurations.


--
Thanks,
    Bernd



pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: Batching in executor
Next
From: Ashutosh Bapat
Date:
Subject: Re: Import Statistics in postgres_fdw before resorting to sampling.