Re: allowing users access to a trusted C function

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: allowing users access to a trusted C function
Дата
Msg-id 3A44A84B.D191FC1D@wasabimg.com
обсуждение исходный текст
Ответ на allowing users access to a trusted C function  (Jeff Davis <jdavis@wasabimg.com>)
Ответы Re: allowing users access to a trusted C function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane wrote:

> Jeff Davis <jdavis@wasabimg.com> writes:
> > I created (as a superuser) a set of C functions to handle boolean
> > arithmetic (has to do with simplifying search queries of mine). I would
> > like users to be able to access those functions somehow.
>
> If the functions are listed in pg_proc, anyone can call them.
>
>                         regards, tom lane

I should have mentioned this, but all my users have their own DB. I have
entries for the functions in pg_proc for template1 and postgres (DB of my
superuser), but they won't be recognized in other DBs.

Thanks,
    Jeff Davis


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

Предыдущее
От: Anand Raman
Дата:
Сообщение: Re: Max sessions question
Следующее
От: Tom Lane
Дата:
Сообщение: Re: allowing users access to a trusted C function