From: Bruce Momjian <bruce@momjian.us>
To: Matheus de Oliveira <matioli.matheus@gmail.com>
Cc: Sergey Arlashin <sergeyarl.maillist@gmail.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: PostgreSQL 9.3 synchronous replication
Date: Wed, 21 Jan 2015 23:15:46 -0500
Message-ID: <20150122041546.GA27757@momjian.us> (raw)
In-Reply-To: <CAJghg4LHOQoOog1dtsk_dZ=PxhSJYkYvenKNQYHQssUcxHyORA@mail.gmail.com>
References: <B0A4903C-64EA-4DE1-8676-F1177928F6AB@gmail.com>
<CAJghg4KkZC-F1QysXFSn_PvdjtV2eaxnd3NKKAp_sodH3NHRFg@mail.gmail.com>
<4D515075-C030-4E13-80E8-42C3F6A7FC80@gmail.com>
<CAJghg4LHOQoOog1dtsk_dZ=PxhSJYkYvenKNQYHQssUcxHyORA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
On Wed, Jan 21, 2015 at 04:21:26PM -0200, Matheus de Oliveira wrote:
>
> On Wed, Jan 21, 2015 at 1:21 PM, Sergey Arlashin <sergeyarl.maillist@gmail.com>
> wrote:
>
> Yes, I understand this. But I was wondering whether it is possible to
> somehow force this procedure. Or wait until xlog is applied on slave and
> only then consider the transaction committed.
>
>
> You'd have to do it somehow in your application. AFAICT, PostgreSQL does not
> provide any way to that in current versions (might be done in future releases).
The problem with forcing the WAL to be replayed is that it might cause
many existing transactions to be canceled due to their snapshots
becoming invalid.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: bruce@momjian.us, matioli.matheus@gmail.com, sergeyarl.maillist@gmail.com
Subject: Re: PostgreSQL 9.3 synchronous replication
In-Reply-To: <20150122041546.GA27757@momjian.us>
* 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