Re: [HACKERS] make async slave to wait for lsn to be replayed - Mailing list pgsql-hackers

From Kartyshov Ivan
Subject Re: [HACKERS] make async slave to wait for lsn to be replayed
Date
Msg-id 3cc883048264c2e9af022033925ff8db@postgrespro.ru
Whole thread Raw
In response to Re: [HACKERS] make async slave to wait for lsn to be replayed  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Responses Re: [HACKERS] make async slave to wait for lsn to be replayed
List pgsql-hackers
As it was discussed earlier, I added wait for statement into begin/start 
statement.

Synopsis
==========
BEGIN [ WORK | TRANSACTION ] [ transaction_mode[, ...] ] wait_for_event
       where transaction_mode is one of:
             ISOLATION LEVEL { SERIALIZABLE | REPEATABLE READ | READ 
COMMITTED | READ UNCOMMITTED }
             READ WRITE | READ ONLY
             [ NOT ] DEFERRABLE

       WAIT FOR [ANY | SOME | ALL] event [, event ...]
       and event is:
           LSN value [options]
           TIMESTAMP value

       and options is:
           TIMEOUT delay
           UNTIL TIMESTAMP timestamp



-- 
Ivan Kartyshov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
Attachment

pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: GiST secondary split
Next
From: Amit Kapila
Date:
Subject: Re: backup manifests