configure pg for production