Re: Quick Question Please

From: Sam Barnett-Cormack <s(dot)barnett-cormack(at)lancaster(dot)ac(dot)uk>
To: Terry Hampton <thampton(at)limacorp(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Quick Question Please
Date: 2003-12-18 20:41:29
Message-ID: Pine.LNX.4.50.0312182041070.27576-100000@short.lancs.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

In psql, do

\d table_name

It will tell you about all columns, indexes, and constraints.

On Thu, 18 Dec 2003, Terry Hampton wrote:

>
> All,
>
> Seem to be having a brain lock.
>
> What is the method or syntax to return
> a list of column names for a given table name ?
>
> many thanks for your quick help,
> Terry
>
>
>
>

--

Sam Barnett-Cormack
Software Developer | Student of Physics & Maths
UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bruno LEVEQUE 2003-12-18 20:42:40 Re: Quick Question Please
Previous Message Sergio Pili 2003-12-18 20:33:58 Re: Quick Question Please