Re: Heap page diagnostic/test functions (WIP)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Heap page diagnostic/test functions (WIP)
Date: 2007-03-05 20:13:57
Message-ID: 21719.1173125637@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

"Simon Riggs" <simon(at)2ndquadrant(dot)com> writes:
> On Mon, 2007-03-05 at 14:31 -0500, Tom Lane wrote:
>> Exactly what will these allow that you can't do with inspection of ctid
>> etc? (I suspect your answer will be "can't see infomask", but I'd
>> rather expose that as a new system column than invent functions like
>> these.)

> Interesting idea, but aren't they keywords? How many system columns
> would we need to represent each of the info flags?

Just one; I was imagining just returning the whole bitmask. See
http://archives.postgresql.org/pgsql-hackers/2005-02/msg00636.php

> The other thing was the ability to see headers of dead tuples as well so
> as to understand what is on the page in total, not just the visible
> portion of it.

Ah, that's a good point.

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Gregory Stark 2007-03-05 21:44:56 Re: Heap page diagnostic/test functions (WIP)
Previous Message Simon Riggs 2007-03-05 19:52:24 Re: Heap page diagnostic/test functions (WIP)