Mention in bgworker docs that db connection needs shmem access

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Mention in bgworker docs that db connection needs shmem access
Дата
Msg-id CAB7nPqStia4HsnFRNAnavvMv=mm7X7kUj+W7oAeHQjfVC=r2vw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Mention in bgworker docs that db connection needs shmem access  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Hi all,

The bgworker documentation does not explicitely mention that a
bgworker using BGWORKER_BACKEND_DATABASE_CONNECTION needs to have
BGWORKER_SHMEM_ACCESS set as well.

Just to mention, a bgworker using only db connection flag and not
shmem flag will fail at atart-up with this error.
background worker "hello signal worker": must attach to shared memory
in order to request a database connection

Please find attached a patch that improves documentation a bit by
mentioning this restriction. This should normally be backpatched to
9.3 stable.

Thanks,
--
Michael

Вложения

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

Предыдущее
От: Maciek Sakrejda
Дата:
Сообщение: Re: Fwd: [Still Failing] pg-quilter/postgres#111 (master - 82b0102)
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Review: Patch to compute Max LSN of Data Pages