-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
We have observed "ClientError (Just "connection pointer is NULL\n")" on a few occasions, but are unfortunately not able to reproduce it. Since this error comes from PQerrorMessage in libpq (https://github.com/postgres/postgres/blob/b381d9637030c163c3b1f8a9d3de51dfc1b4ee58/src/interfaces/libpq/fe-connect.c#L7248), it suggests that the foreign pointer inside the Connection was null. Could that be due to a race condition related to connection pools? #6 (comment) mentions that PQerrorMessage is not thread safe. This is with GHC 9.2.7, hasql 1.6.3, and hasql-pool 0.8.0.7.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels