Skip site navigation (1) Skip section navigation (2)

SVN Commit by andreas: r4660 - in trunk/pgadmin3: . src/dlg

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by andreas: r4660 - in trunk/pgadmin3: . src/dlg
Date: 2005-11-04 19:07:19
Message-ID: 200511041907.jA4J7Jfc028837@developer.pgadmin.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
Author: andreas
Date: 2005-11-04 19:07:19 +0000 (Fri, 04 Nov 2005)
New Revision: 4660

Modified:
   trunk/pgadmin3/CHANGELOG.txt
   trunk/pgadmin3/src/dlg/dlgRole.cpp
Log:
Fix SET role (r:Florian Pflug), fix role help

Modified: trunk/pgadmin3/CHANGELOG.txt
===================================================================
--- trunk/pgadmin3/CHANGELOG.txt	2005-11-04 18:48:55 UTC (rev 4659)
+++ trunk/pgadmin3/CHANGELOG.txt	2005-11-04 19:07:19 UTC (rev 4660)
@@ -17,6 +17,7 @@
 </ul>
 <br>
 <ul>
+    <li>2005-11-04 AP  1.4RC2 Fix SET role (r:Florian Pflug), fix role help
     <li>2005-11-04 DP  1.4RC2 Fix role inheritance option when creating roles, per Mike Allen
     <li>2005-11-03 DP  1.4RC2 Minor fix to the pgAgent command line parser, per Harald Armin Massa
     <li>2005-11-03 DP  1.4RC2 Honour type length/precision when creating composite types, per Ivan

Modified: trunk/pgadmin3/src/dlg/dlgRole.cpp
===================================================================
--- trunk/pgadmin3/src/dlg/dlgRole.cpp	2005-11-04 18:48:55 UTC (rev 4659)
+++ trunk/pgadmin3/src/dlg/dlgRole.cpp	2005-11-04 19:07:19 UTC (rev 4660)
@@ -164,6 +164,9 @@
         }
         else
         {
+            varInfo.Add(wxT("role"));
+            cbVarname->Append(wxT("role"));
+
             pgSet *set;
             set=connection->ExecuteSet(wxT("SELECT name, vartype, min_val, max_val\n")
                     wxT("  FROM pg_settings WHERE context in ('user', 'superuser')"));
@@ -214,7 +217,8 @@
 {
     if (nbNotebook->GetSelection() == 2)
         return wxT("pg/runtime-config");
-    return dlgProperty::GetHelpPage();
+    else
+        return wxT("pg/sql-createrole");
 }
 
 


pgadmin-hackers by date

Next:From: Andreas PflugDate: 2005-11-04 19:08:19
Subject: Re: Missing per-user variable?
Previous:From: svnDate: 2005-11-04 18:48:55
Subject: SVN Commit by andreas: r4659 - trunk/pgadmin3

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group