Re: How to release locks

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to release locks
Дата
Msg-id 17923.1143049609@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How to release locks  ("Andrus" <eetasoft@online.ee>)
Список pgsql-general
"Andrus" <eetasoft@online.ee> writes:
>> What's it doing exactly?

> odbc driver was in progress of sending data using libpq when client was
> terminated.

Do you mean that the statement hadn't been fully transmitted yet?
If so, the backend would have just been waiting for the rest of the
statement to arrive.  Perhaps you're looking at some sort of network bug
that caused the backend not to be told that the connection was lost.

> Can it happen that  process running 2 mb bytea insert command will take
> extremely long time to interrupt ?
> Or will decode() function take long time to interrupt ?
> There is also before insert or update trigger, maybe this influences ?

You seem to have a lot of variables there --- maybe you should do some
experimenting to narrow down what the problem is.  I'd expect all of
those things to take some time, but not more than a few seconds...

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: db sever seems to be dropping connections
Следующее
От: SCassidy@overlandstorage.com
Дата:
Сообщение: Re: index for inet and >> (contains) function