pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: system tables
4+ messages / 3 participants
[nested] [flat]

* Re: system tables
@ 2002-03-29 23:12  Bruce Momjian <pgman@candle.pha.pa.us>
  parent: Jie Liang <jie@stbernard.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Bruce Momjian @ 2002-03-29 23:12 UTC (permalink / raw)
  To: Jie Liang <jie@stbernard.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; 'admin-sql@postgresql.org' <admin-sql@postgresql.org>; pgsql-sql


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 ... ?
> 
> Jie Liang 
> Software Engineer 
> St. Bernard Software 
> 16882 W. Bernardo Dr. 
> San Diego, CA 92127 
> Tel: 858-524-2134 
> Fax:858-676-2228 
> jie@stbernard.com 
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* system tables
@ 2002-03-29 23:13  Jie Liang <jie@stbernard.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Jie Liang @ 2002-03-29 23:13 UTC (permalink / raw)
  To: Jie Liang <jie@stbernard.com>; Bruce Momjian <pgman@candle.pha.pa.us>; Tom Lane <tgl@sss.pgh.pa.us>; +Cc: 'admin-sql@postgresql.org' <admin-sql@postgresql.org>; pgsql-sql

Which system table holds such info as:
login user, session pid ... ?

Jie Liang 
Software Engineer 
St. Bernard Software 
16882 W. Bernardo Dr. 
San Diego, CA 92127 
Tel: 858-524-2134 
Fax:858-676-2228 
jie@stbernard.com 



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: system tables
@ 2002-03-29 23:22  Jie Liang <jie@stbernard.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Jie Liang @ 2002-03-29 23:22 UTC (permalink / raw)
  To: Bruce Momjian <pgman@candle.pha.pa.us>; Jie Liang <jie@stbernard.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; 'admin-sql@postgresql.org' <admin-sql@postgresql.org>; pgsql-sql

no such one,
it's very important to me,
can you indecate one.


Thanks.




-----Original Message-----
From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
Sent: Friday, March 29, 2002 3:13 PM
To: Jie Liang
Cc: Tom Lane; 'admin-sql@postgresql.org'; pgsql-sql@postgresql.org
Subject: Re: system tables



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 ... ?
> 
> Jie Liang 
> Software Engineer 
> St. Bernard Software 
> 16882 W. Bernardo Dr. 
> San Diego, CA 92127 
> Tel: 858-524-2134 
> Fax:858-676-2228 
> jie@stbernard.com 
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: system tables
@ 2002-03-30 00:27  Stephan Szabo <sszabo@megazone23.bigpanda.com>
  parent: Jie Liang <jie@stbernard.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Stephan Szabo @ 2002-03-30 00:27 UTC (permalink / raw)
  To: Jie Liang <jie@stbernard.com>; +Cc: Bruce Momjian <pgman@candle.pha.pa.us>; Tom Lane <tgl@sss.pgh.pa.us>; 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 ... ?




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2002-03-30 00:27 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-03-29 23:13 system tables Jie Liang <jie@stbernard.com>
2002-03-29 23:12 ` Bruce Momjian <pgman@candle.pha.pa.us>
2002-03-29 23:22 Re: system tables Jie Liang <jie@stbernard.com>
2002-03-30 00:27 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>

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