I was using the schema dump from pg_dump -s.

CREATE TABLE bkn_contact_comments (
    key1 character varying(12) NOT NULL,
    key2 character varying(12) NOT NULL,
    description character varying(60),
    contact_comm_desc text,
    Constraint bkn_contact_comments_pkey Primary Key (key1, key2));

sql2xml doesn't seem to like the line     

Constraint bkn_contact_comments_pkey Primary Key (key1, key2)

It loops indefinitely. It works fine if i just use Primary Key (key1, key2)

Thanks

Huy


> -----Original Message-----
> From: Leon Messerschmidt [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 August 2001 5:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: newbie sql2xml ant task question
> 
> 
> Hi Huy,
> 
> It is working for me.  If you have problems I could help fix them.
> 
> ~ Leon
> 
> ----- Original Message ----- 
> From: "Huy Do" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 08, 2001 7:06 AM
> Subject: newbie sql2xml ant task question
> 
> 
> > Hi all,
> > 
> > Just trying to use the sql2xml ant task. Is it working ?
> > I saw a posting in the archive which said it is not really
> > working. Is this true ?
> > 
> > Is there any other way of converting an existing database schema
> > (postgresql) into an xml schema so I can use torque.
> > 
> > Many thanks
> > 
> > Huy
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to