pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Admin tutorials?
3+ messages / 3 participants
[nested] [flat]

* Admin tutorials?
@ 2001-01-27 17:23  lbottorff@harveycounty.com
  0 siblings, 1 reply; 3+ messages in thread

From: lbottorff@harveycounty.com @ 2001-01-27 17:23 UTC (permalink / raw)
  To: pgsql-admin

I've looked at psql and found good stuff, but I still don't know how to get a
listing of all my tables. I know in Oracle it's a SELECT statement, and I take
it for granted a lot of admin is done with regular SQL commands, where can I
learn such stuff as how to list my tables?

LB





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

* RE: Admin tutorials?
@ 2001-01-27 18:27  Michael Davis <mdavis@sevainc.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Davis @ 2001-01-27 18:27 UTC (permalink / raw)
  To: 'lbottorff@harveycounty.com' <lbottorff@harveycounty.com>; pgsql-admin

In psql, type \dS.  This will report all the system tables.

For example: 

Select * from pg_tables; 

Will select info on all your tables.

Here is a link that describes most of the system tables:

http://www.postgresql.org/devel-corner/docs/postgres/catalogs.htm



-----Original Message-----
From:	lbottorff@harveycounty.com [SMTP:lbottorff@harveycounty.com]
Sent:	Saturday, January 27, 2001 10:24 AM
To:	pgsql-admin@postgresql.org
Subject:	Admin tutorials?

I've looked at psql and found good stuff, but I still don't know how to get a
listing of all my tables. I know in Oracle it's a SELECT statement, and I take
it for granted a lot of admin is done with regular SQL commands, where can I
learn such stuff as how to list my tables?

LB





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

* Re: Admin tutorials?
@ 2001-01-28 23:30  Jie Liang <jliang@ipinc.com>
  parent: lbottorff@harveycounty.com
  0 siblings, 0 replies; 3+ messages in thread

From: Jie Liang @ 2001-01-28 23:30 UTC (permalink / raw)
  To: lbottorff@harveycounty.com; +Cc: pgsql-admin

Hi,

use \dt

BTW,
use \? to all commands.



Jie LIANG

Internet Products Inc.

10350 Science Center Drive
Suite 100, San Diego, CA 92121
Office:(858)320-4873

jliang@ipinc.com
www.ipinc.com

On Sat, 27 Jan 2001 lbottorff@harveycounty.com wrote:

> I've looked at psql and found good stuff, but I still don't know how to get a
> listing of all my tables. I know in Oracle it's a SELECT statement, and I take
> it for granted a lot of admin is done with regular SQL commands, where can I
> learn such stuff as how to list my tables?
> 
> LB
> 
> 




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


end of thread, other threads:[~2001-01-28 23:30 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-01-27 17:23 Admin tutorials? lbottorff@harveycounty.com
2001-01-28 23:30 ` Jie Liang <jliang@ipinc.com>
2001-01-27 18:27 RE: Admin tutorials? Michael Davis <mdavis@sevainc.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