Proxy for Postgres replication connections - Mailing list pgsql-admin

From Gone, Sajan
Subject Proxy for Postgres replication connections
Date
Msg-id DS0PR15MB565111B16784DC6779C48CB6D8EFA@DS0PR15MB5651.namprd15.prod.outlook.com
Whole thread Raw
List pgsql-admin

Good morning all,

 

  We currently are working on migrating few postgres databases from AWS RDS to GCP CloudSQL. For that we have a use case where we need to use some kind of proxy like pgbouncer, HA Proxy or pgpool to proxy the RDS connections on to a VM hosted on GCP. Then we will initiate the postgres logical replication via the proxy tunnel from the CloudSQL instance (target) on to the RDS instance (Source). Even before someone calls it out, I admit that this is not an ideal way of doing things but because of some networking and security concerns we landed on this approach.

 

Does anyone know if any of the open source proxy tools which are commonly used for postgres support replication connections? I have attempted to use pgbouncer but unfortunately the current version of pgbouncer does not support postgres replication connections.  

 

Many thanks in advance. Thank you!

 

 

Thanks,

Sajan Gone

pgsql-admin by date:

Previous
From: Erik Wienhold
Date:
Subject: Re: DBLINK Error
Next
From: Rajesh Kumar
Date:
Subject: Archive cleanup using pgbackrest