Added pgsql connection pooling