PG_PAGE_LAYOUT_VERSION - Should be Documented as 3?

Поиск
Список
Период
Сортировка
От Matt Miller
Тема PG_PAGE_LAYOUT_VERSION - Should be Documented as 3?
Дата
Msg-id 1125588973.3636.10.camel@dbamm01-linux
обсуждение исходный текст
Ответы Re: PG_PAGE_LAYOUT_VERSION - Should be Documented as 3?  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Re: PG_PAGE_LAYOUT_VERSION - Should be Documented as 3?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
doc/src/sgml/storage.sgml says:

"The last 2 bytes of the page header,
<structfield>pd_pagesize_version</structfield>, store both the page size
and a version indicator.  Beginning with
<productname>PostgreSQL</productname> 8.0 the version number is 2;
<productname>PostgreSQL</productname> 7.3 and 7.4 used version number 1;
prior releases used version number 0."

But src/include/storage/bufpage.h says:

"/*
 * Page layout version number 0 is for pre-7.3 Postgres releases.
 * Releases 7.3 and 7.4 use 1, denoting a new HeapTupleHeader layout.
 * Release 8.0 changed the HeapTupleHeader layout again.
 * Release 8.1 redefined HeapTupleHeader infomask bits.
 */
#define PG_PAGE_LAYOUT_VERSION      3"

So, should the attached be applied?

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: On hardcoded type aliases and typmod for user types
Следующее
От: Andrew - Supernews
Дата:
Сообщение: Re: TODO item: set proper permissions on non-system schemas