Re: Patch for disaster recovery

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Patch for disaster recovery
Дата
Msg-id 20050220055646.GA14778@winnie.fuhr.org
обсуждение исходный текст
Ответ на Patch for disaster recovery  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Patch for disaster recovery  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-patches
On Sat, Feb 19, 2005 at 11:56:28PM -0500, Bruce Momjian wrote:

> I have added this define to help people recover deleted tuples.
> Of course it is only to be used for disaster recovery.

Wouldn't the patch as provided require a special build of the
postmaster, useful only for disaster recovery?  What about making
the behavior configurable at run time, say via a command-line option?
The code could remain in an #ifdef block and be included or not
included at build time depending on a configure script option.
People who don't want the functionality at all could omit it from
their build (or not enable it, depending on the default), while
people who do want it could use the same postmaster for normal
operation and for recovery, the latter function requiring starting
the postmaster with a "disaster recovery mode" option.

Just brainstorming.  Thoughts?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Patch for disaster recovery
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Patch for disaster recovery