Re: [HACKERS] Function to move the position of a replication slot

Поиск
Список
Период
Сортировка
Искать
От
Petr Jelinek
Тема
Re: [HACKERS] Function to move the position of a replication slot
Дата
в 23:58:29
Msg-id
6d1e8546-8b11-636b-9a87-85d45edb8c3a@2ndquadrant.com
Ответ на
Список
Дерево обсуждения
[HACKERS] Function to move the position of a replication slot Magnus Hagander <magnus@hagander.net>
Re: [HACKERS] Function to move the position of a replication slot Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Function to move the position of a replication slot Andres Freund <andres@anarazel.de>
Re: [HACKERS] Function to move the position of a replication slot Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Function to move the position of a replication slot Andres Freund <andres@anarazel.de>
Re: [HACKERS] Function to move the position of a replication slot Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] Function to move the position of a replication slot Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Function to move the position of a replication slot Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Function to move the position of a replication slot Andres Freund <andres@anarazel.de>
Re: [HACKERS] Function to move the position of a replication slot Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Function to move the position of a replication slot Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] Function to move the position of a replication slot Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Function to move the position of a replication slot Magnus Hagander <magnus@hagander.net>
Re: [HACKERS] Function to move the position of a replication slot Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Function to move the position of a replication slot Andres Freund <andres@anarazel.de>
Re: [HACKERS] Function to move the position of a replication slot Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Function to move the position of a replication slot Magnus Hagander <magnus@hagander.net>
Re: [HACKERS] Function to move the position of a replication slot Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Function to move the position of a replication slot Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Function to move the position of a replication slot Andres Freund <andres@anarazel.de>
Re: [HACKERS] Function to move the position of a replication slot Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Function to move the position of a replication slot Andres Freund <andres@anarazel.de>
Re: [HACKERS] Function to move the position of a replication slot Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Function to move the position of a replication slot Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Function to move the position of a replication slot Magnus Hagander <magnus@hagander.net>
Re: [HACKERS] Function to move the position of a replication slot Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Function to move the position of a replication slot Andres Freund <andres@anarazel.de>
Re: [HACKERS] Function to move the position of a replication slot Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] Function to move the position of a replication slot Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] Function to move the position of a replication slot Magnus Hagander <magnus@hagander.net>
Re: [HACKERS] Function to move the position of a replication slot Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] Function to move the position of a replication slot Dmitry Dolgov <9erthalion6@gmail.com>
Re: [HACKERS] Function to move the position of a replication slot Petr Jelinek <petr.jelinek@2ndquadrant.com>
On 10/05/17 22:17, Dmitry Dolgov wrote:
>> On 4 May 2017 at 20:05, Magnus Hagander  > wrote:
>>
>> PFA a patch that adds a new function, pg_move_replication_slot, that
> makes it
>> possible to move the location of a replication slot without actually
>> consuming all the WAL on it.
>  
> Just a few questions just a few questions out of curiosity:
> 
> * does it make sense to create a few tests for this function in
>   `contrib/test_decoding` (as shown in attachment)?
> 

As Craig said this will not work correctly for logical slots so it
should throw error on those at the moment (at least until we write
something that works, but that's far more complex than this patch).

--  Petr Jelinek                  http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services


В списке pgsql-hackers по дате отправления
От: Dmitry Dolgov
Дата:
От: Petr Jelinek
Дата:
FAQ