Re: Inconsistencies of service failure handling on Windows - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Inconsistencies of service failure handling on Windows
Date
Msg-id 28532.1406125343@sss.pgh.pa.us
Whole thread Raw
In response to Inconsistencies of service failure handling on Windows  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Inconsistencies of service failure handling on Windows
List pgsql-hackers
Michael Paquier <michael.paquier@gmail.com> writes:
> While playing on Windows with services, I noticed an inconsistent behavior
> in the way failures are handled when using a service for a Postgres
> instance.
> ...
> However when a backend process is directly killed something different
> happens.

Was that a backend that you directly killed?  Or the postmaster?  The
subsequent connection failures suggest it was the postmaster.  Killing
the postmaster is not a supported operation, not on Windows and not
anywhere else either.  It's in the category of "doctor, it hurts when
I do this".
        regards, tom lane



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Production block comparison facility
Next
From: Michael Paquier
Date:
Subject: Re: Inconsistencies of service failure handling on Windows