Re: CLUSTER locking

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CLUSTER locking
Дата
Msg-id 15509.1084194419@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CLUSTER locking  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
>> No.  Committing the relfilenode swap would cut the knees off of any
>> active scan on the old file.

> Could it upgrade its lock to exclusive just before doing the swap?

That is a recipe for deadlock failures.
        regards, tom lane


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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: CLUSTER locking
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Bug in renaming view columns