Re: Am I overseen ?

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Lothar Behrens" <lothar(dot)behrens(at)lollisoft(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Am I overseen ?
Date: 2007-10-18 16:22:12
Message-ID: dcc563d10710180922r22c8dc71va70f0846f48c338e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/18/07, Lothar Behrens <lothar(dot)behrens(at)lollisoft(dot)de> wrote:
> On 18 Okt., 17:17, br(dot)(dot)(dot)(at)zijn-digital(dot)com (brian) wrote:
> > Lothar Behrens wrote:
> > > Hi,
> >
> > > Several groups I post most of them does not answer.
> > > Did noone see my postings ?
> >
> > > Please at least give me one answer :-)
> >
> > > Thanks, Lothar
> >
> > ping
> >
> > What was your query?
> >
>
> I do convert an UML XMI model to a database script to create the
> database schema.
> To enable multiple iterations I need conditional alter table add
> column like syntax.
>
> For sample:
>
> if not exsist column a in table b then
> alter table b add a char(100);
>
> Is there any way to do this ?

What kind of tools are you familiar with? I'm guessing you could
write something in perl or php to do it. Or do you want to do it in
sql? I'm sure you could do it in plpgsql or some other pl/language,
if you want it all in the db.

But I'm not that familiar with UML as to say what's the best approach.

Normally when you get thundering silence, you've asked a question no
one feels real qualified to answer, and rather than answer it halfway,
they just leave it for the next guy to get.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laurent ROCHE 2007-10-18 16:28:21 Re : pg_dump - schema diff compatibility
Previous Message Gavin M. Roy 2007-10-18 16:14:13 Re: Problem of installation on Mac