Unix Technical Forum

SVN Commit by andreas: r4582 - in trunk/pgadmin3: . src/schema

This is a discussion on SVN Commit by andreas: r4582 - in trunk/pgadmin3: . src/schema within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> Author: andreas Date: 2005-10-20 15:35:22 +0100 (Thu, 20 Oct 2005) New Revision: 4582 Modified: trunk/pgadmin3/CHANGELOG.txt trunk/pgadmin3/src/schema/pgDatabase.cpp Log: Fix Unicode/pgsql80win32 ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 05:37 PM
svn@pgadmin.org
 
Posts: n/a
Default SVN Commit by andreas: r4582 - in trunk/pgadmin3: . src/schema

Author: andreas
Date: 2005-10-20 15:35:22 +0100 (Thu, 20 Oct 2005)
New Revision: 4582

Modified:
trunk/pgadmin3/CHANGELOG.txt
trunk/pgadmin3/src/schema/pgDatabase.cpp
Log:
Fix Unicode/pgsql80win32 hint

Modified: trunk/pgadmin3/CHANGELOG.txt
================================================== =================
--- trunk/pgadmin3/CHANGELOG.txt 2005-10-20 14:25:35 UTC (rev 4581)
+++ trunk/pgadmin3/CHANGELOG.txt 2005-10-20 14:35:22 UTC (rev 4582)
@@ -17,7 +17,7 @@
</ul>
<br>
<ul>
-<<<<<<< .mine
+ <li>2005-10-20 AP 1.4B4 Fix Unicode/pgsql80win32 hint (r: Oryza Triznyak)
<li>2005-10-20 DP 1.4B4 Ensure the user can cancel the maintenance dialogue when it is running.
<li>2005-10-20 DP 1.4B4 Fix the recent files list on the config file editor. (r: Miha Radej)
<li>2005-10-18 DP 1.4B3 Correct font size on Splash and About forms on Mac.

Modified: trunk/pgadmin3/src/schema/pgDatabase.cpp
================================================== =================
--- trunk/pgadmin3/src/schema/pgDatabase.cpp 2005-10-20 14:25:35 UTC (rev 4581)
+++ trunk/pgadmin3/src/schema/pgDatabase.cpp 2005-10-20 14:35:22 UTC (rev 4582)
@@ -138,7 +138,7 @@
if (encoding == wxT("UNICODE"))
{
wxString ver=GetServer()->GetVersionString();
- if (ver.Find(wxT("mingw32")) > 0 && ver.Find(wxT("SQL 8.0.") > 0))
+ if (ver.Find(wxT("mingw32")) > 0 && ver.Find(wxT("SQL 8.0.")) > 0)
return true;
}

@@ -158,7 +158,11 @@
if (encoding == wxT("SQL_ASCII"))
hints.Add(HINT_ENCODING_ASCII);
else if (encoding == wxT("UNICODE"))
- hints.Add(HINT_ENCODING_UNICODE);
+ {
+ wxString ver=GetServer()->GetVersionString();
+ if (ver.Find(wxT("mingw32")) > 0 && ver.Find(wxT("SQL 8.0.")) > 0)
+ hints.Add(HINT_ENCODING_UNICODE);
+ }

if (GetServer()->GetConnection() == GetConnection() &&
GetConnection()->BackendMinimumVersion(8,0) &&


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:26 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com