Re: [HACKERS] Do we need multiple forms of the SQL2003 statistics aggregates?

2006-07-28 Thread Tom Lane
I wrote: There is room to argue that the numeric-arithmetic version would be worth having on the grounds of greater precision or range, but it's a big chunk of code and the public demand for the functionality has not exactly been overwhelming. Comments? Since no one's even bothered to

[HACKERS] Do we need multiple forms of the SQL2003 statistics aggregates?

2006-07-27 Thread Tom Lane
Sergey's recent patch for the SQL2003 binary aggregates implements each of them three times: in float4, float8, and numeric arithmetic. This seems like vast overkill. The float4 versions certainly ought to go, as they won't perform noticeably better than float8 and will likely be subject to