index used when casting to different type?

Поиск
Список
Период
Сортировка
От adb
Тема index used when casting to different type?
Дата
Msg-id Pine.GSO.4.10.10102191830030.2561-100000@hairdini.beast.com
обсуждение исходный текст
Ответы Re: index used when casting to different type?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: index used when casting to different type?  (Larry Rosenman <ler@lerctr.org>)
Список pgsql-general
If I have a table with a key column stored as text and
another table with a key column stored as an int4 and
I join the two by casting the in4 column to text, will the existing
index on the int4 key be used?

Thanks,

Alex.



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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Weird indices
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: Re: Postgres slowdown on large table joins