Re: How to retrive List of Tables in a Database using... - Mailing list pgsql-general

From Tadipathri Raghu
Subject Re: How to retrive List of Tables in a Database using...
Date
Msg-id 645d9d71003242134v185c7fc9l4375946d0d9636@mail.gmail.com
Whole thread Raw
In response to How to retrive List of Tables in a Database using...  (Yogi Yang 007 <yogiyang007@gmail.com>)
List pgsql-general
Hi Yogi Yang,
 
Psql is a very strong tool, and easy to use. Please find the answers for your queries
>>1. Retrieve list of all Tables in a database
>>2. Retrieve list of all Functions, Triggers, Sequences, Views, etc.
>>3. Retrieve list of all Group Roles
postgres=#\d{t|i|s|v|S|g|n}     
 
you can use any of the things as per your requirement

>>4. Retrieve list of all Login Roles
>>5. Structure of a Table
postgres=# \d  <tablename>
 
Hope this will help you out
 
Regards
Raghavendar
 
TIA

Yogi Yang

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: "\d pg_class" fails in PG 8.4
Next
From: Tadipathri Raghu
Date:
Subject: Re: "\d pg_class" fails in PG 8.4