Received: from acheron.rime.com.au (root@albatr.lnk.telstra.net [139.130.54.222]) by hub.org (8.10.1/8.10.1) with ESMTP id e77F7RG22789 for ; Mon, 7 Aug 2000 11:07:28 -0400 (EDT) Received: from oberon (Oberon.rime.com.au [203.8.195.100]) by acheron.rime.com.au (8.9.3/8.9.3) with SMTP id BAA02379; Tue, 8 Aug 2000 01:07:32 +1000 Message-Id: <3.0.5.32.20000808010738.0281eca0@mail.rhyme.com.au> X-Sender: pjw@mail.rhyme.com.au X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Tue, 08 Aug 2000 01:07:38 +1000 To: Tom Lane , Ang Chin Han From: Philip Warner Subject: Re: Functions too slow, even with iscachable? Cc: pgsql-sql@postgresql.org In-Reply-To: <6058.965660307@sss.pgh.pa.us> References: <20000807171110.A31838@pintoo.com> <20000807171110.A31838@pintoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Archive-Number: 200008/54 At 10:58 7/08/00 -0400, Tom Lane wrote: > >Looks like we need to teach the optimizer that expressions involving >params can be treated like simple params for the purposes of >optimization. > So long as the function is cacheable... ---------------------------------------------------------------- Philip Warner | __---_____ Albatross Consulting Pty. Ltd. |----/ - \ (A.C.N. 008 659 498) | /(@) ______---_ Tel: (+61) 0500 83 82 81 | _________ \ Fax: (+61) 0500 83 82 82 | ___________ | Http://www.rhyme.com.au | / \| | --________-- PGP key available upon request, | / and from pgp5.ai.mit.edu:11371 |/