select count(*) from pg_stat_activity in V8.0.0

Поиск
Список
Период
Сортировка
От Anony Mous
Тема select count(*) from pg_stat_activity in V8.0.0
Дата
Msg-id 005501c485ba$3d5f6610$6902a8c0@PETER
обсуждение исходный текст
Ответы Re: select count(*) from pg_stat_activity in V8.0.0  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
Coming off of 7.4.3 I've always used

select count(*) from pg_stat_activity

through the ODBC driver to obtain the number of connections to the db.  I've
found that with v8.0 Beta 1 that this at times has returned a value of 0
(when there is obviously still a connection).  It's not repeatable, and
occurs sporadically.  Does anyone have any reason as to why this would be
isolated to V8?  Is this an acceptable means of obtaining the number of
connection to the database in V8 (via ODBC).

Thanks so much,
Peter


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

Предыдущее
От: "yateen joshi"
Дата:
Сообщение: Vacuum, per table or entire database? what is better?
Следующее
От: Shridhar Daithankar
Дата:
Сообщение: Re: Postgresql feature