Re: BUG #5345: non-administrator users cannot create databases with special encoding
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #5345: non-administrator users cannot create databases with special encoding |
| Дата | |
| Msg-id | 7934.1267027254@sss.pgh.pa.us обсуждение |
| Ответ на | BUG #5345: non-administrator users cannot create databases with special encoding ("Zoltan Kovacs" <kovzol@particio.com>) |
| Ответы |
Re: BUG #5345: non-administrator users cannot create databases
with special encoding
|
| Список | pgsql-bugs |
"Zoltan Kovacs" <kovzol@particio.com> writes:
> I would like to create a database using SQL_ASCII encoding, but it is not
> allowed for a normal user, only for the postgres user.
There is an exception that will allow superusers to do that, but it's
not a good idea for them either. The problem is not the encoding per
se, it's that it's unsafe in combination with a locale setting that
assumes UTF8. The only safe locale for SQL_ASCII is C.
If you want to have one database that is C/SQL_ASCII and others that
have different locale settings, you need to upgrade to PG 8.4. 8.3
can only have one locale across the entire installation.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера