Re: BUG #17686: SELECT pg_advisory_lock(...) with low lock_timeout sometimes times out but the lock is acquired

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17686: SELECT pg_advisory_lock(...) with low lock_timeout sometimes times out but the lock is acquired
Дата
Msg-id 146790.1668279112@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #17686: SELECT pg_advisory_lock(...) with low lock_timeout sometimes times out but the lock is acquired  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
Mike Adelson <mike.adelson314@gmail.com> writes:
> Glad to have the race condition confirmed. In my view the “real” fix
> here would be to offer an advisory locking function that accepts a
> timeout.

How would that remove the low-level race condition?

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17686: SELECT pg_advisory_lock(...) with low lock_timeout sometimes times out but the lock is acquired
Следующее
От: Peter Gigowski
Дата:
Сообщение: pg_prepared_statements missing column