Re: New database: SQL_ASCII vs UTF-8 trade-offs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: New database: SQL_ASCII vs UTF-8 trade-offs
Дата
Msg-id 19681.1141747646@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: New database: SQL_ASCII vs UTF-8 trade-offs  (ow <oneway_111@yahoo.com>)
Ответы Re: New database: SQL_ASCII vs UTF-8 trade-offs
Список pgsql-admin
ow <oneway_111@yahoo.com> writes:
> I see... If *ALL* data is in ASCII, is it possible to just update
> "pg_database.encoding" to UTF-8 or will I need to recreate the db?

It seems risky, but you could probably get away with that as long
as the database locale (LC_COLLATE/LC_CTYPE) is "C" ... which is really
the only one that's safe with SQL_ASCII anyway ... note that
already-started backends will probably fail to notice such a change.

            regards, tom lane

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

Предыдущее
От: ow
Дата:
Сообщение: Re: New database: SQL_ASCII vs UTF-8 trade-offs
Следующее
От: Fabrice.Sznajderman@devoteam.com
Дата:
Сообщение: Re: VACUUM Error?