teammetrics=> select project, vcs, count(*) from commitstat where project='debian-science' group by vcs, project order by project, vcs; project | vcs | count ----------------+-----+------- debian-science | git | 50 debian-science | svn | 3692(2 rows) :) It's fixed now.