pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dan Langille <dan@langille.org>
To: pgsql-admin@postgresql.org
Subject: Re: Sybase PowerDesigner Data Architect
Date: Thu, 19 Dec 2002 10:19:53 -0500
Message-ID: <3E019D49.15900.4E4F3FB2@localhost> (raw)
In-Reply-To: <3E0189F9.7953.4E03CCBC@localhost>

On 19 Dec 2002 at 8:57, Dan Langille wrote:

> 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?

Here's the diff which solves the above problems.

$ diff sqlany55.def sqlany55.def-original
56c56
< Quote =
---
> Quote = '
122c122
< EnableFkeyName = NO
---
> EnableFkeyName = YES
227c227
< EnableAscDesc = NO
---
> EnableAscDesc = YES
-- 
Dan Langille : http://www.langille.org/




view thread (2+ messages)

Message-ID: <3E019D49.15900.4E4F3FB2@localhost>
Permalink:  ../3E019D49.15900.4E4F3FB2@localhost/
Also on:    postgresql.org/message-id/3E019D49.15900.4E4F3FB2@localhost

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: dan@langille.org
  Subject: Re: Sybase PowerDesigner Data Architect
  In-Reply-To: <3E019D49.15900.4E4F3FB2@localhost>
  References: <3E0189F9.7953.4E03CCBC@localhost> <3E019D49.15900.4E4F3FB2@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox