Re: [HACKERS] make async slave to wait for lsn to be replayed

Поиск
Список
Период
Сортировка
Искать
От
Simon Riggs
Тема
Re: [HACKERS] make async slave to wait for lsn to be replayed
Дата
Msg-id
CANP8+j+e7M4eJ_h_A1UxZ6E4Q_XLd+WXOobaxVZb3pT7UkabLg@mail.gmail.com
Ответ на
Список
Дерево обсуждения
make async slave to wait for lsn to be replayed Ivan Kartyshov <i.kartyshov@postgrespro.ru>
Re: make async slave to wait for lsn to be replayed Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] make async slave to wait for lsn to be replayed Ivan Kartyshov <i.kartyshov@postgrespro.ru>
Re: [HACKERS] make async slave to wait for lsn to be replayed Thom Brown <thom@linux.com>
Re: [HACKERS] make async slave to wait for lsn to be replayed Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] make async slave to wait for lsn to be replayed David Steele <david@pgmasters.net>
Re: [HACKERS] make async slave to wait for lsn to be replayed Ivan Kartyshov <i.kartyshov@postgrespro.ru>
Re: [HACKERS] make async slave to wait for lsn to be replayed Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] make async slave to wait for lsn to be replayed Ivan Kartyshov <i.kartyshov@postgrespro.ru>
Re: [HACKERS] make async slave to wait for lsn to be replayed Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] make async slave to wait for lsn to be replayed i.kartyshov@postgrespro.ru
Re: [HACKERS] make async slave to wait for lsn to be replayed David Steele <david@pgmasters.net>
Re: make async slave to wait for lsn to be replayed David Steele <david@pgmasters.net>
Re: [HACKERS] make async slave to wait for lsn to be replayed Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] make async slave to wait for lsn to be replayed Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] make async slave to wait for lsn to be replayed i.kartyshov@postgrespro.ru
Re: [HACKERS] make async slave to wait for lsn to be replayed Ants Aasma <ants.aasma@eesti.ee>
Re: [HACKERS] make async slave to wait for lsn to be replayed Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] make async slave to wait for lsn to be replayed Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] make async slave to wait for lsn to be replayed Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] make async slave to wait for lsn to be replayed Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] make async slave to wait for lsn to be replayed Ivan Kartyshov <i.kartyshov@postgrespro.ru>
Re: [HACKERS] make async slave to wait for lsn to be replayed Ivan Kartyshov <i.kartyshov@postgrespro.ru>
Re: [HACKERS] make async slave to wait for lsn to be replayed Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] make async slave to wait for lsn to be replayed Ivan Kartyshov <i.kartyshov@postgrespro.ru>
Re: [HACKERS] make async slave to wait for lsn to be replayed Ants Aasma <ants.aasma@eesti.ee>
Re: [HACKERS] make async slave to wait for lsn to be replayed Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] make async slave to wait for lsn to be replayed Ivan Kartyshov <i.kartyshov@postgrespro.ru>
Re: [HACKERS] make async slave to wait for lsn to be replayed Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] make async slave to wait for lsn to be replayed Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] make async slave to wait for lsn to be replayed Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] make async slave to wait for lsn to be replayed Ants Aasma <ants.aasma@eesti.ee>
Re: [HACKERS] make async slave to wait for lsn to be replayed Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] make async slave to wait for lsn to be replayed Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] make async slave to wait for lsn to be replayed Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] make async slave to wait for lsn to be replayed Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] make async slave to wait for lsn to be replayed Andres Freund <andres@anarazel.de>
Re: [HACKERS] make async slave to wait for lsn to be replayed Ivan Kartyshov <i.kartyshov@postgrespro.ru>
Re: [HACKERS] make async slave to wait for lsn to be replayed Michael Paquier <michael@paquier.xyz>
Re: Re: [HACKERS] make async slave to wait for lsn to be replayed David Steele <david@pgmasters.net>
Re: Re: [HACKERS] make async slave to wait for lsn to be replayed Fujii Masao <masao.fujii@gmail.com>
Re: [HACKERS] make async slave to wait for lsn to be replayed David Steele <david@pgmasters.net>
Re: [HACKERS] make async slave to wait for lsn to be replayed Michael Paquier <michael@paquier.xyz>
Re: [HACKERS] make async slave to wait for lsn to be replayed Dmitry Ivanov <d.ivanov@postgrespro.ru>
Re: [HACKERS] make async slave to wait for lsn to be replayed Simon Riggs <simon@2ndquadrant.com>
Re: make async slave to wait for lsn to be replayed Thomas Munro <thomas.munro@enterprisedb.com>
Re: make async slave to wait for lsn to be replayed Craig Ringer <craig@2ndquadrant.com>
Re: make async slave to wait for lsn to be replayed Ivan Kartyshov <i.kartyshov@postgrespro.ru>
On 6 March 2018 at 11:24, Dmitry Ivanov  wrote:
>> In PG11, I propose the following command, sticking mostly to Ants'
>> syntax, and allowing to wait for multiple events before it returns. It
>> doesn't hold snapshot and will not get cancelled by Hot Standby.
>>
>> WAIT FOR event [, event ...] options
>>
>> event is
>> LSN value
>> TIMESTAMP value
>>
>> options
>> TIMEOUT delay
>> UNTIL TIMESTAMP timestamp
>> (we have both, so people don't need to do math, they can use whichever
>> they have)
>
>
> I have a (possibly) dumb question: if we have specified several events,
> should WAIT finish if only one of them triggered? It's not immediately
> obvious if we're waiting for ALL of them to trigger, or just one will
> suffice (ANY). IMO the syntax could be extended to something like:
>
> WAIT FOR [ANY | ALL] event [, event ...] options,
>
> with ANY being the default variant.

+1

-- 
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

В списке pgsql-hackers по дате отправления
От: Claudio Freire
Дата:
От: Simon Riggs
Дата:
FAQ