Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group