Re: Check if SELECT is granted - Mailing list pgsql-general

From Poul Møller Hansen
Subject Re: Check if SELECT is granted
Date
Msg-id 4318B872.4080809@pbnet.dk
Whole thread Raw
In response to Re: Check if SELECT is granted  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Check if SELECT is granted
List 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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: operators, operator classes, Btree and index usage
Next
From: Alvaro Herrera
Date:
Subject: Re: Trouble with bytea in SPI...