Re: Does CREATE FUNCTION... WITH (ISCACHABLE) work?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Does CREATE FUNCTION... WITH (ISCACHABLE) work?
Дата
Msg-id 22579.964051154@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Does CREATE FUNCTION... WITH (ISCACHABLE) work?  ("Joel Burton" <jburton@scw.org>)
Список pgsql-general
"Joel Burton" <jburton@scw.org> writes:
>> If foo() is marked cachable then it's evaluated once during query
>> planning; if not it's evaluated again for each row scanned in table1.

> Sounds reasonable. But does it work as advertised?

Yes, it does.  You're still not trying it on multiple tuples.

            regards, tom lane

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

Предыдущее
От: Chris Bitmead
Дата:
Сообщение: Re: [HACKERS] Re: PRIMARY KEY & INHERITANCE (fwd)
Следующее
От: "Mikheev, Vadim"
Дата:
Сообщение: RE: unique constraint - bug?