Re: CheckpointStartLock starvation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CheckpointStartLock starvation
Дата
Msg-id 26321.1175608099@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CheckpointStartLock starvation  (Heikki Linnakangas <heikki@enterprisedb.com>)
Ответы Re: CheckpointStartLock starvation  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список pgsql-hackers
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> Tom Lane wrote:
>> Nor will that work for prepared xacts --- you don't want to wait for the
>> eventual commit, only for PREPARE TRANSACTION to exit its critical
>> section.

> PREPARE TRANSACTION wouldn't set the flag in MyProc; there's no clog 
> changes to protect from at that point. It would be set in 
> RecordTransactionCommitPrepared when we're really committing. Just like 
> we use the CheckpointStartLock today.

Indeed --- you'd better take another look at where we use the
CheckpointStartLock today.
        regards, tom lane


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

Предыдущее
От: "Marko Kreen"
Дата:
Сообщение: Re: PL/Python warnings in CVS HEAD
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: CheckpointStartLock starvation