Re: pageinspect: Hash index support

From: Jesper Pedersen <jesper(dot)pedersen(at)redhat(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pageinspect: Hash index support
Date: 2016-09-20 12:40:34
Message-ID: 3493caf5-6d50-8915-7612-bd830972f513@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 09/20/2016 03:19 AM, Michael Paquier wrote:
> You did not get right the comments from Alvaro upthread. The following
> functions are added with this patch:
> function hash_metap(text)
> function hash_metap_bytea(bytea)
> function hash_page_items(text,integer)
> function hash_page_items_bytea(bytea)
> function hash_page_stats(text,integer)
> function hash_page_stats_bytea(bytea,integer)
>
> Now the following set of functions would be sufficient:
> function hash_metapage_info(bytea)
> function hash_page_items(bytea)
> function hash_page_stats(bytea)
> The last time pageinspect has been updated, when BRIN functions have
> been added, it has been discussed to just use (bytea) as an argument
> interface and just rely on get_raw_page() to get the pages wanted, so
> I think that we had better stick with that and keep things simple.
>

Yes, I know, Alvaro and you voted for the bytea methods, and Jeff asked
for both.

Attached is v3 with only the bytea based methods.

Alvaro, Michael and Jeff - Thanks for the review !

Best regards,
Jesper

Attachment Content-Type Size
0001-pageinspect-Hash-index-support_v3.patch text/x-patch 32.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rudolf Gavlas 2016-09-20 12:40:58 [PATCH] get_home_path: use HOME
Previous Message Matteo Beccati 2016-09-20 12:19:38 Re: kqueue