Fwd: [Haskell-cafe] HDBC or HSQL
George Moschovitis
george.moschovitis at gmail.com
Thu Jul 26 02:18:48 EDT 2007
Ok, I am evaluating HDBC. I wrote a simple test program:
import Database.HDBC
import Database.HDBC.PostgreSQL
main = do
db <- connectPostgreSQL "dbname=Test user=postgres password='mypass'"
putStrLn "done"
when I run it I get the following error:
db: exception :: Database.HDBC.SqlError
Can I get a more specific error? Is there a way to inspect this exception
more deeply?
thanks,
-g.
--
http://www.me.gr
http://phidz.com
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070726/2da31993/attachment.htm
More information about the Haskell-Cafe
mailing list