Re: How to extract table DDL from PGSQL database? - Mailing list pgsql-admin

From Tom Lane
Subject Re: How to extract table DDL from PGSQL database?
Date
Msg-id 25404.1066417356@sss.pgh.pa.us
Whole thread Raw
In response to How to extract table DDL from PGSQL database?  (David Wagoner <dwagoner@arsenaldigital.com>)
List pgsql-admin
David Wagoner <dwagoner@arsenaldigital.com> writes:
> How do I extract table or view DDL from a postgresql database?

"pg_dump -s" is the usual way.

            regards, tom lane

pgsql-admin by date:

Previous
From: David Wagoner
Date:
Subject: How to extract table DDL from PGSQL database?
Next
From: Josh Berkus
Date:
Subject: Re: [PERFORM] backup/restore - another area.