Search Postgresql Archives

Re: How to release locks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Andrus" <eetasoft@xxxxxxxxx> 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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux