Re: simple questions

From: Jie Liang <jliang(at)ipinc(dot)com>
To: Niral Trivedi <niral(dot)trivedi(at)insage(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, "'pgsql-admin(at)postgresql(dot)org'" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: simple questions
Date: 2000-12-15 21:55:49
Message-ID: Pine.BSF.4.10.10012151353520.49677-100000@tidal.ipinc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general


Hi, there,

in psql use

\d tablename

BTW

you can use
\? to list all related command

Jie LIANG

Internet Products Inc.

10350 Science Center Drive
Suite 100, San Diego, CA 92121
Office:(858)320-4873

jliang(at)ipinc(dot)com
www.ipinc.com

On Fri, 15 Dec 2000, Niral Trivedi wrote:

> All,
>
> I have very simple two questions..
>
> How can we 'describe a table' and 'view all available tables' in postgres
> DB??
>
> I am looking for something similar to 'desc <TABLE>' and 'show tables' in
> MySQL or
> 'desc <TABLE>' and 'select * from tab' in Oracle..
>
> Thanks in advance for your help..
>
> Niral
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Brett W. McCoy 2000-12-15 21:56:26 Re: [GENERAL] simple questions
Previous Message Brian Horan 2000-12-15 21:52:52 Re: simple questions

Browse pgsql-general by date

  From Date Subject
Next Message Brett W. McCoy 2000-12-15 21:56:26 Re: [GENERAL] simple questions
Previous Message Brian Horan 2000-12-15 21:52:52 Re: simple questions