How to find the number of queries executed since server startup in PostgreSQL
I don't believe there is a way to do that.  The view pg_stat_database will give you info on the number of transactions and number of rows, but not the number of queries.  Also, the counters are reset only upon manual intervention, or upon crashes.  Clean restarts do not reset them.