Re: and waiting

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: and waiting
Дата
Msg-id 24863.1201882580@sss.pgh.pa.us
обсуждение исходный текст
Ответ на and waiting  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Ответы Re: and waiting  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Re: and waiting  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
"Gurjeet Singh" <singh.gurjeet@gmail.com> writes:
>     I saw a strange behaviour on one of the production boxes. The
> pg_stat_activity shows a process as <IDLE> and yet 'waiting' !!! On top of
> it (understandably, since its IDLE), there are no entries for this pid in
> pg_locks!

Hmm, I can reproduce something like this by aborting a wait for lock.
It seems the problem is that WaitOnLock() is ignoring its own good
advice, assuming that it can do cleanup work after waiting.
        regards, tom lane


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

Предыдущее
От: "A.M."
Дата:
Сообщение: Re: FW: bitemporal functionality for PostgreSQL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Limit changes query plan