Re: Postgres service stops when I kill client backend on Windows - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Postgres service stops when I kill client backend on Windows
Date
Msg-id CAB7nPqQHvrTy9TqxG_QVfvQAYJgxGnZewe5pwPoK+pgDPzY78Q@mail.gmail.com
Whole thread Raw
In response to Re: Postgres service stops when I kill client backend on Windows  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
> On Sun, Oct 11, 2015 at 5:55 AM, Michael Paquier wrote:
>> On Sun, Oct 11, 2015 at 8:54 AM, Ali Akbar <the.apaan@gmail.com> wrote:
>> > C:\Windows\system32>taskkill /F /PID 2080
>> > SUCCESS: The process with PID 2080 has been terminated.
>>
>> taskkill /f *forcefully* terminates the process targeted [1]. Isn't
>> that equivalent to a kill -9? If you headshot a backend process on
>> Linux with kill -9, an instance won't restart either.
>> [1]:
>> http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/taskkill.mspx?mfr=true
> It does. If you want a "gracefull kill" on Windows, you must use "pg_ctl
> kill" which can send an "emulated term-signal".

Ah, yes. Sure. I had restart_after_crash = off on this instance...
-- 
Michael



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Release of CVEs
Next
From: Noah Misch
Date:
Subject: Re: Parallel Seq Scan