Re: text vs varchar

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: text vs varchar
Дата
Msg-id 200206181559.54654.josh@agliodbs.com
обсуждение исходный текст
Ответ на text vs varchar  (Wei Weng <wweng@kencast.com>)
Ответы Re: text vs varchar
Re: text vs varchar
Список pgsql-sql
Wei,

> Is there any disadvantage of using TEXT datatype as opposed to a VARCHAR
> datatype with a maximum length, especially when I do searches on them?

Yes.  You can't index TEXT because it's of potentially unlimited length.

--
-Josh Berkus



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