Re: pg crashing - Mailing list pgsql-general

From Tom Lane
Subject Re: pg crashing
Date
Msg-id 3965.1214979983@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:
> Tom Lane wrote:
>> Another problem is that postmaster children that do
>> PGSharedMemoryDetach will still have valid inherited handles for
>> the shmem segment --- does that factor into the behavior?  It looks
>> to me like the CloseHandle ought to be in PGSharedMemoryDetach.

> Not as long as the processes die. If they die, their handles go with
> them, and once the reference count goes to zero, the object goes away.

But the syslogger process (and maybe others) is *not* supposed to die.

            regards, tom lane

pgsql-general by date:

Previous
From: Bjørn T Johansen
Date:
Subject: Target lists can have at most 1664 entries?
Next
From: Magnus Hagander
Date:
Subject: Re: pg crashing