SVN Commit by dpage: r4895 - in trunk/pgadmin3: . src/schema

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by dpage: r4895 - in trunk/pgadmin3: . src/schema
Date: 2006-01-13 15:20:20
Message-ID: 200601131520.k0DFKKuj010064@developer.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Author: dpage
Date: 2006-01-13 15:20:19 +0000 (Fri, 13 Jan 2006)
New Revision: 4895

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

Modified: trunk/pgadmin3/CHANGELOG.txt
===================================================================
--- trunk/pgadmin3/CHANGELOG.txt 2006-01-12 14:11:28 UTC (rev 4894)
+++ trunk/pgadmin3/CHANGELOG.txt 2006-01-13 15:20:19 UTC (rev 4895)
@@ -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-11 DP Allow result copy quoting configuration to be set explicitly rather than using the result export settings [Magnus Hagander]
<li>2006-01-09 DP Add -a and -q command line options to auto connect to a server and open a query window respectively [Magnus Hagander]
<li>2006-01-09 DP 1.4.2 Honour the copy quoting setting properly in the SQL results pane [Magnus Hagander]

Modified: trunk/pgadmin3/src/schema/pgRole.cpp
===================================================================
--- trunk/pgadmin3/src/schema/pgRole.cpp 2006-01-12 14:11:28 UTC (rev 4894)
+++ trunk/pgadmin3/src/schema/pgRole.cpp 2006-01-13 15:20:19 UTC (rev 4895)
@@ -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())));

Browse pgadmin-hackers by date

  From Date Subject
Next Message svn 2006-01-13 15:22:23 SVN Commit by dpage: r4896 - in branches/REL-1_4_0_PATCHES/pgadmin3: . src/schema
Previous Message Dave Page 2006-01-13 14:38:46 Re: Website