Re: sudo-like behavior

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: sudo-like behavior
Дата
Msg-id 29489.1145564467@sss.pgh.pa.us
обсуждение исходный текст
Ответ на sudo-like behavior  ("A.M." <agentm@themactionfaction.com>)
Ответы Re: sudo-like behavior  ("A.M." <agentm@themactionfaction.com>)
Список pgsql-general
"A.M." <agentm@themactionfaction.com> writes:
> It seems I am stuck so please allow me to propose an extension:
> SET SESSION AUTHORIZATION user [WITH PASSWORD 'password];

This idea is extremely unlikely to be accepted, as the password would be
at risk of exposure in places like the pg_stat_activity view.

I think the correct way to do what you want is via a SECURITY DEFINER
function.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: odbc problem
Следующее
От: Karsten Hilbert
Дата:
Сообщение: Re: sudo-like behavior