Re: Review: Extra Daemons / bgworker
| От | Alvaro Herrera |
|---|---|
| Тема | Re: Review: Extra Daemons / bgworker |
| Дата | |
| Msg-id | 20121130134443.GD4542@alvh.no-ip.org обсуждение |
| Ответ на | Re: Review: Extra Daemons / bgworker (Markus Wanner <markus@bluegap.ch>) |
| Ответы |
Re: Review: Extra Daemons / bgworker
|
| Список | pgsql-hackers |
Markus Wanner wrote: > On 11/30/2012 01:40 PM, Dimitri Fontaine wrote: > > I totally missed the need to connect to shared memory to be able to > > connect to a database and query it. Can't we just link the bgworkder > > code to the client libpq library, just as plproxy is doing I believe? > > Well, sure you can use libpq. But so can external processes. So that's > no benefit of running under the postmaster. No, it's not a benefit of that; but such a process would get started up when postmaster is started, and shut down when postmaster stops. So it makes easier to have processes that need to run alongside postmaster. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: