Index + mismatching datatypes [WAS: index on custom function; explain]
От | Enrico Weigelt |
---|---|
Тема | Index + mismatching datatypes [WAS: index on custom function; explain] |
Дата | |
Msg-id | 20051107180738.GC15990@nibiru.local обсуждение исходный текст |
Ответ на | Re: index on custom function; explain (Yann Michel <yann-postgresql@spline.de>) |
Ответы |
Re: Index + mismatching datatypes [WAS: index on custom
|
Список | pgsql-performance |
* Yann Michel <yann-postgresql@spline.de> wrote: > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match I've got a similar problem: I have to match different datatypes, ie. bigint vs. integer vs. oid. Of course I tried to use casted index (aka ON (foo::oid)), but it didn't work. What am I doing wrong ? cu -- --------------------------------------------------------------------- Enrico Weigelt == metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: contact@metux.de --------------------------------------------------------------------- Realtime Forex/Stock Exchange trading powered by postgreSQL :)) http://www.fxignal.net/ ---------------------------------------------------------------------
В списке pgsql-performance по дате отправления: