Re: Does the current user have UPDATE privilege on FOO?

Поиск
Список
Период
Сортировка
От Mike Blackwell
Тема Re: Does the current user have UPDATE privilege on FOO?
Дата
Msg-id CANPAkgvfF5md+jf7awjsSV6AAhFprE4N3EB0GaA0hw2h_Spw2g@mail.gmail.com
обсуждение исходный текст
Ответ на Does the current user have UPDATE privilege on FOO?  (Lionel Elie Mamane <lionel@mamane.lu>)
Ответы Re: Does the current user have UPDATE privilege on FOO?  (Lionel Elie Mamane <lionel@mamane.lu>)
Список pgsql-general
On Mon, Feb 27, 2012 at 11:00, Lionel Elie Mamane <lionel@mamane.lu> wrote:
Hi,

I'm trying to understand the "clean" way to determine whether the
current role has UPDATE (or SELECT or DELETE or UPDATE) privileges on
a specific table (or column). If I can do it in a way that is portable
across different DBMSs, even better :)


For PostgreSQL only, see http://www.postgresql.org/docs/9.1/interactive/functions-info.html for a list of functions for this.

Mike 

В списке pgsql-general по дате отправления:

Предыдущее
От: Ireneusz Pluta
Дата:
Сообщение: pg_class.relnamespace NOT IN pg_namespace.oid
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Having a problem with RoR-3.1.1 and Pg-9.1