On Mon, Jun 29, 2009 at 4:08 PM, <felix@xxxxxxxxxxx> 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? -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general