Re: Add an optional timeout clause to isolationtester step.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Add an optional timeout clause to isolationtester step.
Дата
Msg-id 30450.1584118705@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Add an optional timeout clause to isolationtester step.  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-hackers
Julien Rouhaud <rjuju123@gmail.com> writes:
> It seems that for all the possibly interesting cases, what we want to wait on
> is an heavyweight lock, which is already what isolationtester detects.  Maybe
> we could simply implement something like

> step "<name>" [ WAIT UNTIL BLOCKED ] { <SQL> }

> without any change to the blocking detection function?

Um, isn't that the existing built-in behavior?

I could actually imagine some uses for the reverse option, *don't* wait
for it to become blocked but just immediately continue with issuing
the next step.

            regards, tom lane



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

Предыдущее
От: Dean Rasheed
Дата:
Сообщение: Re: Additional improvements to extended statistics
Следующее
От: Tom Lane
Дата:
Сообщение: Re: range_agg