Re: Re[2]: TEXT vs VARCHAR

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re[2]: TEXT vs VARCHAR
Дата
Msg-id 20760.971214625@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re[2]: TEXT vs VARCHAR  (Jean-Christophe Boggio <cat@thefreecat.org>)
Ответы Re: Re[2]: TEXT vs VARCHAR  (David Huttleston Jr <dhjr@hddesign.com>)
Список pgsql-general
Jean-Christophe Boggio <cat@thefreecat.org> writes:
>>> is there a limit on the upper limit of a VARCHAR?  i cannot find one in the
>>> documentation.

TL> The physical limit is circa 1Gb under TOAST.

> Excuse me, what is the 8kb-per-record size limit if we can have so
> big fields ?

Sorry --- TOAST is 7.1.  In existing releases, TEXT, VARCHAR, and CHAR
are all constrained by the BLCKSZ limit on total row size.  But still,
that offers no reason for choosing TEXT over VARCHAR or vice versa.

            regards, tom lane

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

Предыдущее
От: Vince Vielhaber
Дата:
Сообщение: Re: Re: [HACKERS] My new job
Следующее
От: Jason Earl
Дата:
Сообщение: Re: Re: [HACKERS] My new job