pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sergey Arlashin <sergeyarl.maillist@gmail.com>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: PostgreSQL 9.3 synchronous replication
Date: Wed, 21 Jan 2015 12:25:00 +0400
Message-ID: <B0A4903C-64EA-4DE1-8676-F1177928F6AB@gmail.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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

-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (7+ messages)  latest in thread

Message-ID: <B0A4903C-64EA-4DE1-8676-F1177928F6AB@gmail.com>
Permalink:  ../B0A4903C-64EA-4DE1-8676-F1177928F6AB@gmail.com/
Also on:    postgresql.org/message-id/B0A4903C-64EA-4DE1-8676-F1177928F6AB@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: sergeyarl.maillist@gmail.com
  Subject: Re: PostgreSQL 9.3 synchronous replication
  In-Reply-To: <B0A4903C-64EA-4DE1-8676-F1177928F6AB@gmail.com>
  References: <B0A4903C-64EA-4DE1-8676-F1177928F6AB@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox