Set pg in production mode