Re: Why postgres take RowExclusiveLock on all partition

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why postgres take RowExclusiveLock on all partition
Дата
Msg-id 18090.1474035072@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Why postgres take RowExclusiveLock on all partition  (Sachin Kotwal <kotsachin@gmail.com>)
Ответы Re: Why postgres take RowExclusiveLock on all partition  (Sachin Kotwal <kotsachin@gmail.com>)
Список pgsql-hackers
Sachin Kotwal <kotsachin@gmail.com> writes:
> Does it release locks after taking decision and then perform actual update
> operation on partition table?

No, there's no attempt to do that, and we're unlikely to consider doing so
because it would result in more lock-table thrashing.  Why do you care?
RowExclusiveLock does not block any normal DML operation, so there's no
apparent benefit from releasing it early.
        regards, tom lane



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

Предыдущее
От: Christoph Berg
Дата:
Сообщение: Re: OpenSSL 1.1 breaks configure and more
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [PROPOSAL][PROTOTYPE] Individual options for each index column: Opclass options