Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 660DD475FBF for ; Thu, 19 Dec 2002 08:57:27 -0500 (EST) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by postgresql.org (Postfix) with ESMTP id 4944E475F81 for ; Thu, 19 Dec 2002 08:57:26 -0500 (EST) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id BC6FD3F4E; Thu, 19 Dec 2002 08:57:29 -0500 (EST) From: "Dan Langille" To: pgsql-admin@postgresql.org Date: Thu, 19 Dec 2002 08:57:29 -0500 MIME-Version: 1.0 Subject: Sybase PowerDesigner Data Architect Cc: alavigne@zaq.com Message-ID: <3E0189F9.7953.4E03CCBC@localhost> X-mailer: Pegasus Mail for Windows (v4.02a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/243 X-Sequence-Number: 6738 I've been using this tool for a number of years. I'm using verion 6.1.3 and it meets my needs when it comes to PostgreSQL development. I recently found the "PowerDesigner Definition File Library" at http://www.datamodel.org/PowerDesigner/progress.def. Alain Lavigne has created a definition file for version 7 of PowerDesigner, but I am creating one for version 6. I have used SQL Anywhere 5.5 as the starting point. The first thing I did was turn off EnableAscDesc so that CREATE INDEX commands do not include the ASC or DESC options: EnableAscDesc = NO The two remaining problems are: - default values are always enclosed in single quotes (') which is fine for character fields but not for anything else. e.g create table security_notice ( id T_ID not null, date_added timestamp not null default 'current_timestamp', - remove key name from foreign keys alter table element_pathnames add foreign key FK_ELEMENT__REF_11730_ELEMENT (element_id) references element (id) on update cascade on delete cascade; Has anyone already done this? -- Dan Langille : http://www.langille.org/