PostgreSQL 9.3 synchronous replication

From: Sergey Arlashin <sergeyarl(dot)maillist(at)gmail(dot)com>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: PostgreSQL 9.3 synchronous replication
Date: 2015-01-21 08:25:00
Message-ID: B0A4903C-64EA-4DE1-8676-F1177928F6AB@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi!

Recently I've found out that synchronous replication just guarantees that the commit has reached the transaction log on the slave. Therefore that doesn't mean the slave has replayed the transaction log and a query against the slave will show the transaction's results.

So I'm wondering if there is a way to ensure that once a transaction is committed the data is available on the slave and I can get it by executing a query against the slave?

--
Best regards,
Sergey Arlashin

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Perry, Hemy 2015-01-21 10:04:58 Re: pg_upgrade vs. pg_dump
Previous Message Glyn Astill 2015-01-20 19:28:40 Re: cannot drop an extension