Re: How to view the list of tables?

From: Richard Huxton <dev(at)archonet(dot)com>
To: Konstantin Danilov <danilov_konst(at)list(dot)ru>
Cc: pgsql-sql(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: How to view the list of tables?
Date: 2005-02-15 10:47:56
Message-ID: 4211D35C.1080004@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

Konstantin Danilov wrote:
> 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?
> Konstantin

"man psql" will show you details of how to operate the psql application,
or when in it try "\?" and "\h" to get help. We also now support the
SQL-standard "information schema".

You'll also find the manuals have this information - available with your
installation and also online at http://www.postgresql.org/docs/

HTH
--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dick Davies 2005-02-15 10:49:30 Re: How to view the list of tables?
Previous Message Dick Davies 2005-02-15 10:37:51 Re: How to view the list of tables?

Browse pgsql-sql by date

  From Date Subject
Next Message Dick Davies 2005-02-15 10:49:30 Re: How to view the list of tables?
Previous Message Dick Davies 2005-02-15 10:37:51 Re: How to view the list of tables?