Re: Looking for a tool to "*" pg tables as ERDs

From: Vivek Khera <vivek(at)khera(dot)org>
To: Postgresql Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Looking for a tool to "*" pg tables as ERDs
Date: 2006-02-23 17:06:51
Message-ID: 0FFE36E7-A61D-4DC3-A74D-D9549A44A1F6@khera.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance


On Feb 23, 2006, at 11:38 AM, Ron Peacetree wrote:

> Where "*" ==
> {print | save to PDF | save to <mumble> format | display on screen}
>
> Anyone know of one?

There's a perl module, GraphViz::DBI::General, which does a rather
nifty job of taking a schema and making a graphviz "dot" file from
it, which can then be processed into any of a bazillion formats.

It basically makes a box for each table, with fields, and an arrow to
each FK referenced table. All layed out nicely.

You may also want to investigate the SQLFairy < http://
sqlfairy.sourceforge.net/ > if not for anything besides their awesome
logo. :-)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Markus Schaber 2006-02-23 17:20:18 Re: [PERFORM] Looking for a tool to "*" pg tables as ERDs
Previous Message Andrew Dunstan 2006-02-23 16:59:31 Re: [PERFORM] Looking for a tool to "*" pg tables as ERDs

Browse pgsql-performance by date

  From Date Subject
Next Message Markus Schaber 2006-02-23 17:20:18 Re: [PERFORM] Looking for a tool to "*" pg tables as ERDs
Previous Message Andrew Dunstan 2006-02-23 16:59:31 Re: [PERFORM] Looking for a tool to "*" pg tables as ERDs