Re: How are null's stored?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: How are null's stored?
Дата
Msg-id 200305121546.39544.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: How are null's stored?  ("Ryan" <pgsql-performance@seahat.com>)
Ответы Re: How are null's stored?  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-performance
Ryan,

> So if the internal format is identical, why does the INFERNAL database
> ignore indexes when you have a text compared to a varchar?

I don't seem to have this problem; I use TEXT or VARCHAR willy-nilly,
including in LIKE 'string%' and UPPER(field) queries, and the indexes work
fine.

I suspect that either you're talking about TEXT to CHAR(x) comparisons, which
are a different ball o' wax, or your query problem is something else.

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco


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

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: How are null's stored?
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: How are null's stored?