
26 Jul
2007
26 Jul
'07
3:09 a.m.
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