Re: running as a service?

Поиск
Список
Период
Сортировка
От Claudio Natoli
Тема Re: running as a service?
Дата
Msg-id A02DEC4D1073D611BAE8525405FCCE2B55F45C@harris.memetrics.local
обсуждение исходный текст
Ответ на running as a service?  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers-win32


> As for which - the current code (submitted by Claudio) does an "extra
> fork/exec" on the postmaster, basically making the postmaster
> a wrapper for itself (correct me if I remember incorrectly here Claudio -
seems
> the archives.postgresql.org server is down ATM, and I can't find the
> patch locally).

Yes and no. That's how I have it on my box, but iirc the code I submitted
was just the service calls without the postmaster/main.c integration. Should
be a no brainer to hook it to a dozen line main.c stand-alone wrapper.


> If so, I think it would actualliy be slightly cleaner to
> have it in a separate binary (that still does all the signal
> translation we need, of course).

Agree.


> overall. But it *has* to go in the main distro.

Agree twice over.

Cheers,
Claudio

---
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>

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

Предыдущее
От: "Richard Luckhurst"
Дата:
Сообщение: Re: Runtime Problems
Следующее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: Runtime Problems