Re: Updating FSM on recovery

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Updating FSM on recovery
Дата
Msg-id 9672.1225215390@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Updating FSM on recovery  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Updating FSM on recovery  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> 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.

Ah, right.  Maybe the API change you suggested in the comment is the
way to go.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Window Functions: v07 APIs and buffering strateties
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: PostgreSQL + Replicator developer meeting 10/28