Re: Deprecating Hash Indexes

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Deprecating Hash Indexes
Date: 2012-10-15 14:13:24
Message-ID: CA+TgmoZ0A6EPU+M7vr52h1NOd8Rp8r7A61PNNsS6uEwoLAHAUw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Oct 14, 2012 at 9:45 AM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> * Put WARNINGs in the docs against the use of hash indexes, backpatch
> to 8.3. CREATE INDEX gives no warning currently, though Index Types
> does mention a caution.

I'd be in favor of adding such warnings to the documentation if they
are not there already, and possibly even warning on CREATE INDEX ..
USING hash(). I don't think I'd go so far as to say that we should
imply that they'll be removed in a future release. Given how deeply
intertwined they are with the planner, I doubt that that will happen;
and I think there is enough interest in the technology that it's
likely to eventually be fixed.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2012-10-15 14:19:28 Re: Deprecating Hash Indexes
Previous Message Robert Haas 2012-10-15 14:10:29 Re: Deparsing DDL command strings