Re: Difference between varchar and text?

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Difference between varchar and text?
Дата
Msg-id 50A89ED3.7050903@hogranch.com
обсуждение исходный текст
Ответ на Re: Difference between varchar and text?  (Abel Abraham Camarillo Ojeda <acamari@the00z.org>)
Список pgsql-general
On 11/17/12 11:48 PM, Abel Abraham Camarillo Ojeda wrote:
> As far as I know varchar(n) with n being less or equal than 126 cannot be
> toasted, and have only one octet of overhead.
>
> http://www.postgresql.org/docs/9.2/static/storage-toast.html

the same is true for varchar(n) with larger values of N as long as the
actual string in the field is under 126 characeters, and the same is
true for text if the actual string is under 126 characters.



--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast



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

Предыдущее
От: Abel Abraham Camarillo Ojeda
Дата:
Сообщение: Re: Difference between varchar and text?
Следующее
От: Vincent Veyron
Дата:
Сообщение: Re: user aggregate function ( calculate the average value of each index of an array column )