SVN Commit by dpage: r4626 - trunk/pgadmin3/src/dlg

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by dpage: r4626 - trunk/pgadmin3/src/dlg
Date: 2005-10-31 21:01:24
Message-ID: 200510312101.j9VL1O14032311@developer.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Author: dpage
Date: 2005-10-31 21:01:23 +0000 (Mon, 31 Oct 2005)
New Revision: 4626

Modified:
trunk/pgadmin3/src/dlg/dlgType.cpp
Log:
Quote member names in compsoite types, per Ivan
Enable the precision textbox when adding numeric members to composite types, per Ivan

Modified: trunk/pgadmin3/src/dlg/dlgType.cpp
===================================================================
--- trunk/pgadmin3/src/dlg/dlgType.cpp 2005-10-31 19:32:49 UTC (rev 4625)
+++ trunk/pgadmin3/src/dlg/dlgType.cpp 2005-10-31 21:01:23 UTC (rev 4626)
@@ -219,6 +219,7 @@
{
CheckLenEnable();
txtLength->Enable(isVarLen);
+ txtPrecision->Enable(isVarPrec);
CheckChange();
OnChangeMember(ev);
}
@@ -386,7 +387,7 @@
{
if (i)
sql += wxT(", ");
- sql += lstMembers->GetItemText(i) + wxT(" ")
+ sql += qtIdent(lstMembers->GetItemText(i)) + wxT(" ")
+ memberTypes.Item(i).AfterFirst(':');
}
}

Browse pgadmin-hackers by date

  From Date Subject
Next Message svn 2005-10-31 21:42:49 SVN Commit by dpage: r4627 - in trunk/pgadmin3: . xtra/pgagent
Previous Message Dave Page 2005-10-31 19:33:10 Re: small fr_FR translation update