Re: [HACKERS] Followup on the UnixWare Optimizer bug.

2005-08-24 Thread Tom Lane
"Larry Rosenman" forwards: > As I said, this will take us some time to work up the fix and revalidate the > compiler. Since you have release coming up, I want to suggest the follow > work-around for a Common Subexpression Elimination (CSE) bug in "some" > compiler... Done. I think the code

Re: [HACKERS] Followup on the UnixWare Optimizer bug.

2005-08-24 Thread Tom Lane
"Larry Rosenman" forwards: > Also note that there appears to be a memory leak in the interval_ > routines. For example interval_div() allocates a "result" Interval. > It eventually passes this result through to interval_justify_hours() which > allocates another Interval "result" and that "res

[HACKERS] Followup on the UnixWare Optimizer bug.

2005-08-24 Thread Larry Rosenman
The following is from my SCO Internal contact about the bug. It's definitely their bug. Towards the end of the Exact diagnosis, is a suggested work-around for now, as well as a (possible) memory leak. - Dave and I were convinced that the CSE optimization was correct and manufactured data tha