ReadyForQuery may change in 7.5, per discussion on -hackers:
http://archives.postgresql.org/pgsql-hackers/2004-07/msg00184.php
The attached patch makes the driver generate errors on unknown
transaction states in a ReadyForQuery message, rather than silently
ignoring them (and probably getting confused).
-O