Re: Documentation of bt_page_items()'s ctid field - Mailing list pgsql-hackers

From Jeff Janes
Subject Re: Documentation of bt_page_items()'s ctid field
Date
Msg-id CAMkU=1xJ+wzhtgptricULOLjLDLSmyWcX2vQsPbAjOasWzKfHA@mail.gmail.com
Whole thread Raw
In response to Re: Documentation of bt_page_items()'s ctid field  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: Documentation of bt_page_items()'s ctid field  (Peter Geoghegan <pg@heroku.com>)
List pgsql-hackers

On Tue, Dec 30, 2014 at 8:59 AM, Heikki Linnakangas <hlinnakangas@vmware.com> wrote:
On 12/30/2014 04:08 AM, Peter Geoghegan wrote:
Attached documentation patch describes the purpose of
bt_page_items()'s ctid field. This has come up enough times in
disaster recovery or testing scenarios that I feel it's worth drawing
particular attention to.

How much detail on the b-tree internals do we want to put in the pageinspect documentation? I can see that being useful, but should we also explain e.g. that the first item on each (non-rightmost) page is the high key?

How do I know if I am looking at a non-rightmost page?

Thanks,

Jeff

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Question about lazy_space_alloc() / linux over-commit
Next
From: Andres Freund
Date:
Subject: Re: Rethinking the parameter access hooks for plpgsql's benefit