Re: How to release locks

From: "Andrus" <eetasoft(at)online(dot)ee>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How to release locks
Date: 2006-03-23 18:28:36
Message-ID: dvupv7$rbd$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I find that my killed connection server process process disappear in Status
after a long time.

> If pgAdmin's cancel is just dropping the connection, the server might
> take some time to notice it, especially if it's in the process of running
> a query and doesn't have reason to talk to pgAdmin.

I think pgAdmin sends cancel command through postgres server main process.
So server
receives it immediately and sends it immediately to selected child process.

I don't have an idea what pgadmin cancel command exactly does.
After executing it processes remain visible in Status pane always.
I set log_statement = 'all' in postgres.conf file but cancel command does
not wrote any entry to log file.

There is also Terminate button in Status panel but it is always disabled. I
havent found way to enable it.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Brian Kitzberger 2006-03-23 19:03:03 Re: Hi,
Previous Message Scott Marlowe 2006-03-23 18:24:18 Re: Advantages of PostgreSQL over MySQL 5.0