Re: Stable function Repeatedly Called

Поиск
Список
Период
Сортировка
От CN LIOU
Тема Re: Stable function Repeatedly Called
Дата
Msg-id 20030124025819.28902.qmail@graffiti.net
обсуждение исходный текст
Ответ на Stable function Repeatedly Called  ("CN LIOU" <cnliou@graffiti.net>)
Список pgsql-general
Thank you! Robert,

>
> select * from tt1 where c1=(select f1('x'));
> update tt1 set c2='ABC' WHERE c1=(select f1('x'));
>
> I think there might be other benefits to this in regards to index usage
> as well.
>

Indeed this fix the problem.
However, when this is in rule, function f1 is called repeatedly again. Any idea?

Regards,

CN

--
_______________________________________________
Get your free email from http://www.graffiti.net

Powered by Outblaze

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

Предыдущее
От: Oliver Vecernik
Дата:
Сообщение: Re: standard schemas for addresses, others?
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: Compiling 7.2.3 on RH 8.0