Re: Fw: LISTENING THE PORT

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Fábio Santana <fabio3c(at)terra(dot)com(dot)br>
Cc: "Hackers Postgresql" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fw: LISTENING THE PORT
Date: 2001-11-03 17:53:03
Message-ID: 2474.1004809983@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

=?iso-8859-1?Q?F=E1bio_Santana?= <fabio3c(at)terra(dot)com(dot)br> writes:
> I need to do a application that listen the port of Postgresql
> and return all commands actually in process in Postgresql.

In 7.2 beta, try select * from pg_stat_activity (note you need
to enable collection of query strings...)

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-11-03 18:02:12 Re: Backend Protocol
Previous Message Dave Cramer 2001-11-03 16:22:31 Backend Protocol