TheDatabase.PostgreSQL.Simple.URL module in this package exportstwo helper functionsparseDatabaseUrl andurlToConnectInfo toconstructConnectInfo from URI (or string).
>>> parseDatabaseUrl "postgres:/foo:bar@example.com:2345database"Just (ConnectInfo "example.com" 2345 "foo" "bar" "database")
Note: This package hasmetadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
For package maintainers and hackage trustees
Candidates
| Versions[RSS] | 0.1.0.0,0.1.0.1,0.2.0.0,0.2.1.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.6 && <4.20),network-uri (>=2.6 && <2.7),postgresql-simple (>=0.4 && <0.8),split (>=0.2 && <0.3) [details] |
| Tested with | ghc ==7.6.3 || ==7.8.4 || ==7.10.3 || ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.3 || ==9.8.1 |
| License | MIT |
| Copyright | Copyright © 2014-2018 Futurice OY, Oleg Grenrus |
| Author | Oleg Grenrus |
| Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
| Revised | Revision 9 made byphadej at2023-11-20T11:42:54Z |
| Category | Database |
| Home page | https://github.com/futurice/postgresql-simple-url |
| Source repo | head: git clonehttps://github.com/futurice/postgresql-simple-url |
| Uploaded | byphadej at2018-03-20T20:04:46Z |
| Distributions | |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Downloads | 5402 total (5 in the last 30 days) |
| Rating | (no votes yet)[estimated byBayesian average] |
| Your Rating |
|
| Status | Docs available[build log] Last success reported on 2018-03-20[all 1 reports] |