finish Database to PostgreSQL