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.com PostgreSQL Training, Services and Support -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers