Much thanks! This is exactly what I was looking for:
funcname = stringToQualifiedNameList("times_two");
> funcoid = LookupFuncName(func_name, 1, funcargs, false);
>
> Datum ret = OidFunctionCall1(funcoid, Int32GetDatum(13));
>
Eric
On Wed, Aug 26, 2020 at 8:53 PM Pavel Stehule
wrote:
> Hi
>
>
Hi
čt 27. 8. 2020 v 0:43 odesílatel Eric Zhu napsal:
> How do I call a function defined using CREATE FUNCTION in SQL inside a C
> function in an extension? I feel this should be possible as the query
> parser is able to resolve the function names and arguments in a raw string
> query. I want to
How do I call a function defined using CREATE FUNCTION in SQL inside a C
function in an extension? I feel this should be possible as the query
parser is able to resolve the function names and arguments in a raw string
query. I want to know if there is a standard way to look up for
user-defined func