Re: making bgworkers without shmem access actually not have shmem access

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: making bgworkers without shmem access actually not have shmem access
Дата
Msg-id 1430.1399488283@sss.pgh.pa.us
обсуждение исходный текст
Ответ на making bgworkers without shmem access actually not have shmem access  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: making bgworkers without shmem access actually not have shmem access
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I've complained about this problem a few times before: there's nothing
> to prevent a background worker which doesn't request shared memory
> access from calling InitProcess() and then accessing shared memory
> anyway.  The attached patch is a first crack at fixing it.

> Comments?

Looks reasonable to me.
        regards, tom lane



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: proposal: Set effective_cache_size to greater of .conf value, shared_buffers
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: proposal: Set effective_cache_size to greater of .conf value, shared_buffers