Skip to content

Commit

Permalink
pgconn: add LastError()
Browse files Browse the repository at this point in the history
LastError() returns the last error encountered by the underlying connection
or received from postgres. It is cleared when a new request is initiated.

Fixes #1803
  • Loading branch information
jameshartig committed Dec 4, 2023
1 parent 913e4c8 commit 9d1eab4
Show file tree
Hide file tree
Showing 2 changed files with 143 additions and 34 deletions.
Loading

0 comments on commit 9d1eab4

Please sign in to comment.