Re: PgAdmin III: Two bugs - Mailing list pgadmin-support

From Andreas Pflug
Subject Re: PgAdmin III: Two bugs
Date
Msg-id 3F818EB0.1010200@pse-consulting.de
Whole thread Raw
In response to Re: PgAdmin III: Two bugs  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgadmin-support
Dave Page wrote:

>  
>
>>-----Original Message-----
>>From: Dave Page 
>>Sent: 06 October 2003 10:17
>>To: Matej Rizman; pgadmin-support@postgresql.org
>>Subject: Re: [pgadmin-support] PgAdmin III: Two bugs
>>
>>
>>Hi Matej
>>
>>    
>>
>>>-----Original Message-----
>>>From: Matej Rizman [mailto:matej.rizman@guest.arnes.si]
>>>Sent: 05 October 2003 23:37
>>>To: pgadmin-support@postgresql.org
>>>Subject: [pgadmin-support] PgAdmin III: Two bugs
>>>
>>>
>>>
>>>PgAdmin III version: 1.0.0
>>>
>>>First bug:
>>>Creating UNIQUE constraint executes ALTER TABLE ... ADD
>>>CONSTRAINT asfd PRIMARY KEY ....
>>>      
>>>
>>I cannot reproduce that - what steps did you take?
>>    
>>
>
>Scrub that, I see it. If you right click and then create New Unique
>Constraint then you get a primary key, however if you do it from the
>table properties dialgoue (as I do) it works fine apart from another
>bugette in which the anem is doubled (ie frog becomes frogfrog).
>
>Andreas; can you take a look at this please? I've spent a while on it
>but haven't figured it out and need to get on with some paid work (and
>you'll no doubt fix it in a few minutes :-))...
>
Fixed in head and branch. dlgIndexConstraint::GetSql() was hard-coded to 
"PRIMARY KEY" instead of wxString(typeList[objectType].typeName).Upper().

Regards,
Andreas





pgadmin-support by date:

Previous
From: "James M Doherty PGADMIN"
Date:
Subject: TUNNEL RESOLVED
Next
From: "Dave Page"
Date:
Subject: Re: PgAdmin III: Two bugs