Re: pageinspect: Hash index support

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Jesper Pedersen <jesper(dot)pedersen(at)redhat(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pageinspect: Hash index support
Date: 2016-08-31 00:53:44
Message-ID: CAB7nPqSemJbk_QJ9RRW0j48bS-y8xfMNeCtErLPOuYQm_gV89w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Aug 31, 2016 at 2:06 AM, Alvaro Herrera
<alvherre(at)2ndquadrant(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2016-08-31 01:50:05 autonomous transactions
Previous Message Craig Ringer 2016-08-31 00:28:21 Re: Logical decoding restart problems