From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Greg Hennessy <greg(dot)hennessy(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: selectivity function |
Date: | 2022-05-26 19:10:21 |
Message-ID: | 2427981.1653592221@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Greg Hennessy <greg(dot)hennessy(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-05-26 19:16:25 | Re: Patch: Don't set LoadedSSL unless secure_initialize succeeds |
Previous Message | Greg Hennessy | 2022-05-26 18:58:54 | selectivity function |