Re: "_" in a serach pattern

Поиск
Список
Период
Сортировка
От Ben Kim
Тема Re: "_" in a serach pattern
Дата
Msg-id Pine.GSO.4.64.0707240911090.5503@coe.tamu.edu
обсуждение исходный текст
Ответ на Re: "_" in a serach pattern  (Peter Koczan <pjkoczan@gmail.com>)
Ответы Re: "_" in a serach pattern  (Peter Koczan <pjkoczan@gmail.com>)
Список pgsql-admin
> The only difference is that varchar can have a length limit, text is always
> unlimited length. There's no significant performance difference between
> either. For most intents and purposes, they're equal.

Forgive me for diversion, but out of curiosity, would it make some
difference whether strings of known length are compared or strings of
unknown length are compared, like in join condition "using(address)"?

Or, is the actual length stored in a separate field and read first so
strings of different lengths wouldn't even need to be matched?

Is there some reference on this subject other than the source code?


Thanks.

Ben K.
Developer
http://benix.tamu.edu

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: problems installing postgresql on Mandriva linux
Следующее
От: tech@g-sistemas.com
Дата:
Сообщение: Set up a database without backup