Re: [ANNOUNCEMENT] Updated: cygrunsrv-0.94-1 - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: [ANNOUNCEMENT] Updated: cygrunsrv-0.94-1
Date
Msg-id 20010716100417.D561@dothill.com
Whole thread Raw
In response to Re: [ANNOUNCEMENT] Updated: cygrunsrv-0.94-1  (Fred Yankowski <fred@ontosys.com>)
Responses Re: [ANNOUNCEMENT] Updated: cygrunsrv-0.94-1  (Corinna Vinschen <cygwin@cygwin.com>)
Re: [ANNOUNCEMENT] Updated: cygrunsrv-0.94-1  (Fred Yankowski <fred@ontosys.com>)
List pgsql-cygwin
Fred,

On Thu, Jul 12, 2001 at 11:42:08AM -0500, Fred Yankowski wrote:
> On Thu, Jul 12, 2001 at 11:45:39AM -0400, Jason Tishler wrote:
> > Please post your patch -- I've been waiting with bated breath since you
> > first mentioned it.  :,)  I will be quite willing to champion it (or a
> > better solution, if one can be devised) for inclusion into PostgreSQL CVS.
>
> OK, here's the patch.  It's crude, simply causing the SIGHUP handlers
> (one for postmaster and one for postgres) to return immediately
> without triggering the normal config-file-reloading response.

What about trying to tackle this from another point of view?  I'm not
sure if this is doable or acceptable, but what about adding logic to the
Cygwin DLL so that it does not send SIGHUP (to itself) when the process is
running under cygrunsrv?  If this is deemed accepted, does anyone have any
ideas on what is the best way to determine when running under cygrunsrv?

Thanks,
Jason

--
Jason Tishler
Director, Software Engineering       Phone: 732.264.8770 x235
Dot Hill Systems Corp.               Fax:   732.264.8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

pgsql-cygwin by date:

Previous
From: "Dmitry Yurtaev"
Date:
Subject: Re: PostgreSQL on Cygwin - handle leak
Next
From: Corinna Vinschen
Date:
Subject: Re: [ANNOUNCEMENT] Updated: cygrunsrv-0.94-1