Re: Patch: Add launchd Support
От | Marti Raudsepp |
---|---|
Тема | Re: Patch: Add launchd Support |
Дата | |
Msg-id | CABRT9RCrN-ft5a8cugUhtWf3dV0T0Bi851nOAtCg4HvAc2fprw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Patch: Add launchd Support (Wim Lewis <wiml@omnigroup.com>) |
Список | pgsql-hackers |
On Tue, Oct 21, 2014 at 3:53 AM, Wim Lewis <wiml@omnigroup.com> wrote: > I think the idea of OnDemand is for launchd items to act a bit like inetd > does: launchd creates the listening socket (or mach port or file-change > notification) on the port specified in the plist, and only starts the > process when someone tries to connect to it. This might not be a terrible > thing to support, but it would require more changes throughout postgres > (postmaster would have to check in with launchd at start time to get the > listen socket; ports and socket paths would no longer be specifiable in > postgres’ config, etc) and I’m skeptical that it’d be worth the work > without a more concrete motivation. systemd socket activation on Linux works pretty much the same way. If this will ever be implemented, it's most reasonable to tackle both launchd and systemd together. Regards, Marti
В списке pgsql-hackers по дате отправления: