Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id A48B0475932 for ; Thu, 27 Jun 2002 20:17:30 -0400 (EDT) Mailbox-Line: From Tim.Ellis@gamet.com Thu Jun 27 20:17:30 2002 Received: from linuxmail.lgsinc.com (unknown [12.22.4.163]) by postgresql.org (Postfix) with ESMTP id 6EB0F47591C for ; Thu, 27 Jun 2002 20:17:29 -0400 (EDT) Received: from timetop ([10.13.15.254]) by linuxmail.lgsinc.com (8.11.0/8.8.7) with SMTP id g5S0GZ121013; Thu, 27 Jun 2002 17:16:35 -0700 Date: Thu, 27 Jun 2002 17:20:39 -0700 From: Tim Ellis To: dia-list@gnome.org, pgsql-admin@postgresql.org Subject: Dia --> SQL (tedia2sql 0.58 Released Message-Id: <20020627172039.3a5940db.Tim.Ellis@gamet.com> In-Reply-To: <20020625222825.79e7d6b9.jklowden@speakeasy.org> References: <20020625175852.5e6fd335.Tim.Ellis@gamet.com> <20020625222825.79e7d6b9.jklowden@speakeasy.org> Organization: Gamet X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i586-mandrake-linux-gnu) WerdupHomey: 3.14159265358979323 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-3.4 required=5.0 tests=IN_REP_TO version=2.30 X-Spam-Level: X-Archive-Number: 200206/223 X-Sequence-Number: 4657 I released two days ago a script I, in poor judgement, called "dia2sql" which is a replacement for dia2sql. I've renamed it to "tedia2sql" meaning Tim Ellis' dia2sql script. The current version is 0.58. Changelog includes: Sybase support, Postgres support, column formatting, bug fix for Associations-->Foreign Key, four-file table/constraint drop/add output option. I've tested this script on a ~30-table schema with ~35 associations (foreign-key constraints) and it basically does the Right Thing. As previously mentioned, this script uses Associations for foreign key references as opposed to the "column named fk_*" method of the original dia2sql. This should make those of you used to ER/Win or Dezign or CASE Studio a little happier. TODO includes automatic index creation via Class operations and cleaning up the documentation. This latter will be a higher priority for me if someone tries to use it, has problems, and emails me. Temporary homepage on a 128k DSL connection: http://faemalia.net/tedia2sql Enjoy, -- Tim Ellis DBA, Gamet