Switch to postgres database