Re: Unprivileged access to pgsql functions?

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Unprivileged access to pgsql functions?
Date: 2011-03-04 21:49:24
Message-ID: 4D715E64.808@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 03/04/11 1:41 PM, 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.
>

what schema is this function defined in? is that schema in the search path?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vibhor Kumar 2011-03-04 21:51:03 Re: Unprivileged access to pgsql functions?
Previous Message Bosco Rama 2011-03-04 21:48:09 Re: Unprivileged access to pgsql functions?