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?
pgsql-hackers-win32 by date
|Next:||From: Tom Lane||Date: 2005-07-29 04:20:06|
|Subject: Re: hanging processes |
|Previous:||From: Audrey Bergeron-Morin||Date: 2005-07-28 20:25:32|
|Subject: Re: Can't connect after restart|