Re: privilege shedding

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: privilege shedding
Дата
Msg-id 48AD30F8.EE98.0025.0@wicourts.gov
обсуждение исходный текст
Ответ на privilege shedding  (dkeeney <dvkeeney@gmail.com>)
Список pgsql-admin
>>> dkeeney <dvkeeney@gmail.com> wrote:

> Is there a way to non-reversibly shed privilige within a PostgreSQL
> session?

> I would like the role
> change to persist through the life of the session, without the
option
> of restoring the superuser role.

We could use this in certain circumstances.  How about SET
AUTHORIZATION ROLE as syntax?  (I was trying to find a reserved word
to use where LOCAL and SESSION are now allowed which would have the
right connotations.  I'm entirely happy with this, but it doesn't seem
too bad....)

-Kevin

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_log directory
Следующее
От: "c k"
Дата:
Сообщение: Query performance difference