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