Thanks Samed. That sure works.
I have followed the documentation that you have provided at https://www.digitalocean.com/community/tutorials/how-to-set-up-master-slave-replication-on-postgresql-on-an-ubuntu-12-04-vps and
the replication works perfectly fine. I am assuming this works perfectly fine for an Active/Passive setup, however I am wondering on how to setup Active/Active kind of an replication setup.
Is Active/Active possible with postgres database, if so is there any documentation that I can follow to setup Active/Active replication ?
Thank You.
Thank You,
Sajan Gone
From: Samed YILDIRIM <samed@xxxxxxxxxx>
Date: Friday, April 14, 2017 at 10:34 AM To: Sajan Gone <sgone@xxxxxx>, "pgsql-admin@xxxxxxxxxxxxxx" <pgsql-admin@xxxxxxxxxxxxxx> Subject: Re: Postgres replication Hi Sajan,
You can use following query.
select * from pg_stat_replication;
Best regards.
Samed YILDIRIM
14.04.2017, 17:20, "Gone, Sajan" <sgone@xxxxxx>:
Notice: This communication may contain privileged and/or confidential information. If you are not the intended recipient, please notify the sender by email, and immediately delete the message and any attachments without copying or disclosing them. LB may, for any reason, intercept, access, use, and disclose any information that is communicated by or through, or which is stored on, its networks, applications, services, and devices. |