Re: How to release locks - Mailing list pgsql-general

From Qingqing Zhou
Subject Re: How to release locks
Date
Msg-id dvqskv$1uh9$1@news.hub.org
Whole thread Raw
List pgsql-general
"Andrus" <eetasoft@online.ee> wrote
> After killing client from XP task manager command
>
> DELETE FROM mytable
>
> runs forever.
>
> This is probably because pgAdmin shows that there are some locks placed
(see
> included picture).
>

It is not because of the locks. There is only running transaction (and it
got every locks). Not sure why the backend stucks there, seems it doesn't
aware of the broken client. In normal situations, if you killed a client,
then the server will print something like "could not receive data from
client" then exit the backend.

If you can attach to the problematic postgres process, that would be more
helpful to identify the problem.

Regards,
Qingqing



pgsql-general by date:

Previous
From: david.hoksza@seznam.cz
Date:
Subject: Re: ambuild parameters
Next
From: Etienne Labuschagne
Date:
Subject: Re: Slow trigger on identical DB but different machine