changed to PostgreSQL environment