Re: select avg() and sum() returns false value

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christoph_Lorenz@gmx.de, pgsql-bugs@postgresql.org
Date: 2001-05-18T22:18:31Z
Lists: pgsql-bugs
pgsql-bugs@postgresql.org writes:
> I don't know, if it's my fault, but when I sum up several thousands
> of positive entries in a column (the column is an int2 field), I get a negative(!) value.

Use Postgres 7.1.

			regards, tom lane