pgsql: Use pg_rewind when target timeline was switched
В списке pgsql-committers по дате отправления:
| От | Teodor Sigaev |
|---|---|
| Тема | pgsql: Use pg_rewind when target timeline was switched |
| Дата | |
| Msg-id | E1a3nIY-0001Q9-5S@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
Use pg_rewind when target timeline was switched Allow pg_rewind to work when target timeline was switched. Now user can return promoted standby to old master. Target timeline history becomes a global variable. Index in target timeline history is used in function interfaces instead of specifying TLI directly. Thus, SimpleXLogPageRead() can easily start reading XLOGs from next timeline when current timeline ends. Author: Alexander Korotkov Review: Michael Paquier Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/e50cda78404d6400b1326a996a4fabb144871151 Modified Files -------------- doc/src/sgml/ref/pg_rewind.sgml | 18 ++-- src/bin/pg_rewind/Makefile | 2 +- src/bin/pg_rewind/parsexlog.c | 39 +++++--- src/bin/pg_rewind/pg_rewind.c | 189 ++++++++++++++++++++++++++++----------- src/bin/pg_rewind/pg_rewind.h | 10 ++- 5 files changed, 181 insertions(+), 77 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера