On 03/14/10 06:21, Jasen Betts wrote:
> On 2010-03-13, Gianvito Pio<pio(dot)gianvito(at)gmail(dot)com> wrote:
>> Hi all,
>> is there a way to write a function that can only be called by another
>> function but not directly using SELECT function_name ( )?
>
> not really.
>
> but there may be another way to get the effect you want.
>
read the section SECURITY DEFINER
and GRANT and REVOKE and CREATE USER