Re: Possible Bug: high CPU usage for stats collector in 8.2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Possible Bug: high CPU usage for stats collector in 8.2
Дата
Msg-id 16755.1172782853@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Possible Bug: high CPU usage for stats collector in 8.2  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> This might all be OK - I just noticed it as I was looking at the 
> problem, so I though I'd mention it.

I'm inclined to leave that code alone unless someone can point to a
platform where setting POLLERR in events actually causes a problem.
The pgstat code was modeled on libpq, which has been passing POLLERR
ever since its poll() support was written (for 7.4), so I think we
have lots of evidence that this way works everywhere, and none that
the other one does.
        regards, tom lane


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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: SOC & user quotas
Следующее
От: Magnus Hagander
Дата:
Сообщение: Removing some of the old VC++ stuff