Re: Updating FSM on recovery - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Updating FSM on recovery
Date
Msg-id 49074779.2080309@enterprisedb.com
Whole thread Raw
In response to Re: Updating FSM on recovery  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Updating FSM on recovery
List pgsql-hackers
Tom Lane wrote:
> As far as the ugliness in XLogRecordPageWithFreeSpace goes: couldn't you
> just call XLogReadBufferWithFork with init = true, and then initialize
> the page if PageIsNew?

With init=true, we don't even try to read the page from the disk (since 
8.3), so all FSM pages accessed during recovery would be zeroed out. I 
don't think that's what you intended.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Visibility map, partial vacuums
Next
From: "Hitoshi Harada"
Date:
Subject: Re: Window Functions: v07 APIs and buffering strateties