Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line

Поиск
Список
Период
Сортировка
Искать
От
Alexey Kondratov
Тема
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line
Дата
Msg-id
c9cfabce-8fb6-493f-68ec-e0a72d957bf4@postgrespro.ru
Ответ на
Список
Дерево обсуждения
[Patch] pg_rewind: options to use restore_command from recovery.confor command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Andrey Borodin <x4mmm@yandex-team.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Andres Freund <andres@anarazel.de>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Dmitry Dolgov <9erthalion6@gmail.com>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Andrey Borodin <x4mmm@yandex-team.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line a.kondratov@postgrespro.ru
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Andres Freund <andres@anarazel.de>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Andres Freund <andres@anarazel.de>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Andrey Borodin <x4mmm@yandex-team.ru>
Re: Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line David Steele <david@pgmasters.net>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Andrey Borodin <x4mmm@yandex-team.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Thomas Munro <thomas.munro@gmail.com>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Liudmila Mantrova <l.mantrova@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [Patch] pg_rewind: options to use restore_command from recovery.conf or command line Tom Lane <tgl@sss.pgh.pa.us>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Kuntal Ghosh <kuntalghosh.2007@gmail.com>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Stephen Frost <sfrost@snowman.net>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Michael Paquier <michael@paquier.xyz>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Andrey Borodin <x4mmm@yandex-team.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Andrey Borodin <x4mmm@yandex-team.ru>
Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line Alexey Kondratov <a.kondratov@postgrespro.ru>
Hi,

>
> I will work out this one with postgres -C and come back till the next 
> commitfest. I found that something similar is already used in pg_ctl 
> and there is a mechanism for finding valid executables in exec.c. So 
> it does not seem to be a big deal at the first sight.
>

I have reworked the patch, please find new version attached. It is 3 
times as smaller than the previous one and now touches pg_rewind's code 
only. Tests are also slightly refactored in order to remove duplicated 
code. Execution of postgres -C is used for restore_command retrieval (if 
-r is passed) as being suggested. Otherwise everything works as before.

Andres, Alvaro does it make sense now?



Regards

-- 
Alexey Kondratov

Postgres Professional https://www.postgrespro.com
Russian Postgres Company

В списке pgsql-hackers по дате отправления
От: Christoph Berg
Дата:
От: Michael Meskes
Дата:
FAQ