Re: Hot standby, recovery infra

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Hot standby, recovery infra
Дата
Msg-id 1233393949.4500.11.camel@ebony.2ndQuadrant
обсуждение исходный текст
Ответ на Re: Hot standby, recovery infra  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Hot standby, recovery infra  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
On Fri, 2009-01-30 at 13:15 +0200, Heikki Linnakangas wrote:
> Simon Riggs wrote:
> > I'm thinking to add a new function that will allow crash testing easier.
> > 
> > pg_crash_standby() will issue a new xlog record, XLOG_CRASH_STANDBY,
> > which when replayed will just throw a FATAL error and crash Startup
> > process. We won't be adding that to the user docs...
> > 
> > This will allow us to produce tests that crash the server at specific
> > places, rather than trying to trap those points manually.
> 
> Heh, talk about a footgun ;-). I don't think including that in CVS is a 
> good idea.

Thought you'd like it. I'd have preferred it in a plugin... :-(

Not really sure why its a problem though. We support 
pg_ctl stop -m immediate, which is the equivalent, yet we don't regard
that as a footgun.

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: [PATCH] Space reservation v02
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Hot standby, recovery infra