Re: How to release locks

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема Re: How to release locks
Дата
Msg-id dvqskv$1uh9$1@news.hub.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: david.hoksza@seznam.cz
Дата:
Сообщение: Re: ambuild parameters
Следующее
От: Etienne Labuschagne
Дата:
Сообщение: Re: Slow trigger on identical DB but different machine