Re: Undetected Deadlock

Поиск
Список
Период
Сортировка
От Michael Harris
Тема Re: Undetected Deadlock
Дата
Msg-id CADofcAXnXRx0b-Swy2vzAAT-rD-_7MsU0Cxw+vVoHYx8oAuoQg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Undetected Deadlock  (Michael Lewis <mlewis@entrata.com>)
Список pgsql-general
> but I would expect drop concurrently to resolve your issue with the two processes conflicting

I guess you mean ALTER TABLE DETACH PARTITION ... CONCURRENTLY?
DROP TABLE does not seem to have a concurrent option.
Still that does seem like a good option to try, thanks for drawing it
to my attention.

Cheers
Mike

On Thu, 27 Jan 2022 at 14:20, Michael Lewis <mlewis@entrata.com> wrote:
>
> There may be a bug so perhaps still pursue reproducing the issue, but I would expect drop concurrently to resolve
yourissue with the two processes conflicting. Also, perhaps trying"insert, on conflict do update" could be more
efficientthan the copy but obviously there are too many unknowns and variables for either to be a definite winner. 



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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Counting the number of repeated phrases in a column
Следующее
От: Umair Shahid
Дата:
Сообщение: Re: PostgreSQL Management and monitoring tool