Re: Silly Question about varchar(n)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Silly Question about varchar(n)
Дата
Msg-id 26523.1043854645@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Silly Question about varchar(n)  (Derek Clarkson <dhc@bigpond.net.au>)
Список pgsql-novice
Derek Clarkson <dhc@bigpond.net.au> writes:
>     Whats maximum I can put as the length ? - I can't find it in the doco.

I think the parser will complain about N exceeding 10,000,000.

In practice, if you don't have a clear idea of what the upper bound
should be, don't put an upper bound --- use type text.  Putting a
meaninglessly large upper bound simply wastes cycles for useless checks.

            regards, tom lane

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

Предыдущее
От: "Steinn E. Sigurdarson"
Дата:
Сообщение: Re: Good books?
Следующее
От: "Sugrue, Sean"
Дата:
Сообщение: Re: Good books?