Search Postgresql Archives

Re: Check if SELECT is granted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

              http://www.postgresql.org/docs/faq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux