pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Davis <mdavis@sevainc.com>
To: 'lbottorff@harveycounty.com' <lbottorff@harveycounty.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: RE: Admin tutorials?
Date: Sat, 27 Jan 2001 11:27:58 -0700
Message-ID: <01C08854.366F0610.mdavis@sevainc.com> (raw)

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





view thread (3+ messages)  latest in thread

Message-ID: <01C08854.366F0610.mdavis@sevainc.com>
Permalink:  ../01C08854.366F0610.mdavis@sevainc.com/
Also on:    postgresql.org/message-id/01C08854.366F0610.mdavis@sevainc.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mdavis@sevainc.com, lbottorff@harveycounty.com
  Subject: Re: Admin tutorials?
  In-Reply-To: <01C08854.366F0610.mdavis@sevainc.com>
  References: <01C08854.366F0610.mdavis@sevainc.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