| From: | Dick Davies <rasputnik(at)hellooperator(dot)net> |
|---|---|
| To: | Konstantin Danilov <danilov_konst(at)list(dot)ru> |
| Cc: | PostgreSQL SQL list <pgsql-sql(at)postgresql(dot)org> |
| Subject: | Re: How to view the list of tables? |
| Date: | 2005-02-15 10:37:51 |
| Message-ID: | 20050215103751.GW63378@eris.tenfour |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-sql |
* Konstantin Danilov <danilov_konst(at)list(dot)ru> [0222 10:22]:
>
> Hello, list!
> I need to view the list of tables in a database. In MySQL I can do it with the command "SHOW TABLES". What about PostgreSQL?
> Can I also see somehow the datatypes of tables' fields?
\dt in psjl lists tables
( \d gives you things like sequences as well)
\d tablename shows its layout.
--
'Tempers are wearing thin. Let's hope some robot doesn't kill everybody.'
-- Bender
Rasputin :: Jack of All Trades - Master of Nuns
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Richard Huxton | 2005-02-15 10:47:56 | Re: How to view the list of tables? |
| Previous Message | Konstantin Danilov | 2005-02-15 10:16:57 | How to view the list of tables ? |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Richard Huxton | 2005-02-15 10:47:56 | Re: How to view the list of tables? |
| Previous Message | Konstantin Danilov | 2005-02-15 10:16:57 | How to view the list of tables ? |