Re: selectivity function

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: selectivity function
Дата
в 19:10:21
Msg-id
2427981.1653592221@sss.pgh.pa.us
Ответ на
selectivity function (Greg Hennessy)
Список
Дерево обсуждения
selectivity function Greg Hennessy <greg.hennessy@gmail.com>
Re: selectivity function Tom Lane <tgl@sss.pgh.pa.us>
Re: selectivity function Greg Hennessy <greg.hennessy@gmail.com>
Re: selectivity function Tom Lane <tgl@sss.pgh.pa.us>
Re: selectivity function Greg Hennessy <greg.hennessy@gmail.com>
Greg Hennessy  writes:
> I'm trying to include a sensitivity operator in a function. My issue is
> that when I have my function, I get a call to SupportRequestSimplify, but
> not SupportRequestSensitivity. It is not obvious what I am doing that is
> incorrect.

Attaching a support function to a SQL-language function seems pretty
weird to me.  I think probably what is happening is that the SQL
function is getting inlined and thus there is nothing left to apply
the selectivity hook to.  simplify_function() will try the
SupportRequestSimplify hook before it tries inlining, so the fact
that that one registers isn't at odds with this theory.

			regards, tom lane


В списке pgsql-hackers по дате отправления
От: Greg Hennessy
Дата:
Сообщение: selectivity function
От: Tom Lane
Дата:
FAQ