Skip site navigation (1) Skip section navigation (2)

Re: Cygwin PostgreSQL postmaster abort problem

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: Re: Cygwin PostgreSQL postmaster abort problem
Date: 2000-12-28 14:00:02
Message-ID: 20001228090002.B461@dothill.com (view raw or flat)
Thread:
Lists: pgsql-ports
On Thu, Dec 21, 2000 at 02:27:22PM -0500, Jason Tishler wrote:
> Would someone more intimate with this area of the PostgreSQL source
> critically evaluate this patch and let the list know if there is a better
> way of fixing this problem?

I was able to answer the above by reading the CVS log entry for
postmaster.c, version 1.199:

    Ensure that 'errno' is saved and restored by all signal handlers that
    might change it.  Experimentation shows that the signal handler call
    mechanism does not save/restore errno for you, at least not on Linux
    or HPUX, so this is definitely a real risk.

Sorry for the noise.

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

In response to

pgsql-ports by date

Next:From: Scott EvansDate: 2000-12-29 00:05:11
Subject: runaway processes on Win2000
Previous:From: Rick VlahovDate: 2000-12-27 23:58:41
Subject: PostgreSQL on AIX

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group