Re: restrict global access to be readonly

Поиск
Список
Период
Сортировка
От David G Johnston
Тема Re: restrict global access to be readonly
Дата
Msg-id 1423991608861-5838021.post@n5.nabble.com
обсуждение исходный текст
Ответ на restrict global access to be readonly  ("happy times" <guangzhouzhang@qq.com>)
Ответы Re: restrict global access to be readonly
Список pgsql-hackers
happy times wrote
> Sure, we can utilize the   runtime parameter
> default_transaction_read_only, however, it does not restrict user from
> changing transaction attribute to non-readonly mode, so is not safe. 

ISTM that implementing a means to make this setting only super-user
changeable would be a quick(er) solution to the problem - the decision as to
what to disallow is already decided.

It seems like it would have to be a separate GUC but it would require any
new SQL but would simply leverage the existing settings system to setup
database-user values that only a super-user can change.

David J.




--
View this message in context:
http://postgresql.nabble.com/restrict-global-access-to-be-readonly-tp5837818p5838021.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.



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

Предыдущее
От: David G Johnston
Дата:
Сообщение: Re: Add pg_settings.pending_restart column
Следующее
От: Andrew Gierth
Дата:
Сообщение: Really bad blowups with hash outer join and nulls