Re: END_OF_RECOVERY shutdowns and ResetUnloggedRelations()

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: END_OF_RECOVERY shutdowns and ResetUnloggedRelations()
Дата
Msg-id 20140925210723.GF16581@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: END_OF_RECOVERY shutdowns and ResetUnloggedRelations()  (Abhijit Menon-Sen <ams@2ndQuadrant.com>)
Список pgsql-hackers
On 2014-09-26 02:34:06 +0530, Abhijit Menon-Sen wrote:
> At 2014-09-25 22:41:18 +0200, andres@2ndquadrant.com wrote:
> > Unless I miss something this isn't sufficient. We need to fsync the
> > files in the data directory, not just the toplevel directory?
>
> No, of course you're right. So a separate function that does the moral
> equivalent of "find $PGDATA -exec fsync_fname …"?

Probably will require some care to deal correctly with tablespaces.

Greetings,

Andres Freund

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



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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Immediate standby promotion
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: INSERT ... ON CONFLICT {UPDATE | IGNORE}