Re: Documenting a DB schema

From: Mary Anderson <maryfran(at)demog(dot)berkeley(dot)edu>
To: Michael Monnerie <michael(dot)monnerie(at)it-management(dot)at>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Documenting a DB schema
Date: 2008-03-04 22:13:02
Message-ID: 47CDC96E.7090209@demog.berkeley.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-docs pgsql-general pgsql-sql

MicroOlap (or MicrOlap) does a nice job of creating schema diagrams for
postgres. I have had a little trouble with re-engineering databases
that have had a lot of alterations, however. But their tech support is
reasonable.

Mary

Michael Monnerie wrote:
> On Dienstag, 4. März 2008 Shahaf Abileah wrote:
>> create table table_with_comments(a int comment 'this is
>> column a...');
>> (see http://dev.mysql.com/doc/refman/5.0/en/create-table.html)
>> However, Postgres doesn't support the "comment" keyword. Is there an
>> alternative?
>
> This sounds nice at first thought... but: you need to document tables
> also, and relations between tables etc. And especially the complex
> dependencies can't be documented that way ("if you insert this here,
> look into table x and y and compare this with table z, blabla").
>
> And I'd like to know how often such funny documentation can be found
> when it's used, take your example:
>> create table table_with_comments(a int comment 'this is
>> column a...');
> I've seen such documentation a lot - just bought a Nokia E65 mobile
> phone, it's handbook has this kind of documentation printed in it...
> worthless.
>
> But, BTW, does anybody have a good tool to show graphically the
> relations between tables, and maybe even draw relations between tables
> and create all necessary commands from this automatically? That would
> be nice, along with documentation features...
>
> mfg zmi

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Daniel Punton 2008-03-04 23:07:14 Postgres port bindings changed after box restart
Previous Message libra dba 2008-03-04 22:07:50 using warm standby with drbd???

Browse pgsql-docs by date

  From Date Subject
Next Message Professor Flávio Brito 2008-03-05 13:10:27 Re: Documenting a DB schema
Previous Message Steve Crawford 2008-03-04 21:27:15 Re: [SQL] Documenting a DB schema

Browse pgsql-general by date

  From Date Subject
Next Message Joris Dobbelsteen 2008-03-04 22:32:46 Re: Planner: rows=1 after "similar to" where condition.
Previous Message libra dba 2008-03-04 22:07:50 using warm standby with drbd???

Browse pgsql-sql by date

  From Date Subject
Next Message Yura Gal 2008-03-04 22:51:19 using copy from in function
Previous Message Steve Crawford 2008-03-04 21:27:15 Re: [SQL] Documenting a DB schema