Sergey Suleymanov <solt(at)eatpbank(dot)ru> writes:
> Documentation says "By default, only the owner (creator) of the
> function has the right to execute it."
That's a documentation error. Where do you see it exactly? I can't
find such a statement in the current sources.
> But for me newly created function has execute privilege to
> public by default. And we have to execute "revoke execute on
> function ... from public". Why?
We decided that was the most useful default.
regards, tom lane