How can I reset the counters from pg_stat_database view?
The solution is simple, store previous values and substract.
No need to reset anything in Postgres.
In this way meaningful stats can be obtained:

(newValue-oldValue)/numberOfSeconds