hanging processes - Mailing list pgsql-hackers-win32

From Merlin Moncure
Subject hanging processes
Date
Msg-id 6EE64EF3AB31D5448D0007DD34EEB3417DCF4D@Herge.rcsinc.local
Whole thread Raw
Responses Re: hanging processes  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers-win32
I think this is windows specific but it might now be.

With a win32 server & XP clients, if the client is killed with a hard
reset i.e. pull out power cord, the server does not recognize that the
connection has been broken in pg_stat_activity and does not clean up
various things such as user_locks and presumably entries in pg_listener.
A manual kill via pg_ctl is required from that point.

With any 'soft' method of killing the client up to and including killing
the client application process from the client task manager and
everything is normal in that the database logs a unexpected connection
closure and everything is cleaned up.

Is this normal?

Merlin

pgsql-hackers-win32 by date:

Previous
From: Audrey Bergeron-Morin
Date:
Subject: Re: Can't connect after restart
Next
From: Tom Lane
Date:
Subject: Re: hanging processes