Re: [PATCHES] [Fwd: Index Advisor]

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Bruce Momjian" <bruce(at)momjian(dot)us>, "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] [Fwd: Index Advisor]
Date: 2007-01-08 17:32:42
Message-ID: 1168277562.3951.248.camel@silverbirch.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Mon, 2007-01-08 at 12:16 -0500, Tom Lane wrote:
> "Simon Riggs" <simon(at)2ndquadrant(dot)com> writes:
> > On Mon, 2007-01-08 at 11:28 -0500, Bruce Momjian wrote:
> >> The complex part of this is that the feature requires patches to the
> >> backend, and has a /contrib component.
>
> > The plugin approach is exactly what happened with the debugger. The
> > backend has an appropriate plugin API and the debugger is a plugin.
>
> > The patch to the backend shouldn't be in contrib, definitely.
>
> > I would say its up to the installer to offer the opportunity to load the
> > adviser plugin, or not. I like plugins because they encourage faster
> > paced development, diversity and choice.
>
> I would suggest that if we want to encourage faster development, we
> should do the same thing we did with the plpgsql debugger support:
> put the plugin hooks into the backend and keep the actual plugin(s)
> as separate pgfoundry projects. That way the index advisor can have
> a release every few weeks if it needs it .... and it will, for awhile.
> Stuff in contrib is necessarily tied to the backend release cycle.
>
> (This is not a statement that I approve of the specific plugin hooks
> proposed --- I don't particularly. But if we can come up with something
> a bit cleaner, that's how I'd approach it.)

Sounds good to me.

--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-01-08 17:43:57 Re: 8.3 pending patch queue
Previous Message Lukas Kahwe Smith 2007-01-08 17:19:47 Re: 8.3 pending patch queue

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2007-01-08 19:56:37 vcbuild optional packages
Previous Message Tom Lane 2007-01-08 17:16:55 Re: [PATCHES] [Fwd: Index Advisor]