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
resultexport 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())));