Added support to PostgreSQL in production