Added PostgreSQL support for production environment.