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 <t...@sss.pgh.pa.us> > Robert Haas <robertmh...@gmail.com> writes: > > On Tue, Aug 24, 2010 at 9:58 AM, Tom Lane <t...@sss.pgh.pa.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 >