Re: pageinspect: Hash index support
Jesper Pedersen <jesper.pedersen@redhat.com>
From: Jesper Pedersen <jesper.pedersen@redhat.com>
To: Robert Haas <robertmhaas@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>
Cc: Ashutosh Sharma <ashu.coek88@gmail.com>,
Mithun Cy <mithun.cy@enterprisedb.com>,
Amit Kapila
<amit.kapila16@gmail.com>,
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>,
Michael Paquier <michael.paquier@gmail.com>,
Jeff Janes <jeff.janes@gmail.com>,
Alvaro Herrera
<alvherre@2ndquadrant.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2017-02-03T16:49:09Z
Lists: pgsql-hackers
On 02/03/2017 11:41 AM, Jesper Pedersen wrote: >>> contrib/pageinspect actually seems to lack *any* infrastructure >>> for sharing functions across modules. It's time to remedy that. >>> I propose inventing "pageinspect.h" to hold commonly visible >>> declarations, and moving get_page_from_raw() into rawpage.c, >>> which seems like a reasonably natural home for it. (Alternatively, >>> we could invent a pageinspect.c file to hold utility functions, >>> but that might be overkill.) >> >> No objections. >> > > Attached is v1 of this w/ verify_hash_page() using get_page_from_raw(). > > Sorry for all the problems. > Disregard, as Tom has committed a fix. Best regards, Jesper
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