Re: Moving more work outside WALInsertLock

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Moving more work outside WALInsertLock
Дата
Msg-id 6113.1323963295@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Moving more work outside WALInsertLock  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Moving more work outside WALInsertLock  (Jeff Janes <jeff.janes@gmail.com>)
Re: Moving more work outside WALInsertLock  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> I've been experimenting with different approaches to do that, but one 
> thing is common among all of them: you need to know the total amount of 
> WAL space needed for the record, including backup blocks, before you 
> take the lock. So, here's a patch to move things around in XLogInsert() 
> a bit, to accomplish that.

This patch may or may not be useful, but this description of it is utter
nonsense, because we already do compute that before taking the lock.
Please try again to explain what you're doing?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: splitting plpython into smaller parts
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Command Triggers