denodrivers / denodrivers/postgres
`ConnectionError` - Session terminated by database without notifying the library
Open
bug
help wanted
- Dominant language
- TypeScript
- Stars
- 655
- Forks
- 97
- PR merge metrics
- No merged PRs in 30d
Description
Using a cloud managed DB often terminates sessions without notifying the library. This causes `ConnectionError` because the library was not notified of the cancelled connection.
There is a `TODO` comment mentioned that this will be fixed.
> ... will be removed once we move to async handling of messages by the frontend ...
> https://github.com/denodrivers/postgres/blob/main/connection/connection.ts#L167-L171
Is there a workaround in the meantime?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.