[PATCH] cleanup hashindex for pg_migrator hashindex compat mode (for 8.4) - Mailing list pgsql-hackers

From Zdenek Kotala
Subject [PATCH] cleanup hashindex for pg_migrator hashindex compat mode (for 8.4)
Date
Msg-id 1243023788.1596.22.camel@localhost
Whole thread Raw
Responses Re: [PATCH] cleanup hashindex for pg_migrator hashindex compat mode (for 8.4)
List pgsql-hackers
Attached patch cleanups hash index headers to allow compile hasham for
8.3 version. It helps to improve pg_migrator with capability to migrate
database with hash index without reindexing.

I discussed this patch year ago with Alvaro when we tried to cleanup
include bloating problem. It should reduce also number of including.

The main point is that hash functions for datatypes are now in related
data files in utils/adt directory. hash_any() and hash_uint32 it now in
utils/hashfunc.c.

It would be nice to have this in 8.4 because it allows to test index
migration functionality.

        Thanks Zdenek


Attachment

pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: Revisiting default_statistics_target
Next
From: Dmitry Koterov
Date:
Subject: Re: Fast ALTER TABLE ... ADD COLUMN ... DEFAULT xxx?