Re: pageinspect: Hash index support
Michael Paquier <michael.paquier@gmail.com>
From: Michael Paquier <michael.paquier@gmail.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Jesper Pedersen <jesper.pedersen@redhat.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2016-08-31T00:53:44Z
Lists: 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
Commits
-
Fix incorrect typecast.
- b4316928d57b 10.0 landed
-
In pageinspect/hashfuncs.c, avoid crashes on alignment-picky machines.
- 14e9b18fed28 10.0 landed
-
pageinspect: Support hash indexes.
- 08bf6e529587 10.0 landed
-
Add uuid to the set of types supported by contrib/btree_gist.
- 11da83a0e70d 10.0 cited
-
Allow CREATE EXTENSION to follow extension update paths.
- 40b449ae84dc 10.0 cited