windows doesn't notice backend death - Mailing list pgsql-hackers

From Andrew Dunstan
Subject windows doesn't notice backend death
Date
Msg-id 49FC9778.8020208@dunslane.net
Whole thread Raw
Responses Re: windows doesn't notice backend death  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
While trying to test Tom's theory about Windows not being able to 
reinitialise shared memory when a backend crashes, I was doing some 
testing on my Vista box. I killed a backend using the task manager, and 
the postmaster never noticed. pg_cancel_backend() reported correctly 
that the process didn't exist, but pg_stat_activity still had it listed 
as IDLE, and the server certainly didn't re-initialise as it would have 
on Unix. This seems a fairly serious bug.

cheers

andrew


pgsql-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: "could not reattach to shared memory" captured in buildfarm
Next
From: Dimitri Fontaine
Date:
Subject: Re: GEQO: ERX