| From: | reina(at)nsi(dot)edu (Tony Reina) |
|---|---|
| To: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: psql option for writing schema |
| Date: | 2001-12-04 01:13:11 |
| Message-ID: | f40d3195.0112031713.5eeb0b1e@posting.google.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
missive(at)frontiernet(dot)net (Lee Harr) wrote in message news:<9ubpl9$196u$1(at)news(dot)tht(dot)net>...
> On 30 Nov 2001 10:52:26 -0800, Tony Reina <reina(at)nsi(dot)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
No. I know that one.
I had thought it was a psql option, but what I wanted was actually a
pg_dump option called '--schema-only'.
pg_dump --schema-only db_name
Thanks for the help anyway.
-Tony
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Manuel Trujillo | 2001-12-04 08:45:13 | compression -Fx "problem" |
| Previous Message | Hiroshi Inoue | 2001-12-04 00:34:37 | Re: case sensititvity bug in foreign keys on cygwin |