Re: [BUGS] BUG #5305: Postgres service stops when closing Windows session

From: Cristian Bittel <cbittel(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Chris Travers <chris(at)metatrontech(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [BUGS] BUG #5305: Postgres service stops when closing Windows session
Date: 2010-08-26 20:59:59
Message-ID: AANLkTikOPEGrF6dAZkYx1=vjmu2oUdyikg=ydXOnr0Sx@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

I still believe this "exit code 128" is related to pgAdmin opened during the
clossing session on Remote Desktop. I have a Windows user login wich is not
administrator just no privileged user, it cannot start/stop services, just
monitoring. With pgAdmin window opened inside my disconected session, as
Administrator if I "close" the another disconnected session, Postgres exit
with 128 code.

Did you reproduce this behavior?

Cristian.

2010/8/26 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>

> Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> > On Tue, Aug 24, 2010 at 9:58 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> >> Given the existence of the deadman switch mechanism (which I hadn't
> >> remembered when this thread started), I'm coming around to the idea that
> >> we could just treat exit(128) as nonfatal on Windows. If for some
> >> reason the child hadn't died instantly at startup, the deadman switch
> >> would distinguish that from the case described here.
>
> > So do you want to code this up?
>
> Who, me? I don't do Windows --- I'd have no way to test it.
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2010-08-26 21:01:14 Re: BUG #5595: Documentation is not installs from VPATH build.
Previous Message Alexsander 2010-08-26 20:52:41 BUG #5629: ALTER SEQUENCE foo START execute a RESTART

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-08-26 21:57:28 Re: bg worker: patch 1 of 6 - permanent process
Previous Message Tom Lane 2010-08-26 20:42:31 Re: About the types of fields in a data structure