How to distinguish serialization errors from others using pqxx

Поиск
Список
Период
Сортировка
От Saimon
Тема How to distinguish serialization errors from others using pqxx
Дата
Msg-id 1427128324240-5843145.post@n5.nabble.com
обсуждение исходный текст
Ответы Re: How to distinguish serialization errors from others using pqxx  (Saimon <aimon.slim@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: xml
Следующее
От: Мартынов Александр
Дата:
Сообщение: SELinux context of PostgreSQL connection process