Re: psql option for writing schema - Mailing list pgsql-admin

From missive@frontiernet.net (Lee Harr)
Subject Re: psql option for writing schema
Date
Msg-id 9ubpl9$196u$1@news.tht.net
Whole thread Raw
In response to psql option for writing schema  (reina@nsi.edu (Tony Reina))
List pgsql-admin
On 30 Nov 2001 10:52:26 -0800, Tony Reina <reina@nsi.edu> wrote:
> I seem to remember a psql option that dumped out the table schema. I
> can't seem to find it in the man for psql. Could someone point out the
> option to me?
>

In psql \? is your friend.

Probably what you want is \d tableName


pgsql-admin by date:

Previous
From: "Chad R. Larson"
Date:
Subject: Re: postgres on WinNT and IIS
Next
From: jpoley@poley.net (jason)
Date:
Subject: adding primary keys