Fixed in head and branch. dlgIndexConstraint::GetSql() was hard-coded to "PRIMARY KEY" instead of wxString(typeList[objectType].typeName).Upper().
-----Original Message-----
From: Dave Page Sent: 06 October 2003 10:17
To: Matej Rizman; [EMAIL PROTECTED]
Subject: Re: [pgadmin-support] PgAdmin III: Two bugs
Hi Matej
I cannot reproduce that - what steps did you take?-----Original Message----- From: Matej Rizman [mailto:[EMAIL PROTECTED] Sent: 05 October 2003 23:37 To: [EMAIL PROTECTED] 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 ....
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 :-))...
Regards, Andreas
---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?
http://archives.postgresql.org