Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to distinguish serialization error from others? #881

Open
olezhek28 opened this issue Aug 3, 2023 · 0 comments
Open

How to distinguish serialization error from others? #881

olezhek28 opened this issue Aug 3, 2023 · 0 comments

Comments

@olezhek28
Copy link

Hello!

I have a question about a serialization error. When I use a serializable isolation level, the database may return a serialization error. For example, the PostgreSQL documentation advises that in this case the query should be repeated. But I don't know how to understand that this error is a serialization error or not. For example, pgx has a special type of error in golang code. How to solve this problem for your library? Thank you.

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

No branches or pull requests

1 participant