Received: from ece.rice.edu (ece.rice.edu [128.42.4.34]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fATLBTm28660 for ; Thu, 29 Nov 2001 16:11:38 -0500 (EST) (envelope-from reedstrm@rice.edu) Received: from localhost (localhost [127.0.0.1]) by ece.rice.edu (Postfix) with ESMTP id 9D82968A59; Thu, 29 Nov 2001 15:11:24 -0600 (CST) Received: from wallace.ece.rice.edu (wallace.ece.rice.edu [128.42.12.154]) by ece.rice.edu (Postfix) with ESMTP id E97B868A17; Thu, 29 Nov 2001 15:11:23 -0600 (CST) Received: from reedstrm by wallace.ece.rice.edu with local (Exim 3.22 #1 (Debian)) id 169YSp-00050m-00; Thu, 29 Nov 2001 15:11:23 -0600 Date: Thu, 29 Nov 2001 15:11:23 -0600 From: "Ross J. Reedstrom" To: Jodi Kanter Cc: Postgres Admin List Subject: Re: Visio Message-ID: <20011129151123.A19079@rice.edu> Mail-Followup-To: "Ross J. Reedstrom" , Jodi Kanter , Postgres Admin List References: <001001c17914$080b7540$de138f80@virginia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001001c17914$080b7540$de138f80@virginia.edu> User-Agent: Mutt/1.3.18i X-Virus-Scanned: by AMaViS snapshot-20010714 X-Archive-Number: 200111/185 X-Sequence-Number: 2710 On Thu, Nov 29, 2001 at 03:25:48PM -0500, Jodi Kanter wrote: > I need to create a diagram of our schema. I recently obtained a copy of Visio. > Has anyone used Visio to reverse engineer a model diagram from a Postgres database?? > If not, can anyone recommend the best way to create a schema from Postgres without having to manually draw tables, add fields, etc... Fire up pgaccess, which is a Tcl/Tk graphical front end to PostgreSQL. Connect to your database, and hit the 'Schema' tab. Add tables, and define linkages by dragging and dropping. Remember to save the schema. (It's stored in the database in a table named pga_schema) It's not full featured, but it'll stay with the database it documents, and follow changes. That's why I wrote it. ;-) Ross