Finish switching to PostgreSQL