* Tom Lane <tgl@sss.pgh.pa.us> [010602 09:59]:
> > One more question, will the sum() on a bigint column cast to float
> > happen in floating point?
>
> Yes. You don't really need that though. These days there are only
> two flavors of sum(): float8 accumulator (for float8 and float4 inputs)
> and numeric accumulator (for everything else). You don't need to worry
> about overflow anymore. float8 is faster if you don't mind loss of
> precision...
Since I'm looking at order of magnitude type comparisons, the float8
is fine. I don't need to know down to the byte, just comparisons
between orders of magnitudes. ISP's move a *LOT* of data :-)
LER
>
> regards, tom lane
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749