How do I do the equivilant of
select count(distinct c) from t...
which I believe is legal in SQL92 but doesn't work in Postgresql...