switching to psql db