Re: text vs varchar(n)

Поиск
Список
Период
Сортировка
От Jean-Michel POURE
Тема Re: text vs varchar(n)
Дата
Msg-id 200202180952.g1I9qnFP005662@www1.translationforge
обсуждение исходный текст
Ответ на text vs varchar(n)  (Richard Emberson <emberson@phc.net>)
Список pgsql-general
Le Lundi 18 Février 2002 06:52, Richard Emberson a écrit :
> If ones sets up the db to be UNICODE, does that also apply to the 'text'
> type?

Yes, encoding is set at database creation (CREATE DATABASE foo WITH ENCODING
'Unicode') for all database. This applies to all tables and views. Unicode is
handled as fast as Latin1 with no real impact on performances.

When using a Unicode PostgreSQL database, you also need a Unicode backend
like Apache/PHP or Java. If your backend is Latin1, like VB6, PostgreSQL will
not be able to recode from Unicode to Latin1 transparently.

Please also note that some server-side functions do not support unicode yet.

Cheers,
Jean-Michel POURE

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

Предыдущее
От: Jean-Michel POURE
Дата:
Сообщение: Re: Database Performance?
Следующее
От: John Fabiani
Дата:
Сообщение: Can postgres use the login password