Re: disabling an index without deleting it? - Mailing list pgsql-performance

From Tom Lane
Subject Re: disabling an index without deleting it?
Date
Msg-id 14265.1204090729@sss.pgh.pa.us
Whole thread Raw
In response to disabling an index without deleting it?  ("Peter Koczan" <pjkoczan@gmail.com>)
List pgsql-performance
"Markus Bertheau" <mbertheau.pg@googlemail.com> writes:
> On the other hand, if the only reason to have that feature is to plan
> and execute queries pretending that one index doesn't exist, then DROP
> INDEX DEFERRED is not the most straightforward syntax.

Yeah, I was just about to mention that 8.3 has a hook that allows a
plug-in to manipulate the planner's notions of which indexes exist.
Ignoring a specific index would be really trivial.

            regards, tom lane

pgsql-performance by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: disabling an index without deleting it?
Next
From: James Mansion
Date:
Subject: Re: LISTEN / NOTIFY performance in 8.3