Skip to content

Conversation

@alex-kulakov
Copy link
Contributor

Usually, command timeouts are handled within Npgsql library, so rarely we get such exceptions from server-side.
But there is an option statement_timeout which defines statement timeout on PostgreSQL side. Such native exception was treated as Unknown StorageException, but it should be TimeoutException

The PR adds recognition of such server-side exception.

@alex-kulakov alex-kulakov merged commit 657c1b1 into master Nov 11, 2025
31 checks passed
@alex-kulakov alex-kulakov deleted the master-pgsql-ex-handle branch November 11, 2025 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants