Re: Any freeware graphic display of DDL software available? - Mailing list pgsql-general

From Paul Jungwirth
Subject Re: Any freeware graphic display of DDL software available?
Date
Msg-id CA+6hpanHY77iKn3NYyst8XxxZ7OM_e+0=toP0QpTXDo38XZnSw@mail.gmail.com
Whole thread Raw
In response to Re: Any freeware graphic display of DDL software available?  (Bartosz Dmytrak <bdmytrak@gmail.com>)
Responses Re: Any freeware graphic display of DDL software available?  (Susan Cassidy <susan.cassidy@decisionsciencescorp.com>)
List pgsql-general
I use this script on an Ubuntu system:

#!/bin/bash

set -eu

postgresql_autodoc -d example_dev -u example_dev -h localhost
--password=xxxxxxxx
dot -Tpng -o example-schema.png example_dev.dot
dot -Tpdf -o example-schema.pdf example_dev.dot

That gives you a schema diagram in pdf, png, dia, and dot format,
including foreign keys. It also exports the table and column info as
html and xml.

I'm pretty sure you can install postgresql_autodoc with apt-get, but I
don't recall for sure now.

Good luck!
Paul









On Thu, Jan 16, 2014 at 1:09 PM, Bartosz Dmytrak <bdmytrak@gmail.com> wrote:
> Hi,
>
> try DBVisualizer
>
>
>
> --
>
> Regards,
>
> Bartek



--
_________________________________
Pulchritudo splendor veritatis.


pgsql-general by date:

Previous
From: Clemens Eisserer
Date:
Subject: Re: PostgreSQL with ZFS on Linux
Next
From: Jeff Janes
Date:
Subject: Re: Looking for settings/configuration for FASTEST reindex on idle system.