Re: Unprivileged access to pgsql functions? - Mailing list pgsql-general

From Andrew Sullivan
Subject Re: Unprivileged access to pgsql functions?
Date
Msg-id 20110304215105.GK16703@shinkuro.com
Whole thread Raw
In response to Re: Unprivileged access to pgsql functions?  (Matt Warner <matt@warnertechnology.com>)
Responses Re: Unprivileged access to pgsql functions?  (Matt Warner <matt@warnertechnology.com>)
List pgsql-general
On Fri, Mar 04, 2011 at 01:41:34PM -0800, Matt Warner wrote:
> No luck:
>
> *** as postgres
> postgres=# GRANT all on function nvl(anyelement,anyelement) to public;
> GRANT
> postgres=#
>
> *** as unprivileged user
> offload=> select nvl(0,1);
> ERROR:  function nvl(integer, integer) does not exist
> LINE 1: select nvl(0,1);
>                ^
> HINT:  No function matches the given name and argument types. You might need
> to add explicit type casts.

Is the function in your search_path?

A


--
Andrew Sullivan
ajs@crankycanuck.ca

pgsql-general by date:

Previous
From: Vibhor Kumar
Date:
Subject: Re: Unprivileged access to pgsql functions?
Next
From: Matt Warner
Date:
Subject: Re: Unprivileged access to pgsql functions?