Re: number of connections to postmaster

Поиск
Список
Период
Сортировка
От Pam Wampler
Тема Re: number of connections to postmaster
Дата
Msg-id 2E4528861499D41199D200A0C9B15BC0012F475D@taylorwhite.com
обсуждение исходный текст
Ответ на number of connections to postmaster  ("Percy" <percy_yip@yahoo.com>)
Ответы Re: number of connections to postmaster
Re: number of connections to postmaster
Список pgsql-general
Tom
When I try that, I get

template1=# select count(*) from pg_stat_activity;
ERROR:  Relation 'pg_stat_activity' does not exist


thanks
Pam Wampler

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Thursday, February 21, 2002 7:35 PM
To: Percy
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] number of connections to postmaster


"Percy" <percy_yip@yahoo.com> writes:
> Is there any way to find out the number of connections to postmaster?

In 7.2, "select count(*) from pg_stat_activity" should do it.  See
http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/monitoring.html

            regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

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

Предыдущее
От: Devrim GUNDUZ
Дата:
Сообщение: Re: Select <-> Case Insensitive
Следующее
От: "Amit Khare"
Дата:
Сообщение: How to Run postgres inside gdb for debugging