dbt-3 is a benchmarking program testing a decision support workload. It consists of a suite of business oriented ad-hoc queries and concurrent data modifications. It is a fair usage implementation of the TPC's TPC-H Benchmark specification. See TPC-H for more information about the compatibility of this test with PostgreSQL.
dbt-3 code is available from the project's git repo