Re: BufferSync() performance

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: BufferSync() performance
Дата
Msg-id alpine.GSO.2.01.0903051658000.28434@westnet.com
обсуждение исходный текст
Ответ на BufferSync() performance  (Guido Ostkamp <postgresql@ostkamp.fastmail.fm>)
Список pgsql-general
On Thu, 5 Mar 2009, Guido Ostkamp wrote:

> Would this work or is there a special reason why the original check was done
> with lock held?

http://en.wikipedia.org/wiki/Race_condition

Until you have a lock on a buffer header, you can't trust that you're even
seeing consistent information about it.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BufferSync() performance
Следующее
От: "Pierre Racine"
Дата:
Сообщение: Keeping only one postgres.exe instance running