David Rowley <dgrowleyml(at)gmail(dot)com> writes:
> The attached patch is not quite finished yet, I've not yet fully covered
> SUM and AVG for all types.
I think you *can't* cover them for the float types; roundoff error
would mean you don't get the same answers as before.
regards, tom lane