Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PowerDesigner 9.5.0.648 generate PostgreSQL 7.3.4.

96 views
Skip to first unread message

sean_elliott

unread,
Feb 19, 2004, 8:00:31 AM2/19/04
to
I am a PostgreSQL novice. I didn't realise that the user
defined type facility was so weird/impractical. I think I
will avoid them.

> I am using PowerDesigner 9.5.0.648 to generate a physical
> database for PostgreSQL 7.3.4.
>
> The syntax generated for user defined datatypes is
> incorrect.
> I attach the sql file generated from it.
>
> [Attachment: postgre.sql]

Mike Nicewarner

unread,
Feb 19, 2004, 8:18:01 AM2/19/04
to
Also, please, please download the latest maintenance patches from Sybase.
The current version of PowerDesigner is 9.5.2.920 EBF6.
With the huge number of fixes and enhancements from 9.5.0, you really are
missing out on a lot by not upgrading.

--
Mike Nicewarner [TeamSybase]
http://www.datamodel.org
mike@nospam!datamodel.org
Sybase product enhancement requests:
http://www.isug.com/cgi-bin/ISUG2/submit_enhancement

<Sean Elliott> wrote in message news:4034aa72.54...@sybase.com...

sean_elliott

unread,
Mar 3, 2004, 9:42:38 AM3/3/04
to
I take it back - PowerDesigner is wrong!
It should be trying to create PostgreSQL domains rather than
user types. Domains are like domains in PowerDesigner. Types
are more like generic objects to be stored in the database.

Mike Nicewarner

unread,
Mar 3, 2004, 11:11:00 PM3/3/04
to
The nice thing is that you can change the behavior.
It looks like you know the proper syntax to use with PostgreSQL.
Please, if you do get it to work, please share.

--
Mike Nicewarner [TeamSybase]
http://www.datamodel.org
mike@nospam!datamodel.org
Sybase product enhancement requests:
http://www.isug.com/cgi-bin/ISUG2/submit_enhancement

<Sean Elliott> wrote in message news:4045eede.49...@sybase.com...

sean_elliott

unread,
Mar 4, 2004, 12:39:49 PM3/4/04
to
OK - You have to change the generation of SQL so that it
uses this type of syntax:

CREATE DOMAIN country_code char(2) NOT NULL;

in menu Database/Edit Current DBMS/Script/Object/Domain

0 new messages