Re: [HACKERS] Inconsistencies of service failure handling on Windows

2014-07-23 Thread Tom Lane
Michael Paquier michael.paqu...@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

Re: [HACKERS] Inconsistencies of service failure handling on Windows

2014-07-23 Thread Michael Paquier
On Wed, Jul 23, 2014 at 11:22 PM, Tom Lane t...@sss.pgh.pa.us wrote: 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

[HACKERS] Inconsistencies of service failure handling on Windows

2014-07-22 Thread Michael Paquier
Hi all, 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. Let's assume that there is a service called postgres that has been registered: $ psql -At -c 'select version()' PostgreSQL 9.5devel,