Re: DDL from psql console?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John Browne <jkbrowne(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: DDL from psql console?
Date: 2005-04-25 15:49:00
Message-ID: 19585.1114444140@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

John Browne <jkbrowne(at)gmail(dot)com> writes:
> I was curious if there was a way to get the DDL for a particular table
> from the psql client console?

No. Try
pg_dump -s -t tablename dbname

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2005-04-25 15:55:21 Re: DDL from psql console?
Previous Message Steve Atkins 2005-04-25 15:46:23 Re: Hosting Service Recommendations