Closed gdiazlo closed 7 months ago
The commit just referred should fix the case you are seeing, though I suspect there are also exceptions from read/write calls which are not intercepted by the current pgx implementation.
The latest commits should also cover exceptions from read and write operations if they fail with Core_unix.Unix_error
(wrapped in a monitor exception). There'll be a release soon.
Hello
Writing something like:
behaves differently in pgx and postgresql driver. Particularly, when used with pgx, if the database in uri is not reachable, it will fail with an exception, instead of a result with a
Caqti_error
while using the postgresql driver it won't report an error, and the program hangs on pool usage. (this might be related to the async using the pool on other thread? )
I'm using this with
caqti-async
.Any hits appreciated!