Re: Per-database and per-user GUC settings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Per-database and per-user GUC settings
Дата
Msg-id 29957.1012266109@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Per-database and per-user GUC settings  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Per-database and per-user GUC settings
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> The basic functionality is done, although two issues sort of need a show
> of hands.  First, the order in which these settings are processed: I
> figured user should be last.

Meaning the user setting wins if there's a conflict?  Fine.

> I've also got these settings for each group,
> but this would mean that if a user is a member of more than one group he
> gets a rather random processing order.

That bothers me; seems like it'll bite someone sooner or later.  And I
don't see a compelling reason to have per-group settings if we have the
other two.

One issue you didn't mention is what security level these options are
assumed to have by GUC.  That plays into what permissions are needed to
issue the SET/ALTER commands.
        regards, tom lane


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

Предыдущее
От: Bill Studenmund
Дата:
Сообщение: Re: RFD: schemas and different kinds of Postgres objects
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Rules for accessing tuple data in backend code