Re: why can the isolation tester handle only one waiting process?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: why can the isolation tester handle only one waiting process?
Дата
Msg-id 23781.1439615801@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: why can the isolation tester handle only one waiting process?  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> After some study, I think the best thing to do here is change the way
> we handle the case where we reach a step that the use of a connection
> that is currently blocked on a lock.  Right now, we handle that by
> declaring the permutation invalid; I'd like to change that so that
> consider that a cue to wait for that connnection to unblock itself.

Maybe a timeout there would be a good idea?  I see that the code
currently will wait forever in some cases, which seems bad enough,
but it seems like you want to increase the risk of that considerably.
        regards, tom lane



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

Предыдущее
От: "Dickson S. Guedes"
Дата:
Сообщение: Re: [RFC] allow 'semester' in functions EXTRACT, DATE_PART, TO_CHAR and so on.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: why can the isolation tester handle only one waiting process?