From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Jie Liang <jie@stbernard.com>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: system tables
Date: Fri, 29 Mar 2002 16:27:44 -0800 (PST)
Message-ID: <20020329162551.W58988-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <7C760DAA511DC74B99E7D22189F786F1906DE4@MAIL01.stbernard.com>
On Fri, 29 Mar 2002, Jie Liang wrote:
> no such one,
> it's very important to me,
> can you indecate one.
For 7.2, you probably can use
pg_stat_activity (it's a view).
In earlier versions, I don't think you
have access to that info except via
ps.
> In psql, do \dS in psql. I think it is pg_activity something.
>
> Jie Liang wrote:
> > Which system table holds such info as:
> > login user, session pid ... ?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: sszabo@megazone23.bigpanda.com, jie@stbernard.com, pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us
Subject: Re: system tables
In-Reply-To: <20020329162551.W58988-100000@megazone23.bigpanda.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox