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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Joel Burton" <jburton(at)scw(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Does CREATE FUNCTION... WITH (ISCACHABLE) work?
Date: 2000-07-19 23:59:14
Message-ID: 22579.964051154@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Joel Burton" <jburton(at)scw(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2000-07-20 00:18:17 Re: Re: [GENERAL] PRIMARY KEY & INHERITANCE (fwd)
Previous Message Chris Bitmead 2000-07-19 23:43:37 Re: [HACKERS] Re: PRIMARY KEY & INHERITANCE (fwd)