Parse postgres:// url into ConnectInfo

Latest on Hackage:

See all snapshots postgresql-simple-url appears in

MIT licensed by Oleg Grenrus
Maintained by Oleg Grenrus

Module documentation for

This version can be pinned in stack with:postgresql-simple-url-,1959


Build Status

Url parser for posgresql-simple. Useful in heroku.


  • Accept postgresql schema (not only postgres)

  • Allow empty host, i.e. don’t use default provided by postgresql-simple. Empty host is required to use unix domain sockets.