Re: How to handle failed COMMIT

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: How to handle failed COMMIT
Дата
Msg-id CAKFQuwaAMjW940Zwjq1U+nBL6H_H_49i+18o5NujWKQ7yPgjBQ@mail.gmail.com
обсуждение исходный текст
Ответ на How to handle failed COMMIT  (Håvar Nøvik <havar@novik.email>)
Ответы Re: How to handle failed COMMIT  (Håvar Nøvik <havar@novik.email>)
Список pgsql-general
On Monday, July 18, 2022, Håvar Nøvik <havar@novik.email> wrote:

try
   execute transactional sql
catch (commit failed)
   if (data is not stored)
     // regard data as not stored

Correct, the client did not get confirmation of commit success so it must operate as if it failed.

David J. 

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: About limitation of using postgresql in china
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: pgsql 10.19 : "ERROR: cannot convert infinity to numeric" except there is no infinity