Re: Perl + Determine active connections on Pg 8.0.x and Pg 8.2.x

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Perl + Determine active connections on Pg 8.0.x and Pg 8.2.x
Дата
Msg-id 28882.1179782087@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Perl + Determine active connections on Pg 8.0.x and Pg 8.2.x  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
Richard Huxton <dev@archonet.com> writes:
> CAJ CAJ wrote:
>> SELECT count(*) from pg_stat_activity;
>>
>> The above query always returns 0 rows for Pg 8.0.x and 1 row for Pg 8.2.x.

> The pg_stat_activity view is never completely up-to-date, there is
> always some time lag.

It *is* up-to-date as of 8.2, but in prior releases there can be as much
as half a second time lag.

            regards, tom lane

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

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: What is "Postgresql Hot"?
Следующее
От: Bill Moseley
Дата:
Сообщение: Schema sanity check