Hi,
Sorry if I'm being really dumb, but how do I detect a deadlock when
using PostgreSQL form PHP. In fact, I would want to detect anything
similar, i.e. caused by fluke and not a real error, and which should
therefore result in the transaction being submitted from scratch.
Thanks
James