Re: How to extract table DDL from PGSQL database?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Wagoner <dwagoner(at)arsenaldigital(dot)com>
Cc: "PGSQL List (E-mail)" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: How to extract table DDL from PGSQL database?
Date: 2003-10-17 19:02:36
Message-ID: 25404.1066417356@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

David Wagoner <dwagoner(at)arsenaldigital(dot)com> writes:
> How do I extract table or view DDL from a postgresql database?

"pg_dump -s" is the usual way.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Laszlo Hornyak 2003-10-17 21:46:00 Re: Which Group???
Previous Message David Wagoner 2003-10-17 18:18:29 How to extract table DDL from PGSQL database?