Re: help with fmgr

2021-08-16 Thread Tom Lane
Luca Ferrari writes: > I've two main doubts: > - is fmgr working for non PL functions? Because I cannot see messages > starting when an internal function is invoked; Built-in functions do not support fmgr_hook; see the order of tests in fmgr_info_cxt_security(). I'd be loath to change that, for

help with fmgr

2021-08-16 Thread Luca Ferrari
Hi all, I'm trying to understand how fmgr works, and I've written a very simple module that checks if functions f_test, f_test2 (defined by myself in SQL) or hashtext (internal) needs fmgr, and in the case print out a message when the fmgr is invoked. I've two main doubts: - is fmgr working for non