The latest version of postgresql-simple-url is 0.2.1.0-9.
postgresql-simple-url
Version 0.2.1.0 revision 4 uploaded by phadej.
Package meta
- Synopsis
- 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:bar@example.com:2345database" Just (ConnectInfo "example.com" 2345 "foo" "bar" "database")
- Author
- Oleg Grenrus
- Bug reports
- n/a
- Category
- Database
- Copyright
- Copyright © 2014-2018 Futurice OY, Oleg Grenrus
- Homepage
- https://github.com/futurice/postgresql-simple-url
- Maintainer
- Oleg Grenrus <oleg.grenrus@iki.fi>
- Package URL
- n/a
- Stability
- experimental