Ok, I am evaluating HDBC. I wrote a simple test program:
...
Can I get a more specific error? Is there a way to inspect this exception
more deeply?


handleSqlError does the trick, for other newbies:

main =
 handleSqlError $
 do
   dbc <- connectPostgreSQL "dbname=test user=postgres password=,psql51e"
   putStrLn "done"

Everything works ok now, I cann access my psql database and run basic sql
queries/updates.

-g.

--
http://www.me.gr
http://phidz.com
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to