lib/pq — pull request #182 by johto (2013-11-02 00:33:21+00:00)
Title: Return an error if Commit() is attempted on a failed transaction

This PR implements the improvement I talked about in #67.

Any comments welcome.