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 b2cb3ad
Show file tree
Hide file tree
Showing 2 changed files with 144 additions and 34 deletions.
Loading

0 comments on commit b2cb3ad

Please sign in to comment.