Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id A8D85632465 for ; Mon, 5 Apr 2010 17:45:58 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 59426-02 for ; Mon, 5 Apr 2010 20:45:43 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id 0FFAB6322E2 for ; Mon, 5 Apr 2010 17:45:47 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 3B90034803A; Mon, 5 Apr 2010 13:45:45 -0700 (PDT) Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1S+3SvQE2qLB; Mon, 5 Apr 2010 13:45:45 -0700 (PDT) Received: from perhan.alvh.no-ip.org (200-85-209-192.bk4-dsl.surnet.cl [200.85.209.192]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id CD17B348034; Mon, 5 Apr 2010 13:45:44 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 213856E4C0; Mon, 5 Apr 2010 16:45:42 -0400 (CLT) Date: Mon, 5 Apr 2010 16:45:42 -0400 From: Alvaro Herrera To: Peter Eisentraut Cc: Rafael Martinez , Tom Lane , pgsql-docs@postgresql.org Subject: Re: Documentation and explanatory diagrams Message-ID: <20100405204541.GB5108@alvh.no-ip.org> References: <4BB9E69F.9080203@usit.uio.no> <20317.1270476132@sss.pgh.pa.us> <4BB9F919.2090709@usit.uio.no> <1270488458.18421.5.camel@vanquo.pezone.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1270488458.18421.5.camel@vanquo.pezone.net> User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.559 tagged_above=-10 required=5 tests=AWL=0.040, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201004/38 X-Sequence-Number: 5437 Peter Eisentraut wrote: > Preferably, any tool that we would use would save a reasonably plain > text source file that we could check into VCS and would provide a tool > for automatically converting to a variety of target formats. For > example, graphviz could work well. (Not saying that graphviz is the > right tool for producing the kinds of diagrams that you want, but it > provides the right toolchain interfaces.) Dia might, but it would be > interesting to see how human-readable that XML format really is. (This > is necessary for change tracking. I would like to use a diff tool to > see what happened to a diagram over various revisions. If opening the > file in the editing tool, changing one bit, and saving it produces a > completely different machine-readable-only XML mush, then it's no good.) It's ugly, but it seems to work reasonably. You have to explicitely tell it not to compress the .dia files. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.