finished PSQL coverage for aggregates