Re: running as a service?

From: Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>
To: 'Magnus Hagander' <mha(at)sollentuna(dot)net>, "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-hackers-win32 <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: running as a service?
Date: 2004-05-17 01:09:46
Message-ID: A02DEC4D1073D611BAE8525405FCCE2B55F45C@harris.memetrics.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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>

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Andrew Dunstan 2004-05-17 02:31:50 Re: Runtime Problems
Previous Message Richard Luckhurst 2004-05-17 00:21:05 Re: Runtime Problems