varchar(n) vs. varchar

Поиск
Список
Период
Сортировка
От Daniel Serodio
Тема varchar(n) vs. varchar
Дата
Msg-id 1156246696.431151.48180@p79g2000cwp.googlegroups.com
обсуждение исходный текст
Ответы Re: varchar(n) vs. varchar  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I've found a thread discussing the use of "text" vs. "varchar"; what
I'd like to know if there's any performance difference between using
"varchar(n)" vs. "varchar", ie, should I constrain a "name" column to
an arbitrary length to improve performance, or will it actually degrade
performance because of the extra cycles used for checking the length?


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

Предыдущее
От: "nuno"
Дата:
Сообщение: error msg when pg_restore
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: unique constraint when updating tables