You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[bitnami/postgresql-repmgr] Feature Request : Add dbname in primary_conninfo at postgres.auto.conf to support Failover Slot in Bitnami PostgreSQL cluster
#77103
Open
PrabhuRaja1010 opened this issue
Feb 8, 2025
· 1 comment
I would like to request an enhancement to the Bitnami PostgreSQL with Repmgr container to support specifying a database name (dbname) in primary_conninfo.
Problem Statement:
PostgreSQL 17 introduces failover slots to improve logical replication during primary failovers. However, primary_conninfo does not currently support dbname=, which makes it difficult to maintain logical replication with failover slots in a Bitnami PostgreSQL cluster.
Since Bitnami's PostgreSQL container manages replication configurations dynamically, it would be helpful if dbname could be added to primary_conninfo within postgresql.auto.conf.
Proposed Enhancement:
Modify the Bitnami PostgreSQL container logic to allow users to:
Set a database name in primary_conninfo via an environment variable (e.g., REPMGR_PRIMARY_DBNAME).
Ensure primary_conninfo updates dynamically to include dbname= when configured.
Benefits:
Enables failover slots for logical replication users.
Reduces manual intervention during primary failover.
Improves compatibility with Debezium and other logical replication tools.
Would it be possible to consider this enhancement for an upcoming release? I’d be happy to discuss the details or provide more use cases.
Thank you for your time and consideration!
The text was updated successfully, but these errors were encountered:
PrabhuRaja1010
changed the title
Feature Request : Add dbname in primary_conninfo at postgres.auto.conf to support Failover Slot in Bitnami PostgreSQL cluster
[bitnami:postgresql-repmgr] Feature Request : Add dbname in primary_conninfo at postgres.auto.conf to support Failover Slot in Bitnami PostgreSQL cluster
Feb 8, 2025
PrabhuRaja1010
changed the title
[bitnami:postgresql-repmgr] Feature Request : Add dbname in primary_conninfo at postgres.auto.conf to support Failover Slot in Bitnami PostgreSQL cluster
[bitnami/postgresql-repmgr] Feature Request : Add dbname in primary_conninfo at postgres.auto.conf to support Failover Slot in Bitnami PostgreSQL cluster
Feb 8, 2025
Thank you so much for the feature request! I believe it makes sense. I will forward it to the team, but as it is not a critical feature, we cannot guarantee an ETA. If you want to speed up the process, you can submit a PR updating the libpostgresql.sh or librepmgr.sh libraries and we will review it.
I would like to request an enhancement to the Bitnami PostgreSQL with Repmgr container to support specifying a database name (dbname) in primary_conninfo.
Problem Statement:
PostgreSQL 17 introduces failover slots to improve logical replication during primary failovers. However, primary_conninfo does not currently support dbname=, which makes it difficult to maintain logical replication with failover slots in a Bitnami PostgreSQL cluster.
Since Bitnami's PostgreSQL container manages replication configurations dynamically, it would be helpful if dbname could be added to primary_conninfo within postgresql.auto.conf.
Proposed Enhancement:
Modify the Bitnami PostgreSQL container logic to allow users to:
Benefits:
Enables failover slots for logical replication users.
Reduces manual intervention during primary failover.
Improves compatibility with Debezium and other logical replication tools.
Would it be possible to consider this enhancement for an upcoming release? I’d be happy to discuss the details or provide more use cases.
Thank you for your time and consideration!
The text was updated successfully, but these errors were encountered: