SVN Commit by dpage: r4896 - in branches/REL-1_4_0_PATCHES/pgadmin3: . src/schema - Mailing list pgadmin-hackers

From svn@pgadmin.org
Subject SVN Commit by dpage: r4896 - in branches/REL-1_4_0_PATCHES/pgadmin3: . src/schema
Date
Msg-id 200601131522.k0DFMN0G010077@developer.pgadmin.org
Whole thread Raw
List pgadmin-hackers
Author: dpage
Date: 2006-01-13 15:22:22 +0000 (Fri, 13 Jan 2006)
New Revision: 4896

Modified:
   branches/REL-1_4_0_PATCHES/pgadmin3/CHANGELOG.txt
   branches/REL-1_4_0_PATCHES/pgadmin3/src/schema/pgRole.cpp
Log:
Fix role SQL - correctly define CREATEROLE/NOCREATEROLE per Andrus.

Modified: branches/REL-1_4_0_PATCHES/pgadmin3/CHANGELOG.txt
===================================================================
--- branches/REL-1_4_0_PATCHES/pgadmin3/CHANGELOG.txt    2006-01-13 15:20:19 UTC (rev 4895)
+++ branches/REL-1_4_0_PATCHES/pgadmin3/CHANGELOG.txt    2006-01-13 15:22:22 UTC (rev 4896)
@@ -18,6 +18,7 @@
 </ul>
 <br>
 <ul>
+    <li>2006-01-13 DP  1.4.2  Fix role SQL - correctly define CREATEROLE/NOCREATEROLE per Andrus.
     <li>2006-01-09 DP  1.4.2  Honour the copy quoting setting properly in the SQL results pane [Magnus Hagander]
     <li>2006-01-09 DP  1.4.2  Set the initial Unicode/Local charset options correctly in the Export dialogue [Magnus
Hagander]
     <li>2005-12-26 AP  1.4.2  Fix PK detection in EditGrid per Andrus Moor

Modified: branches/REL-1_4_0_PATCHES/pgadmin3/src/schema/pgRole.cpp
===================================================================
--- branches/REL-1_4_0_PATCHES/pgadmin3/src/schema/pgRole.cpp    2006-01-13 15:20:19 UTC (rev 4895)
+++ branches/REL-1_4_0_PATCHES/pgadmin3/src/schema/pgRole.cpp    2006-01-13 15:22:22 UTC (rev 4896)
@@ -91,7 +91,7 @@
         else                        sql += wxT(" NOINHERIT");
         if (GetCreateDatabase())    sql += wxT(" CREATEDB");
         else                        sql += wxT(" NOCREATEDB");
-        if (GetUpdateCatalog())     sql += wxT(" CREATEROLE");
+        if (GetCreateRole())        sql += wxT(" CREATEROLE");
         else                        sql += wxT(" NOCREATEROLE");
         if (GetAccountExpires().IsValid())
         AppendIfFilled(sql, wxT(" VALID UNTIL "), qtString(DateToAnsiStr(GetAccountExpires())));


pgadmin-hackers by date:

Previous
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r4895 - in trunk/pgadmin3: . src/schema
Next
From: "Dave Page"
Date:
Subject: Re: Website