RE: Concurrent-update problem in bufmgr.c

Поиск
Список
Период
Сортировка
От Mikheev, Vadim
Тема RE: Concurrent-update problem in bufmgr.c
Дата
Msg-id 8F4C99C66D04D4118F580090272A7A23018CF8@SECTORBASE1
обсуждение исходный текст
Ответ на Concurrent-update problem in bufmgr.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> I believe the correct fix for this problem is for bufmgr.c to grab
> a read lock (BUFFER_LOCK_SHARED) on any page that it is writing out.
> A read lock is sufficient since there's no need to prevent other
> backends from reading the page, we just need to prevent them from
> changing it during the I/O.
> 
> Comments anyone?

Do it.

Vadim


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

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: RFC - change of behaviour of pg_get_userbyid & pg_get_viewdef?
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: psql's \d functions broken for views in current sources