index on different types

От: Enrico Weigelt
Тема: index on different types
Дата: ,
(см: обсуждение, исходный текст)
Ответы: Re: index on different types  (Michael Fuhr)
Список: pgsql-performance

Hi folks,

there's often some talk about indices cannot be used if datatypes
dont match.

On a larger (and long time growed) application I tend to use OID
for references on new tables while old stuff is using integer.
Is the planner smart enough to see both as compatible datatype
or is manual casting required ?

 Enrico Weigelt    ==   metux IT service
  phone:     +49 36207 519931         www:
  fax:       +49 36207 519932         email:     
  Realtime Forex/Stock Exchange trading powered by postgresSQL :))

В списке pgsql-performance по дате сообщения:

От: Josh Berkus
Сообщение: Re: Distinct-Sampling (Gibbons paper) for Postgres
Сообщение: Re: BLOB's bypassing the OS Filesystem for better Image