Why postgres take RowExclusiveLock on all partition

Поиск
Список
Период
Сортировка
От Sachin Kotwal
Тема Why postgres take RowExclusiveLock on all partition
Дата
Msg-id CA+N_YAfwPK_Xsf6+31WYxAi8M-uHMWe2wvK-8RsLddAWs2Gpuw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Why postgres take RowExclusiveLock on all partition  (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>)
Список pgsql-hackers
Hi Hackers,


I checked if there  is update transaction on master table involved in partition.
Postgresql takes  RowExclusiveLock on all partition tables.

constraint exclusion is set to on.

My question is  why it locks on all partition tables instead only one partition tables where data is resides?


Feel free to ask if any further information is required .


--

Thanks and Regards,
Sachin Kotwal

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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: Block level parallel vacuum WIP
Следующее
От: Amit Kapila
Дата:
Сообщение: README of hash index