Re: Did we really want to force an initdb in beta2?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Did we really want to force an initdb in beta2?
Дата
Msg-id 201006041532.o54FWL210180@momjian.us
обсуждение исходный текст
Ответ на Re: Did we really want to force an initdb in beta2?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Dave Page <dpage@pgadmin.org> writes:
> > On Fri, Jun 4, 2010 at 2:49 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >> Right, because the catalog contents didn't change. �Seems to me you'd
> >> better teach the installers to look at PG_CONTROL_VERSION too.
> 
> > Hmm, is there anything else that might need to be checked?
> 
> Offhand I can think of three internal version-like numbers:
> 
> CATALOG_VERSION_NO --- bump if initial system catalog contents would be
> inconsistent with backend code
> 
> PG_CONTROL_VERSION --- bump when contents of pg_control change
> 
> XLOG_PAGE_MAGIC --- bump on incompatible change in WAL contents

pg_upgrade never views these in their raw format so does not need to
check them.  (It does look at pg_controldata text output.)

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + None of us is going to be here forever. +


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Did we really want to force an initdb in beta2?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Idea for getting rid of VACUUM FREEZE on cold pages