bmizerany/pq — pull request #42 by traviscline (2012-09-20 04:48:00+00:00)
Title: Expose pg errors on Open()

Here is a more concise version of my other pull request.

After reading the discussion here at https://codereview.appspot.com/5785043/ I realize this is a slightly more general issue.
That said, these changes provide a straightforward method of exposing at least Open() errors.

In the case of other errors, maybe conn struct can have a "last error" field?