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

From Álvaro Herrera
Subject Re: [PATCH] Add max_logical_replication_slots GUC
Date
Msg-id 202601281248.qjv5oru7hxlz@alvherre.pgsql
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 2026-Jan-28, Ahmed Et-tanany wrote:

> In practice, a burst of logical replication activity can exhaust all
> available replication slots, which in turn prevents physical standbys
> from connecting or restarting.
> 
> This is problematic because logical replication slots are often
> user-managed and can grow dynamically,

Ah, you mean that users doing CREATE SUBSCRIPTION could cause the limit
to be reached, possibly blocking streaming replication.  Yeah, it makes
sense to have a separate limit.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"[PostgreSQL] is a great group; in my opinion it is THE best open source
development communities in existence anywhere."                (Lamar Owen)



pgsql-hackers by date:

Previous
From: "Euler Taveira"
Date:
Subject: Re: Pasword expiration warning
Next
From: Robert Haas
Date:
Subject: Re: pgsql: Prevent invalidation of newly synced replication slots.