Re: Check if SELECT is granted

From: Poul Møller Hansen <freebsd(at)pbnet(dot)dk>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Check if SELECT is granted
Date: 2005-09-02 20:39:14
Message-ID: 4318B872.4080809@pbnet.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
> See the has_table_privilege() function.

Thanks, but how does it work ?

select has_table_privelege('public.mytable', 'select');
ERROR: function has_table_privelege("unknown", "unknown") does not exist
HINT: No function matches the given name and argument types. You may
need to add explicit type casts.

Poul

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2005-09-02 21:01:51 Re: Trouble with bytea in SPI...
Previous Message Tom Lane 2005-09-02 20:21:43 Re: operators, operator classes, Btree and index usage