Re: END_OF_RECOVERY shutdowns and ResetUnloggedRelations()

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: END_OF_RECOVERY shutdowns and ResetUnloggedRelations()
Дата
Msg-id 20141115003857.GB27042@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: END_OF_RECOVERY shutdowns and ResetUnloggedRelations()  (Abhijit Menon-Sen <ams@2ndQuadrant.com>)
Список pgsql-hackers
On 2014-10-27 16:09:30 +0530, Abhijit Menon-Sen wrote:
> At 2014-09-25 22:41:18 +0200, andres@2ndquadrant.com wrote:
> >
> > On 2014-09-24 17:06:05 +0530, Abhijit Menon-Sen wrote:
> > > 
> > > 1. Move the call to ResetUnloggedRelations(UNLOGGED_RELATION_INIT) to
> > >    earlier in StartupXLOG.
> > > 
> > > 2. Inside that function, issue fsync()s for the main forks we create by
> > >    copying the _init fork.
> > 
> > These two imo should definitely be backpatched.
> 
> I've attached updated versions of these two patches. The only changes
> are to revise the comments as you suggested.

Committed and backpatched (to 9.1) these. That required also
backpatching the move of fsync_fname() to fd.c/h to 9.1-9.3.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: initdb -S and tablespaces
Следующее
От: Noah Misch
Дата:
Сообщение: Re: Re: Segmentation fault in pg_dumpall from master down to 9.1 and other bug introduced by RLS