Re: stored function and grant execute - Mailing list pgsql-general

From Michael Fuhr
Subject Re: stored function and grant execute
Date
Msg-id 20060528133201.GA68743@winnie.fuhr.org
Whole thread Raw
In response to stored function and grant execute  ("P.M" <pmdanger@yahoo.com>)
List pgsql-general
On Sun, May 28, 2006 at 02:11:59AM -0700, P.M wrote:
> I'm developping a web application which use PostgreSQL as database.
> I'm quite surprise to see that grant execute does not exist for
> PostgreSQL v7.x, but only in v8.x

What version of 7.x are you running?  The EXECUTE privilege was
added in 7.3, which was released over three years ago.  Older
versions are no longer supported.

> So how can i grant such right (execute) to my user in v7.x ?
> because function were already existing in v7.x

I don't recall what pre-7.3 behavior is, but in 7.3 and later
functions' default privileges allow EXECUTE for public (everybody).
If you're running a version that doesn't have EXECUTE then you're
badly in need of an upgrade.

--
Michael Fuhr

pgsql-general by date:

Previous
From: dananrg@yahoo.com
Date:
Subject: Best open source tool for database design / ERDs?
Next
From: "Jorge Godoy"
Date:
Subject: Re: postgres 7 and eastern language