Confusing comment in pg_upgrade in regards to VACUUM FREEZE

Поиск
Список
Период
Сортировка
От David Rowley
Тема Confusing comment in pg_upgrade in regards to VACUUM FREEZE
Дата
Msg-id CAKJS1f9QJpJqqZmcx7aj4P9=exZ0q=50ebfyGQwzGoK=X-SjfA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Confusing comment in pg_upgrade in regards to VACUUM FREEZE  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
I'd been wondering why a VACUUM FREEZE is performed during pg_upgrade,
so I opened up the code to see if that would help me determine why
this is.

I'm confronted with a comment, which states;

/*
* We do freeze after analyze so pg_statistic is also frozen. template0 is
* not frozen here, but data rows were frozen by initdb, and we set its
* datfrozenxid, relfrozenxids, and relminmxid later to match the new xid
* counter later.
*/

this is not helping me much as I don't really understand why
pg_statistic need to be frozen?

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



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

Предыдущее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Fix of doc for synchronous_standby_names.
Следующее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: Support for N synchronous standby servers - take 2