Re: system tables

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Jie Liang <jie(at)stbernard(dot)com>
Cc: 'Bruce Momjian' <pgman(at)candle(dot)pha(dot)pa(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: system tables
Date: 2002-03-30 00:27:44
Message-ID: 20020329162551.W58988-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


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 ... ?

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Hunter, Ray 2002-04-01 16:15:22 Statistics
Previous Message Jie Liang 2002-03-29 23:22:37 Re: system tables