change db to psql