UPDATE and INDEX on expensive function with (IsCachable)

Поиск
Список
Период
Сортировка
От Albert REINER
Тема UPDATE and INDEX on expensive function with (IsCachable)
Дата
Msg-id 20010504115913.A557@frithjof
обсуждение исходный текст
Ответы Re: UPDATE and INDEX on expensive function with (IsCachable)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Suppose some _cachable_ function f is expensive, but its results are
often needed.  So, to speed up queries, we have an index on
f(table.field). I wonder what happens when we update a tuple of that
table: will f be re-computed if table.field is not changed? What if
the update explicitly re-sets table.field to its old value?

Thanks in advance,

Albert.


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

Предыдущее
От: "Bob Whitehouse"
Дата:
Сообщение: Function Help
Следующее
От: Joel Burton
Дата:
Сообщение: Re: Function Help