Re: Shouldn't non-MULTIBYTE backend refuse to start in MB database?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Shouldn't non-MULTIBYTE backend refuse to start in MB database?
Дата
Msg-id Pine.LNX.4.30.0102150009020.1112-100000@peter.localdomain
обсуждение исходный текст
Ответ на Shouldn't non-MULTIBYTE backend refuse to start in MB database?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Shouldn't non-MULTIBYTE backend refuse to start in MB database?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane writes:

> We now have defenses against running a non-LOCALE-enabled backend in a
> database that was created in non-C locale.  Shouldn't we likewise
> prevent a non-MULTIBYTE-enabled backend from running in a database with
> a multibyte encoding that's not SQL_ASCII?  Or am I missing a reason why
> that is safe?

Not all multibyte encodings are actually "multi"-byte, e.g., LATIN2.  In
that case the main benefit is the on-the-fly recoding between the client
and the server.  If a non-MB server encounters that database it should
still work.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Open 7.1 items
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Open 7.1 items