Re: newbie question... how do I get table structure?

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Aaron Bratcher <aaronbratcher(at)abdatatools(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: newbie question... how do I get table structure?
Date: 2004-02-06 02:27:12
Message-ID: 4022FB80.6090205@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Aaron Bratcher wrote:
> What command can I use to get the structure of a given table?
>

If psql is client

\d tablename

> Thanks.
>
> --
> Aaron Bratcher
> ab DataTools
> http://www.abDataTools.com
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings

--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd(at)commandprompt(dot)com - http://www.commandprompt.com
Mammoth PostgreSQL Replicator. Integrated Replication for PostgreSQL

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Travers 2004-02-06 03:23:18 Re: Transfer database tables to a schema
Previous Message Tom Lane 2004-02-06 02:08:14 Re: Sort order confusion