| От | Tom Lane |
|---|---|
| Тема | Re: 9.2.3 crashes during archive recovery |
| Дата | |
| Msg-id | 17969.1360767766@sss.pgh.pa.us обсуждение |
| Ответ на | Re: 9.2.3 crashes during archive recovery (Heikki Linnakangas <hlinnakangas@vmware.com>) |
| Ответы |
Re: 9.2.3 crashes during archive recovery
|
| Список | pgsql-hackers |
Heikki Linnakangas <hlinnakangas@vmware.com> writes:
> At least in back-branches, I'd call this a pilot error. You can't turn a
> master into a standby just by creating a recovery.conf file. At least
> not if the master was not shut down cleanly first.
> ...
> I'm not sure that's worth the trouble, though. Perhaps it would be
> better to just throw an error if the control file state is
> DB_IN_PRODUCTION and a recovery.conf file exists.
+1 for that approach, at least until it's clear there's a market for
doing this sort of thing. I think the error check could be
back-patched, too.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера