Re: Does CREATE FUNCTION... WITH (ISCACHABLE) work? - Mailing list pgsql-general

From Tom Lane
Subject Re: Does CREATE FUNCTION... WITH (ISCACHABLE) work?
Date
Msg-id 22579.964051154@sss.pgh.pa.us
Whole thread Raw
In response to Re: Does CREATE FUNCTION... WITH (ISCACHABLE) work?  ("Joel Burton" <jburton@scw.org>)
List 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 by date:

Previous
From: Chris Bitmead
Date:
Subject: Re: [HACKERS] Re: PRIMARY KEY & INHERITANCE (fwd)
Next
From: "Mikheev, Vadim"
Date:
Subject: RE: unique constraint - bug?