| От | Andrew Dunstan |
|---|---|
| Тема | Re: Why is lc_messages superuser only? |
| Дата | |
| Msg-id | 46A4C63F.8070604@dunslane.net обсуждение исходный текст |
| Ответ на | Why is lc_messages superuser only? (Magnus Hagander <magnus@hagander.net>) |
| Список | pgsql-hackers |
Magnus Hagander wrote: > Looking around the lc_messages stuff a bit, I notice it's set to > superuser-only. > > I do use > ALTER USER joe SET lc_messages='sv_SE' > > now and then to change the language for a user. And I see it's also > possible to use it on a database level by doing > ALTER DATABASE postgres SET lc_messages='sv_SE' > > (user overriding database overriding system default, as expected) > > However, it can also be useful for the user to be able to change his own > session, and this only works if you are superuser. > > Is there a reason for this? > > > Presumably we don't want a user changing what is used on the logs ... cheers andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера