Re: Why the planner is not using the INDEX .
От | Enrico Weigelt |
---|---|
Тема | Re: Why the planner is not using the INDEX . |
Дата | |
Msg-id | 20050708153638.GD6368@nibiru.borg.metux.de обсуждение исходный текст |
Ответ на | Re: Why the planner is not using the INDEX . (David Gagnon <dgagnon@siunik.com>) |
Список | pgsql-performance |
* David Gagnon <dgagnon@siunik.com> wrote: > FOR inventoryTransaction IN > SELECT DISTINCT IRNUM, IRAENUM, IRSTATUT, IRSENS, IRSOURCE, > IRDATE, IRQTE > FROM IR > WHERE IRNUM = ANY (requestIds) and IRYPNUM = companyId > LOOP hmm. you probably could create the query dynamically and then execute it. BTW: why isn't IN not usable with arrays ? 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 postgresSQL :)) http://www.fxignal.net/ ---------------------------------------------------------------------
В списке pgsql-performance по дате отправления: