Re: pageinspect: Hash index support - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pageinspect: Hash index support
Date
Msg-id CAB7nPqSemJbk_QJ9RRW0j48bS-y8xfMNeCtErLPOuYQm_gV89w@mail.gmail.com
Whole thread Raw
In response to Re: pageinspect: Hash index support  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On Wed, Aug 31, 2016 at 2:06 AM, Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
> Jesper Pedersen wrote:
>> Attached is a patch that adds support for hash indexes in pageinspect.
>>
>> The functionality (hash_metap, hash_page_stats and hash_page_items) follows
>> the B-tree functions.
>
> I suggest that pageinspect functions are more convenient to use via the
> get_raw_page interface, that is, instead of reading the buffer
> themselves, the buffer is handed over from elsewhere and they receive it
> as bytea.  This enables other use cases such as grabbing a page from one
> server and examining it in another one.

+1.
-- 
Michael



pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Logical decoding restart problems
Next
From: Peter Eisentraut
Date:
Subject: autonomous transactions