Re: selectivity function
| От | Tom Lane |
|---|---|
| Тема | Re: selectivity function |
| Дата | |
| Msg-id | 2427981.1653592221@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | selectivity function (Greg Hennessy <greg.hennessy@gmail.com>) |
| Ответы |
Re: selectivity function
|
| Список | pgsql-hackers |
Greg Hennessy <greg.hennessy@gmail.com> 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 по дате отправления: