Re: Caching for stable expressions with constant arguments v6

Поиск
Список
Период
Сортировка
От Marti Raudsepp
Тема Re: Caching for stable expressions with constant arguments v6
Дата
Msg-id CABRT9RB+=5=5BQjxAfbz--1UVnv5j4z2iHSCvatx9yes4BJaAw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Caching for stable expressions with constant arguments v6  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On Wed, Oct 31, 2012 at 2:21 AM, Josh Berkus <josh@agliodbs.com> wrote:
> Hey, are you going to work on this for 9.3?

Yes, I do plan to get back to it. Thanks for the push :)

> I really could use the feature ...

If you're not aware already, you can work around the limitation using
a subquery.

Instead of: WHERE foo_column > expensive_expression()
Write: WHERE foo_column > (SELECT expensive_expression())

Regards,
Marti



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

Предыдущее
От: Palle Girgensohn
Дата:
Сообщение: alter table tablename add column - breaks pl/pgsql function returns tablename
Следующее
От: Noah Misch
Дата:
Сообщение: Re: foreign key locks