> > prova=> select avg(int_2), avg(int_4), avg(int_8) from a;
> The same on SUM():
Sure. For some reason, on most platforms integers are allowed to
overflow in Postgres. Of course, both SUM() and AVG() take a running
sum, and once they overflow you are hosed...
- Tom