Re: Add an optional timeout clause to isolationtester step.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Add an optional timeout clause to isolationtester step.
Дата
Msg-id 20200309221558.7kd5fuks2alvtsex@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Add an optional timeout clause to isolationtester step.  (Julien Rouhaud <rjuju123@gmail.com>)
Ответы Re: Add an optional timeout clause to isolationtester step.  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Hi,

On 2020-03-07 22:17:09 +0100, Julien Rouhaud wrote:
> For reindex concurrently, a SELECT FOR UPDATE on a different connection can
> ensure that the reindex will be stuck at some point, so canceling the command
> after a long enough timeout reproduces the original faulty behavior.

That kind of thing can already be done using statement_timeout or
lock_timeout, no?

Greetings,

Andres Freund



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Should we remove a fallback promotion? take 2
Следующее
От: David Rowley
Дата:
Сообщение: Re: [PATCH] Erase the distinctClause if the result is unique by definition