Re: Protect PL/PGSQL source

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Protect PL/PGSQL source
Дата
Msg-id b42b73150702151028q2735783s5340ff0a78991380@mail.gmail.com
обсуждение исходный текст
Ответ на Protect PL/PGSQL source  (Wilton <wilton.wonrath@microwork.inf.br>)
Список pgsql-general
On 2/14/07, Wilton <wilton.wonrath@microwork.inf.br> wrote:
> Hello,
>
> Does anyone knows if it´s possible to protect from users see a PL/PGSQL
> source ?
>
> I have a PL/PGSQL function and I want to make it invisible to users.

stored procedure code sits in the pg_proc table as you know.  access
to pg_proc is not required to run a function:

revoke select on pg_proc from public, foo;

be aware this breaks psql/pgadmin, etc for that user(s).

merlin

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

Предыдущее
От: Marc Evans
Дата:
Сообщение: Database performance comparison paper.
Следующее
От: RPK
Дата:
Сообщение: Re: Option to undo last update on table.