|From:||Michael Fuhr <mike(at)fuhr(dot)org>|
|To:||Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>|
|Subject:||Re: Patch for disaster recovery|
|Views:||Raw Message | Whole Thread | Download mbox | Resend email|
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?
|Next Message||Tom Lane||2005-02-20 06:01:27||Re: Patch for disaster recovery|
|Previous Message||Bruce Momjian||2005-02-20 04:56:28||Patch for disaster recovery|