Well, I just tried it in MySQL, and whether they are int(3) or just ints, I get 3.33 from this:
create table test (i1 int, i2 int);
insert into test values (10,3);
select sum(i1)/sum(i2) from test;
3.33
In Postgresql 7.4 I get 3.
Note that I'm pretty sure that the ANSI standard says you should get 3, since the types of the two inputs are both ints the result should be as well.
Note that select 10/6 gives and answer of just 1 in postgresql, and 1.67 in MySQL 3.23.41.
Making it into select '10'/6 I get 1.6666667
In postgresql I still get just 1. I have to explicitly cast it to float, something I can't do in the older MySQL I'm running to test here.
select 10::float/6 OR select cast(10 as float)/6 both give 1.66666666667 or so.