On Thu, Oct 3, 2019 at 1:57 PM Michael Paquier <mich...@paquier.xyz> wrote: > > On Thu, Oct 03, 2019 at 01:49:34PM +0900, Fujii Masao wrote: > > But this can cause subsequent recovery to always fail with invalid-pages > > error > > and the server not to start up. This is bad. So, to allviate the situation, > > I'm thinking it would be worth adding something like igore_invalid_pages > > developer parameter. When this parameter is set to true, the startup process > > always ignores invalid-pages errors. Thought? > > That could be helpful.
So attached patch adds new developer GUC "ignore_invalid_pages". Setting ignore_invalid_pages to true causes the system to ignore the failure (but still report a warning), and continue recovery. I will add this to next CommitFest. Regards, -- Fujii Masao
ignore_invalid_pages_v1.patch
Description: Binary data