[EMAIL PROTECTED] (Lee Harr) wrote in message 
news:<9ubpl9$196u$[EMAIL PROTECTED]>...
> On 30 Nov 2001 10:52:26 -0800, Tony Reina <[EMAIL PROTECTED]> 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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to