Description
Parse postgres:// url into ConnectInfo.
Description
The Database.PostgreSQL.Simple.URL
module in this package exports two helper functions parseDatabaseUrl
and urlToConnectInfo
to construct ConnectInfo
from URI (or string).
>>> parseDatabaseUrl "postgres:/
foo:[email protected]:2345
database"
Just (ConnectInfo "example.com" 2345 "foo" "bar" "database")
README.md