Re: pg crashing - Mailing list pgsql-general

From Tom Lane
Subject Re: pg crashing
Date
Msg-id 12409.1215014635@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg crashing  (Magnus Hagander <magnus@hagander.net>)
Responses Re: pg crashing
List pgsql-general
Magnus Hagander <magnus@hagander.net> writes:
> I'll see if I can repro a case like it to see if the syslogger prevents
> the shared mem from going away when I get back to a dev box. Should be
> enough to just stick a sleep preventing it from stopping, right?

The syslogger isn't restarted at all during a crash --- this isn't
a race-condition scenario.

If there is a race condition here, it must be associated with cleanup
for a process continuing to happen after win32_waitpid has already
reported it dead.  Hmm ... how much do we trust that bit of spaghetti
around pgwin32_deadchild_callback?  What condition is it really waiting
for?

            regards, tom lane

pgsql-general by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: pg crashing
Next
From: Gwyneth Morrison
Date:
Subject: Delete from Join