Re: default EXECUTE privilege

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sergey Suleymanov <solt(at)eatpbank(dot)ru>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: default EXECUTE privilege
Date: 2003-09-05 14:48:29
Message-ID: 14133.1062773309@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-09-05 14:52:34 Re: Replaceing records
Previous Message Tom Lane 2003-09-05 14:42:19 Re: postmaster crashing