access method: are disk pages mandatory?

From: Leonardo F <m_lists(at)yahoo(dot)it>
To: pgsql-hackers(at)postgresql(dot)org
Subject: access method: are disk pages mandatory?
Date: 2010-06-23 15:17:28
Message-ID: 28935.67156.qm@web29016.mail.ird.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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".

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hitoshi Harada 2010-06-23 15:25:19 Re: Partitioning syntax
Previous Message Robert Haas 2010-06-23 14:49:02 Re: testing plpython3u on 9.0beta2