Re: Access to transaction status

Поиск
Список
Период
Сортировка
От Jeroen T. Vermeulen
Тема Re: Access to transaction status
Дата
Msg-id 20030620080418.GB20167@xs4all.nl
обсуждение исходный текст
Ответ на Re: Access to transaction status  ("Christian Plattner" <postgresql@sioux.ch>)
Список pgsql-hackers
On Fri, Jun 20, 2003 at 09:35:08AM +0200, Christian Plattner wrote:
> 
> I see a race condition in this approach: if you reconnect too fast, and the
> backend which actually should commit is still in progress (assume it takes a
> while to commit for whatever reasons) you get the impression that it did not
> commit - and a short time later the backend will commit... (before noticing
> that the client connection was lost).
Good point.  So far I assumed that a broken connection would take a while
to repair.  OTOH by the time TCP gives up due to a bad network connection,
wouldn't the server reach the same conclusion?


Jeroen



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

Предыдущее
От: "Christian Plattner"
Дата:
Сообщение: Re: Access to transaction status
Следующее
От: "Christian Plattner"
Дата:
Сообщение: Re: Access to transaction status