Re: Should SET ROLE inherit config params?

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Should SET ROLE inherit config params?
Дата
Msg-id 1236807900.28644.211.camel@ebony.2ndQuadrant
обсуждение исходный текст
Ответ на Should SET ROLE inherit config params?  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Should SET ROLE inherit config params?
Re: Should SET ROLE inherit config params?
Список pgsql-hackers
On Wed, 2009-03-11 at 14:27 -0700, Josh Berkus wrote:

> I was just noticing that doing SET ROLE changes the current session's 
> priviledges, but not any runtime configuration parameters (like work_mem 
> or statement_timeout) associated with the new role.
> 
> This is as documented (although I want to add a line to SET ROLE docs) 
> but is it the behavior we want?  I for one would like SET ROLE to change 
> runtime configs.

Sounds good to me, but you may want to explore what problems that might
cause so we can avoid screwing up. Perhaps it could be an option?

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Should SET ROLE inherit config params?
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Should SET ROLE inherit config params?