Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Tom Lane wrote:
>> The question in my mind is what privilege to check and when.
> By extrapolation of the SQL standard, I'd say we'd need to check the
> EXECUTE privilege of the function at run time.
Certainly EXECUTE privilege is what to check, but whose privilege?
regards, tom lane