Re: InsertXLogFile in pg_resetxlog - Mailing list pgsql-hackers

From Tom Lane
Subject Re: InsertXLogFile in pg_resetxlog
Date
Msg-id 7584.1146510485@sss.pgh.pa.us
Whole thread Raw
In response to Re: InsertXLogFile in pg_resetxlog  ("Jonah H. Harris" <jonah.harris@gmail.com>)
Responses Re: InsertXLogFile in pg_resetxlog
List pgsql-hackers
"Jonah H. Harris" <jonah.harris@gmail.com> writes:
> While refactoring the patch, I've noticed that this patch allowed
> pg_resetxlog to proceed while the server could potentially be up... is
> this the desired behavior or should we require the lock file to be
> removed first (as it was prior to this patch)?

Definitely bad, very bad.  Please put back the lock-checking code.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: InsertXLogFile in pg_resetxlog
Next
From: "Jonah H. Harris"
Date:
Subject: Re: InsertXLogFile in pg_resetxlog