Re: [GENERAL] Get the list of permissions/privileges on schema

Поиск
Список
Период
Сортировка
От Sergey Konoplev
Тема Re: [GENERAL] Get the list of permissions/privileges on schema
Дата
Msg-id c3a7de1f1003250224q79368a2as57c8d1d0719dfa79@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Get the list of permissions/privileges on schema  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
Список pgsql-novice
On 25 March 2010 12:14, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:
> You should look into the pg_class table : relacl attribute for the
> permissions on any object.

Is it correct to set it directly?

> On Thu, Mar 25, 2010 at 2:37 PM, dipti shah <shahdipti1980@gmail.com> wrote:
>> Could any one please tell me how to get list of all the permissions on the
>> schema (or any postgresql objects), stored them somewhere before executing
>> stored procedure and then restore them?

May be you are looking for something like SECURITY DEFINER option?
http://www.postgresql.org/docs/8.4/interactive/sql-createfunction.html

--
Sergey Konoplev

Blog: http://gray-hemp.blogspot.com /
Linkedin: http://ru.linkedin.com/in/grayhemp /
JID/GTalk: gray.ru@gmail.com / Skype: gray-hemp / ICQ: 29353802

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

Предыдущее
От: Ashesh Vashi
Дата:
Сообщение: Re: [GENERAL] Get the list of permissions/privileges on schema
Следующее
От: Łukasz Dejneka
Дата:
Сообщение: Using HStore type in TSearch