delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/15/12:07:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Authentication-Warning: shell-1.enteract.com: fcy set sender to fred AT ontosys DOT com using -f
Date: Tue, 15 May 2001 11:04:55 -0500
From: Fred Yankowski <fred AT ontosys DOT com>
To: cygwin AT cygwin DOT com, Pgsql-Cygwin <pgsql-cygwin AT postgresql DOT org>
Subject: Re: SIGTERM does not stop backend postgres processes immediately
Message-ID: <20010515110455.A32144@enteract.com>
References: <20010515112054 DOT G31266 AT cygbert DOT vinschen DOT de> <20010515101036 DOT D321 AT dothill DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010515101036.D321@dothill.com>; from Jason.Tishler@dothill.com on Tue, May 15, 2001 at 10:10:36AM -0400

On Tue, May 15, 2001 at 10:10:36AM -0400, Jason Tishler wrote:
> I just tried my Cygwin PostgreSQL 7.1.1 distribution against the latest
> Cygwin CVS and the above mentioned patch solves the postmaster shutdown
> problem.  Now Cygwin PostgreSQL behaves identical to UNIX PostgreSQL
> with regard to shutdown:

Wow, this is great!  It's a pleasure to see capable Cygwin developers
-- Corinna and Jason in particular, along with the others who posted
suggested ways to fix the problem -- dig in and solve problems.

> Your patch fixed case 2 above and I believe this is the last piece needed
> by Fred Yankowski to complete his PostgreSQL NT service patch.

I will resume work on that immediately.

The other problem I've been facing is how to handle the SIGHUP that
Cgywin generates in response to system shutdown.  Some quick tests
show that simply ignoring (SIG_IGN) the signal works, but that defeats
the use of SIGHUP to force the instance to re-read the configuration
file.  It may be, however, that fixing the recv() problem also fixes
the problem where getting a SIGHUP in the midst of stopping PostgreSQL
seemed to mess up the PostgreSQL state.  I'll check...

-- 
Fred Yankowski           fred AT OntoSys DOT com      tel: +1.630.879.1312
Principal Consultant     www.OntoSys.com       fax: +1.630.879.1370
OntoSys, Inc             38W242 Deerpath Rd, Batavia, IL 60510, USA

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019