Re: List tables in the database

From: "Gavin M(dot) Roy" <gmr(at)justsportsusa(dot)com>
To: "'Tom Jenkins'" <tjenkins(at)devis(dot)com>, "'Varsha Agarwal'" <varsha_agarwal(at)hotmail(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: List tables in the database
Date: 2002-07-26 00:41:39
Message-ID: 003f01c2343d$37bd08a0$6afea8c0@gmr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Or in psql try "\d"

-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Tom Jenkins
Sent: Thursday, July 25, 2002 5:35 PM
To: Varsha Agarwal
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] List tables in the database

Varsha Agarwal wrote:
> Hi,
> I want to see the list of all the tables in the database. Can anyone
> tell me how to do that? I tried show table but thats not working.
> -Varha
>

select * from pg_tables;

Tom

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2002-07-26 00:50:00 Re: Linux max on shared buffers?
Previous Message Tom Jenkins 2002-07-26 00:34:43 Re: List tables in the database