Re: PostgreSQL 9.3 synchronous replication

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: PostgreSQL 9.3 synchronous replication
Дата
Msg-id 20150122041546.GA27757@momjian.us
обсуждение исходный текст
Ответ на Re: PostgreSQL 9.3 synchronous replication  (Matheus de Oliveira <matioli.matheus@gmail.com>)
Список pgsql-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. +


В списке pgsql-admin по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Back to my pg_upgrade stoppage problem
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_basebackup bug: base backup is double the size of the database