pg_healer icon indicating copy to clipboard operation
pg_healer copied to clipboard

Use PageHeader->pd_lsn as a crosscheck?

Open dwsteele opened this issue 9 years ago • 3 comments

I'm a little nervous about the idea of replacing a page based only on a 16-bit checksum. Have you considered using PageHeader->pd_lsn as a crosscheck?

dwsteele avatar Sep 29 '16 22:09 dwsteele

I'd like to know the answer to this too.

MichaelDBA avatar Sep 18 '17 11:09 MichaelDBA

Sorry for the delay: github didn't let me know about this, and I haven't looked at this repo in a while. Yes, I'm not happy with 16-bit either: 32 would have been so much better. I'll look into the pd_lsn idea if/when I return to this project.

turnstep avatar Oct 24 '19 18:10 turnstep

Thanks for the update. I do think this would make the extension more reliable.

dwsteele avatar Oct 29 '19 22:10 dwsteele