Greg Hennessy <greg.henne...@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


Reply via email to