SlruPhysicalReadPage() succeeds InRecovery if the file does not exist.
BUT, if the file exists but is wrong size then it will still fail even
InRecovery.
This seems inconsistent. Why is the first page OK to be created, but any
other pages after that cause failure? ISTM the first page is nothing
special.
I think this can cause recovery to fail *now*. What say you?
-- Simon Riggs www.2ndQuadrant.comPostgreSQL Training, Services and Support