Re: DROP STATISTICS results in "ERROR: tuple concurrently updated"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: DROP STATISTICS results in "ERROR: tuple concurrently updated"
Дата
Msg-id 8683.1563905696@sss.pgh.pa.us
обсуждение исходный текст
Ответ на DROP STATISTICS results in "ERROR: tuple concurrently updated"  (Manuel Rigger <rigger.manuel@gmail.com>)
Ответы Re: DROP STATISTICS results in "ERROR: tuple concurrently updated"  (Andres Freund <andres@anarazel.de>)
Список pgsql-bugs
Manuel Rigger <rigger.manuel@gmail.com> writes:
> When running multiple threads that operate on distinct databases, a
> "DROP STATISTICS" sometimes results in an error "ERROR: tuple
> concurrently updated". Would it be useful to make this error
> reproducible, or could this be expected, similar to the VACUUM
> deadlocks [1]?

I think it'd be worth running to ground, at least.  One could imagine that
the error is coming from one session trying to delete a statistics row
that some other session has updated-and-not-yet-committed; but then the
question is why there's not sufficient interlocking to avoid that.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #15922: Simple select with multiple exists filters returns duplicates from a primary key field
Следующее
От: David Raymond
Дата:
Сообщение: RE: BUG #15922: Simple select with multiple exists filters returnsduplicates from a primary key field