Re: pageinspect: Hash index support

Jeff Janes <jeff.janes@gmail.com>

From: Jeff Janes <jeff.janes@gmail.com>
To: Jesper Pedersen <jesper.pedersen@redhat.com>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>, Michael Paquier <michael.paquier@gmail.com>, Ashutosh Sharma <ashu.coek88@gmail.com>, Alvaro Herrera <alvherre@2ndquadrant.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2016-09-26T19:24:24Z
Lists: pgsql-hackers
On Mon, Sep 26, 2016 at 10:39 AM, Jesper Pedersen <
jesper.pedersen@redhat.com> wrote:

> Hi,
>
> On 09/23/2016 12:10 AM, Peter Eisentraut wrote:
>
>>
>>

> - As of very recently, we don't need to move pageinspect--1.5.sql to
>> pageinspect--1.6.sql anymore.  Just add pageinspect--1.5--1.6.sql.
>>
>>
> We need to rename the pageinspect--1.5.sql file and add the new methods,
> right ? Or ?


You just need to add pageinspect--1.5--1.6.sql.  With recent changes to the
extension infrastructure, when you create the extension as version 1.6, the
infrastructure automatically figures out that it should install 1.5 and
then upgrade to 1.6.  Or that is my understanding, anyway.

Cheers,

Jeff

Commits

  1. Fix incorrect typecast.

  2. In pageinspect/hashfuncs.c, avoid crashes on alignment-picky machines.

  3. pageinspect: Support hash indexes.

  4. Add uuid to the set of types supported by contrib/btree_gist.

  5. Allow CREATE EXTENSION to follow extension update paths.