Re: Visualize database schema - Mailing list pgsql-general

From Wolfgang Keller
Subject Re: Visualize database schema
Date
Msg-id 20120815134845.fc79968e3c1a9393465eae12@gmx.net
Whole thread Raw
In response to Re: Visualize database schema  (Merlin Moncure <mmoncure@gmail.com>)
Responses Re: Visualize database schema  (Johann Spies <jspies@sun.ac.za>)
List pgsql-general
> >> Can anyone advice about a tool to visualize a database schema?
> >
> > SQLalchemy, a Python module, can produce dot (Graphviz) output
> > which you can load into your favourite diagramming application such
> > as e.g. Omnigraffle, yEd or Dia:
> >
> > http://www.sqlalchemy.org/trac/wiki/UsageRecipes/SchemaDisplay
>
> You just made my day -- great stuff.  ERD generation should be
> automatic -- whenever I lay them out I feel like I'm fingerpainting.

<hint>

Unlike postgresql_autodoc, which cannot be "embedded" with Pgadmin,
since it is implemented in Perl, which has an embedding-hostile
License as someone once told me, this tiny script could easily be
embedded with Pgadmin, since Python's license is deliberately
embedding-friendly.

And with dot2tex, it would be even possible to generate a complete,
printable, well-typographed PDF documentation of any PostgreSQL database
from within Pgadmin, through LaTeX.

</hint>

Sincerely,

Wolfgang


pgsql-general by date:

Previous
From: Andrew Hastie
Date:
Subject: PG Installer - Licensing Issues
Next
From: Amitabh Kant
Date:
Subject: Re: corrupted statistics file "pg_stat_tmp/pgstat.stat"