Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> What does -f do?
>
> > There is concern that using pg_resetxlog by accident could cause
> > problems, so it will prompt the user for confirmation by default. -f
> > (force) disables that confirmation.
>
> pg_resetxlog already has an -f switch, and I do not think you should
> change its semantics. At least not without putting up a better argument
> than the above. Anyone who's running pg_resetxlog had already better
> know what they're doing.
I hadn't looked at flags yet. Thomas's concern, and I think a valid
one, is that if we move it from contrib into the main tree, people may
accidentally run pg_resetxlog without understanding the issues involved.
We have it /contrib partly to make sure it isn't installed in the
default path for all admins.
What do people want? We can rethink this.
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073