Might have solved my own problem. At least this initial problem I was
having anyway. I can make simple transactions work now.
The problem, I think is this:
The problem was that an earlier command I was testing in the shell had
crashed. This left the connection to the database in the middle of a
transaction. If I send a erlydb_psql:q2("commit;"). or
erlydb_psql:q2("rollback;"). then it seems to put things back on
track. This would have probably also been solved by restarting the
shell and db connection.
It looks like the erlydb_psql driver is not handling errors, and
rolling back the transaction when things break in the middle.
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---