Re: pgsql: Add missing optimizer hooks for function cost and number of rows.

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: pgsql: Add missing optimizer hooks for function cost and number of rows.
Дата
Msg-id 1272094276.4161.960.camel@ebony
обсуждение исходный текст
Ответ на Re: pgsql: Add missing optimizer hooks for function cost and number of rows.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] Re: pgsql: Add missing optimizer hooks for function cost and number of rows.  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-committers
On Fri, 2010-04-23 at 18:55 -0400, Tom Lane wrote:
> sriggs@postgresql.org (Simon Riggs) writes:
> > Log Message:
> > -----------
> > Add missing optimizer hooks for function cost and number of rows.
> > Closely follow design of other optimizer hooks: if hook exists
> > retrieve value from plugin; if still not set then get from cache.
>
> What exactly are we doing adding new features without discussion (or
> documentation, or known use cases) at this stage of the release cycle?

Existing hooks were not fully complete in their coverage. That has
happened before, and we have discussed that before on hackers, so I took
care not to deviate from that implementation. This is a very low impact
change, isn't in a new area and similar optimizer related changes were
made recently, so I saw little to object to in this particular change.
No such hooks are documented, even ones with strong use cases.

--
 Simon Riggs           www.2ndQuadrant.com


В списке pgsql-committers по дате отправления:

Предыдущее
От: rhaas@postgresql.org (Robert Haas)
Дата:
Сообщение: pgsql: Fix various instances of "the the".
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Re: pgsql: Add missing optimizer hooks for function cost and number of rows.