pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Konstantin Danilov <danilov_konst@list.ru>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: How to view the list of tables?
Date: Tue, 15 Feb 2005 10:47:56 +0000
Message-ID: <4211D35C.1080004@archonet.com> (raw)
In-Reply-To: <E1D0zlJ-000AQR-00.danilov_konst-list-ru@f24.mail.ru>
References: <E1D0zlJ-000AQR-00.danilov_konst-list-ru@f24.mail.ru>

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



view thread (5+ messages)  latest in thread

Message-ID: <4211D35C.1080004@archonet.com>
Permalink:  ../4211D35C.1080004@archonet.com/
Also on:    postgresql.org/message-id/4211D35C.1080004@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dev@archonet.com, danilov_konst@list.ru, pgsql-general@postgresql.org
  Subject: Re: How to view the list of tables?
  In-Reply-To: <4211D35C.1080004@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox