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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christoph_Lorenz(at)gmx(dot)de, pgsql-bugs(at)postgresql(dot)org
Subject: Re: select avg() and sum() returns false value
Date: 2001-05-18 22:18:31
Message-ID: 25267.990224311@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Thomas Lockhart 2001-05-18 23:30:14 Re: Problems with avg on interval data type
Previous Message pgsql-bugs 2001-05-18 22:03:42 select avg() and sum() returns false value