windows doesn't notice backend death

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: windows doesn't notice backend death
Date: 2009-05-02 18:56:56
Message-ID: 49FC9778.8020208@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2009-05-02 19:02:59 Re: Gist consistent and compression
Previous Message Dimitri Fontaine 2009-05-02 18:50:53 Re: GEQO: ERX