From: | Rostislav Matl <xmatl(at)informatics(dot)muni(dot)cz> |
---|---|
To: | pgsql-general(at)postgreSQL(dot)org |
Subject: | Re: [GENERAL] listing all tables |
Date: | 1998-07-17 19:28:23 |
Message-ID: | 199807171928.VAA08339@aisa.fi.muni.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 16-Jul-98 Fandarel wrote:
>> How would I list all tables in a database?
>
> You can list all tables with:
>
> select * from pg_class;
>
> but that will give you system tables also.
>
> I think that if you use the \z command in psql, it will give you a list
> of all tables in the current database.
>
> Matt
>
It's in docs even maybe in FAQs, or in archive - it was already discussed.
+-----------------------------------------------------------------------------+
| ROSTISLAV MATL, student of Masaryk University - Faculty of Informatics |
| e-mail: xmatl(at)fi(dot)muni(dot)cz WWW: http://www.fi.muni.cz/~xmatl/index.html |
+-----------------------------------------------------------------------------+
From | Date | Subject | |
---|---|---|---|
Next Message | Bruno LEVEQUE | 1998-07-17 19:35:56 | PQputline |
Previous Message | Rostislav Matl | 1998-07-17 19:05:25 | S-Designer DEF file for Postgres |