Re: [PATCHES] Remove traces of xfunc

2004-04-24 Thread Alvaro Herrera
On Sun, Apr 25, 2004 at 12:20:01AM -0400, Neil Conway wrote: > On 24-Apr-04, at 5:58 PM, Alvaro Herrera wrote: > >While playing with the init code I noticed traces of Hellerstein's > >"expensive function optimization". It is completely disabled, uses > >functions nowhere to be defined, and is out

Re: [PATCHES] Remove traces of xfunc

2004-04-24 Thread Neil Conway
On 24-Apr-04, at 5:58 PM, Alvaro Herrera wrote: While playing with the init code I noticed traces of Hellerstein's "expensive function optimization". It is completely disabled, uses functions nowhere to be defined, and is out of date. So I removed it. I'll apply this within 24 hours. -Neil

[PATCHES] width_bucket() per SQL2003 (WIP)

2004-04-24 Thread Neil Conway
The attached patch implements the width_bucket() function (as specified by Section 6.27 of the SQL2003 standard, in particular page 250 in my copy). This function accepts an operand, a lower bound, an upper bound, and a number of buckets. It returns the number of the bucket to which the operand

[PATCHES] Remove traces of xfunc

2004-04-24 Thread Alvaro Herrera
Hackers, While playing with the init code I noticed traces of Hellerstein's "expensive function optimization". It is completely disabled, uses functions nowhere to be defined, and is out of date. So I removed it. Here is the patch. Note that it takes out the "pruneable" field from struct RelOpt