Try Persistent package. It doesn't depends on libpq and has many useful features (see http://www.yesodweb.com/book/persistent for details)

On 01/09/2013 05:50 PM, Christopher Done wrote:
Tricky. For what it's worth, if you can't figure this out in the end,
you could perhaps use my pgsql-simple which is implemented in pure
haskell: https://github.com/chrisdone/pgsql-simple It's been in use on
hpaste.org for about 2 years.

On 9 January 2013 14:44, Johannes.Reiher <Johannes.Reiher@fh-zwickau.de> wrote:
Hello Community,

I have a problem installing the HaskellDB-HDBC-PostgreSQL package with cabal.
I'm using Haskell Platform in Windows and I tried to install this package, but there was the error "could not find pq library". So I tried to install libpq wich includes pq but there was another error: "this package needs a unix installation".
Is there any way to install pq on Windows or get the HaskellDB-HDBC-PostgreSQL in another way?

Thanks for your advice

Johannes Reiher

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


-- 
Best regards,
Alexander Alexeev
http://eax.me/