| From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
|---|---|
| To: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
| Cc: | PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Mention in bgworker docs that db connection needs shmem access |
| Date: | 2013-07-04 15:13:42 |
| Message-ID: | CA+TgmoaT3pFK0OzV8=YGq-zE59QCPP6S5m80s6nvCDF5vYzoMA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, Jul 4, 2013 at 2:01 AM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
> 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.
Done. Thanks.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2013-07-04 15:21:05 | Re: Improvement of checkpoint IO scheduler for stable transaction responses |
| Previous Message | Jaime Casanova | 2013-07-04 14:55:50 | Re: in-catalog Extension Scripts and Control parameters (templates?) |