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/

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to