Web pgadmin.org
 Home 
 ·  ·  ·  ·  ·  ·  · 
CVS Commit by andreas: Fix DateStyle to be 7.3 compatible

CVS Commit by andreas: Fix DateStyle to be 7.3 compatible



Log Message:
-----------
Fix DateStyle to be 7.3 compatible

Modified Files:
--------------
    pgadmin3/src/db:
        pgConn.cpp (r1.67 -> r1.68)

Index: pgConn.cpp
===================================================================
RCS file: /projects/pgadmin3/src/db/pgConn.cpp,v
retrieving revision 1.67
retrieving revision 1.68
diff -Lsrc/db/pgConn.cpp -Lsrc/db/pgConn.cpp -u -w -r1.67 -r1.68
--- src/db/pgConn.cpp
+++ src/db/pgConn.cpp
@@ -167,7 +167,7 @@
         PQsetNoticeProcessor(conn, pgNoticeProcessor, this);
 
 
-        wxString sql=wxT("SET DateStyle='ISO, DMY';SELECT oid, pg_encoding_to_char(encoding) AS encoding, datlastsysoid\n")
+        wxString sql=wxT("SET DateStyle=ISO;SELECT oid, pg_encoding_to_char(encoding) AS encoding, datlastsysoid\n")
                       wxT("  FROM pg_database WHERE ");
         if (oid)
             sql += wxT("oid = ") + NumToStr(oid);


Home | Main Index | Thread Index

top