From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
---|---|
To: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
Cc: | Andres Freund <andres(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org, Josh Berkus <josh(at)agliodbs(dot)com> |
Subject: | Re: Deprecating Hash Indexes |
Date: | 2012-10-15 19:11:15 |
Message-ID: | CA+U5nMK02=icnkqgfnrDNEFALaC73uh7genzP36wOrBByQgNiA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 15 October 2012 20:04, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:
> On Mon, Oct 15, 2012 at 11:49 AM, Andres Freund <andres(at)2ndquadrant(dot)com> wrote:
>> On Monday, October 15, 2012 08:46:40 PM Jeff Janes wrote:
>>> On Mon, Oct 15, 2012 at 11:14 AM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
>>> > I would be in favor of moving them to contrib for 9.4. Assuming that
>>> > someone can figure out how this interacts with the existing system table
>>> > opclasses. Them being in /contrib would also put less pressure on the
>>> > next new hacker who decides to take them on as a feature; they can
>>> > improve them incrementally without needing to fix 100% of issues in the
>>> > first go.
>>>
>>> Is there anything currently in contrib that defines its own WAL
>>> records and replay methods? Are there hooks for doing so?
>>
>> It's not really possible as rmgr.c declares a const array of resource managers.
>> A contrib module can't sensibly add itself to that. I think changing this has
>> been discussed/proposed in the past, but -hackers wasn't convinced...
>>
>> But then, the idea is to add it to -contrib while no WAL support exists..
>
> Which then virtually guarantees that WAL support never will exist, doesn't it?
>
>> Personally I don't see a point in -contrib'ing it. I would rather see it throw
>> errors in dangerous situations and be done with that.
>
> +1
All I'm planning to do for now is add docs and the WARNING suggested.
--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Dimitri Fontaine | 2012-10-15 19:14:35 | Re: Truncate if exists |
Previous Message | ktm@rice.edu | 2012-10-15 19:11:13 | Re: Deprecating Hash Indexes |