Re: Database schema dumper - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Database schema dumper
Date
Msg-id dcc563d10906291532l6aa2e01p54bb263497eaab10@mail.gmail.com
Whole thread Raw
In response to Database schema dumper  (felix@crowfix.com)
Responses Re: Database schema dumper
List pgsql-general
On Mon, Jun 29, 2009 at 4:08 PM, <felix@crowfix.com> wrote:
> I'd like to dump a database schema to a file, probably XML but
> anything reasonable is good enough.  By "schema", I don't mean the
> narrow postgres keyword, but rather the table names, columns,
> foreignkeys, triggers, constraints, etc.
>
> I'd really like something that could work for other databases too,
> including O-----, M----, etc.  But that might be asking too much.

Have you tried pg_dump -s yet?

pgsql-general by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: Database schema dumper
Next
From: felix@crowfix.com
Date:
Subject: Re: Database schema dumper