SlruPhysicalReadPage - Mailing list pgsql-hackers

From Simon Riggs
Subject SlruPhysicalReadPage
Date
Msg-id 1224095875.3808.201.camel@ebony.2ndQuadrant
Whole thread Raw
Responses Re: SlruPhysicalReadPage
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: WIP : change tablespace for a database
Next
From: rahulg
Date:
Subject: Statistic Estimation in PostgreSQL