How to distinguish serialization errors from others using pqxx - Mailing list pgsql-general

From Saimon
Subject How to distinguish serialization errors from others using pqxx
Date
Msg-id 1427128324240-5843145.post@n5.nabble.com
Whole thread Raw
Responses Re: How to distinguish serialization errors from others using pqxx  (Saimon <aimon.slim@gmail.com>)
List pgsql-general
Hi

Is there any way to distinguish serialization errors from others using pqxx?

As far as I understand there is no way to get sql error code within pqxx
lib.
Ability to detect serialization errors is important to implement retrying
logic for this cases.



--
View this message in context:
http://postgresql.nabble.com/How-to-distinguish-serialization-errors-from-others-using-pqxx-tp5843145.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: xml
Next
From: Мартынов Александр
Date:
Subject: SELinux context of PostgreSQL connection process