From: | Adriaan Joubert <a(dot)joubert(at)albourne(dot)com> |
---|---|
To: | pgsql-ports(at)postgreSQL(dot)org, pgsql-patches(at)postgreSQL(dot)org |
Subject: | Re: FPE on Alpha in Select with PKEY (Patch) |
Date: | 1999-03-02 14:31:35 |
Message-ID: | 36DBF647.F5F38720@albourne.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
Hi,
I seem to have fixed the floating point problem on the Alphas -- at
least for my test cases. It requires the following patch at the end of
this mail. Could somebody who know postgres a bit better than me please
double-check it, and let me know whether it is ok? The regression test
seemed to run ok'ish (i.e. no more than before failed).
Adriaan
*** ./src/backend/optimizer/path/orindxpath.c.orig Mon Sep 21
18:41:27 1998
--- ./src/backend/optimizer/path/orindxpath.c Tue Mar 2 16:25:11 1999
***************
*** 133,139 ****
xfunc_get_path_cost((Path) pathnode);
}
#endif
! clausenode->selectivity = (Cost)
floatVal(selecs);
t_list = lappend(t_list, pathnode);
}
}
--- 133,139 ----
xfunc_get_path_cost((Path) pathnode);
}
#endif
! clausenode->selectivity = (Cost)
floatVal(selecs->elem.ptr_value);
t_list = lappend(t_list, pathnode);
}
}
From | Date | Subject | |
---|---|---|---|
Next Message | Pascal Mueller | 1999-03-02 15:33:21 | Install Bug? |
Previous Message | Unprivileged user | 1999-03-02 03:43:18 | Port Bug Report: y.tab.h not exist |