Re: How to handle failed COMMIT

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: How to handle failed COMMIT
Дата
Msg-id CAKFQuwbBjVsEcedoPzLyb9WvAKgJBYwg6-8XQ218aJqExuNWfg@mail.gmail.com
обсуждение исходный текст
Ответ на How to handle failed COMMIT  (Håvar Nøvik <havar@novik.email>)
Список pgsql-general
On Tuesday, July 19, 2022, Håvar Nøvik <havar@novik.email> wrote:
> Correct, the client did not get confirmation of commit success so it must operate as if it failed.

I mean that’s the point, the client can’t operate as if it failed. It must operate as the state is unknown. But maybe that’s the correct application behaviour, just that I haven’t thought this through previously.

Right, since you sent commit there is now a non-zero chance the data is committed but the client is unaware of that fact.

David J.

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

Предыдущее
От: Håvar Nøvik
Дата:
Сообщение: Re: How to handle failed COMMIT
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Out Of Memory