Re: [tiny doc fix] statistics are not retained across immediate shutdown

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [tiny doc fix] statistics are not retained across immediate shutdown
Дата
Msg-id 20130904145633.GB11189@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: [tiny doc fix] statistics are not retained across immediate shutdown  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [tiny doc fix] statistics are not retained across immediate shutdown  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
On 2013-09-04 10:53:19 -0400, Tom Lane wrote:
> "Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com> writes:
> > I propose a tiny fix to clarify this.  Please find the attached patch.
> 
> That's not an accurate description of what happens, though.
> AFAIR, we do not throw away pg_stats files as a result of recovery.

StartupXLOG() does a pgstat_reset_all() in the if (InRecovery) branch.

Greetings,

Andres Freund

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



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: The PostgreSQL License requires "LICENSE" file?
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: [9.4] Make full_page_writes only settable on server start?