Re: default EXECUTE privilege

From: Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Sergey Suleymanov <solt(at)eatpbank(dot)ru>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: default EXECUTE privilege
Date: 2003-09-05 15:16:27
Message-ID: 5.2.1.1.1.20030905231526.01ea1ce8@mbox.jaring.my
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Last line just before EXAMPLES
http://www.us.postgresql.org/postgresql-7.3.3/sql-createfunction.html

Highlighted:
http://216.239.33.104/search?q=cache:soHhFN4V1IMJ:www.us.postgresql.org/postgresql-7.3.3/sql-createfunction.html++site:www.us.postgresql.org+default,+only+the+owner+%22%2Bof+%2Bthe+function%22++right+to+execute+it&hl=en&ie=UTF-8

At 10:48 AM 9/5/2003 -0400, Tom Lane wrote:

>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
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vivek Khera 2003-09-05 15:17:58 Re: Backup?
Previous Message Tom Lane 2003-09-05 14:52:34 Re: Replaceing records