Re: Online base backup from the hot-standby
От | Fujii Masao |
---|---|
Тема | Re: Online base backup from the hot-standby |
Дата | |
Msg-id | CAHGQGwFDFKWuLA-kWtsn9DPyGDWpALSm5tO_inacDQwb14vuOQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Online base backup from the hot-standby (Jun Ishiduka <ishizuka.jun@po.ntts.co.jp>) |
Ответы |
Re: Online base backup from the hot-standby
|
Список | pgsql-hackers |
2011/10/13 Jun Ishiduka <ishizuka.jun@po.ntts.co.jp>: > I updated to patch corresponded above-comments. Thanks for updating the patch! As I suggested in the reply to Simon, I think that the change of FPW should be WAL-logged separately from that of HS parameters. ISTM packing them in one WAL record makes XLogReportParameters() quite confusing. Thought? if (!shutdown && XLogStandbyInfoActive()) + { LogStandbySnapshot(&checkPoint.oldestActiveXid, &checkPoint.nextXid); + XLogReportParameters(REPORT_ON_BACKEND); + } Why doesn't the change of FPW need to be WAL-logged when shutdown checkpoint is performed? It's helpful to add the comment explaining why. Regards, -- Fujii Masao NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center
В списке pgsql-hackers по дате отправления: