Convert the Postgres engine to use a DB URI.