How to query time specific performance in postgres?
I don't know of a canned tool to do this.  But you can easily create a table which has the same columns as pg_stat_statements and an extra timestamptz column, then have a scheduled task take a snapshot of pg_stat_statements into this table every 2 hours.  Then you can take the differences between adjacent snapshots of the same query.