PostgreSQL stats script

Here is a very naive implementation of pg stats.

Thank you for publishing hoardd