Re: External search engine, advice

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: External search engine, advice
Дата
Msg-id 11837.990376796@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: External search engine, advice  (mlw <markw@mohawksoft.com>)
Список pgsql-hackers
mlw <markw@mohawksoft.com> writes:
>> Hmm ... given that ftss refers to external files, is it a good idea to
>> mark it cachable?

> This I don't understand. What is the lifetime of a value that "iscacheable?"

Forever.  cachable says it's OK to reduce "func(constant)" to "constant"
on sight.  Right now it's not really forever because we don't save query
plans for very long (unless they're inside a plpgsql function) ... but
if you have a function that depends on any outside data besides its
arguments, you'd be ill-advised to mark it cachable.
        regards, tom lane


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

Предыдущее
От: Don Baccus
Дата:
Сообщение: Re: Functions returning sets
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Plans for solving the VACUUM problem