Re: who is connected to the database ??

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: who is connected to the database ??
Date: 2006-01-03 18:11:07
Message-ID: 20060103181107.GA2222@kaufbach.delug.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hugo <htakada(at)gmail(dot)com> schrieb:

> hello , is there a way to answer that question ?

Try this:

select * from pg_stat_activity ;

But some fields are only available with 8.1.

> thanks in advance

Please, no HTML.

HTH, Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Kretschmer 2006-01-03 18:12:09 Re: generic way to retrieve array as rowset
Previous Message Tino Wildenhain 2006-01-03 17:59:26 Re: generic way to retrieve array as rowset