Switching DB to pg