pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shridhar Daithankar <ghodechhap@ghodechhap.net>
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 16:34:39 +0530
Message-ID: <200502151634.39458.ghodechhap@ghodechhap.net> (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>

On Tuesday 15 Feb 2005 3:46 pm, 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?

In psql, you can try '\dt' and '\d table name'. Type \? for more commands..

 Shridhar



view thread (5+ messages)  latest in thread

Message-ID: <200502151634.39458.ghodechhap@ghodechhap.net>
Permalink:  ../200502151634.39458.ghodechhap@ghodechhap.net/
Also on:    postgresql.org/message-id/200502151634.39458.ghodechhap@ghodechhap.net

 · 

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: ghodechhap@ghodechhap.net, danilov_konst@list.ru, pgsql-general@postgresql.org
  Subject: Re: How to view the list of tables?
  In-Reply-To: <200502151634.39458.ghodechhap@ghodechhap.net>

* 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