[PATCH] cleanup hashindex for pg_migrator hashindex compat mode (for 8.4)

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] cleanup hashindex for pg_migrator hashindex compat mode (for 8.4)
Date: 2009-05-22 20:23:08
Message-ID: 1243023788.1596.22.camel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
hash.patch text/x-patch 50.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dmitry Koterov 2009-05-22 20:29:56 Re: Fast ALTER TABLE ... ADD COLUMN ... DEFAULT xxx?
Previous Message Greg Smith 2009-05-22 20:17:09 Re: Revisiting default_statistics_target