access method: are disk pages mandatory?

Поиск
Список
Период
Сортировка
От Leonardo F
Тема access method: are disk pages mandatory?
Дата
Msg-id 28935.67156.qm@web29016.mail.ird.yahoo.com
обсуждение исходный текст
Ответы Re: access method: are disk pages mandatory?  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
in bufpage.h:

"all blocks written out by an access method must be disk pages"

but in
http://www.postgresql.org/docs/8.4/static/storage-page-layout.html

"Actually, index access methods need not use this page format. All the
existing index methods do use this basic format, but the data kept on
index metapages usually doesn't follow the item layout rules."

I'm not getting it: am I supposed to use the "disk page format" when
writing an index access method, or it's just a "good practice" because
it makes the handling easier? Given the docs it looks "recommended",
but the comment on the code sounds more "mandatory".





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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: testing plpython3u on 9.0beta2
Следующее
От: Hitoshi Harada
Дата:
Сообщение: Re: Partitioning syntax