Le jeudi 16 juillet 2009 à 15:48:58, Leonardo Carvalho a écrit :
>    Unfortunately, PgAdmin always sends this commands , trying to use
> ISO date format.
>    If you discover how to fix that in PgAdmin, tell us!
>

There's no way to fix that without recompiling. But you can try the patch 
attached.

I CC-ed pgadmin-hackers list so Dave can grab and check my patch :)

Regards.


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com
Index: pgadmin/db/pgConn.cpp
===================================================================
--- pgadmin/db/pgConn.cpp	(révision 7968)
+++ pgadmin/db/pgConn.cpp	(copie de travail)
@@ -196,7 +196,9 @@
         PQsetNoticeProcessor(conn, pgNoticeProcessor, this);
 
 
-        wxString sql=wxT("SET DateStyle=ISO;SELECT oid, pg_encoding_to_char(encoding) AS encoding, datlastsysoid\n")
+        ExecuteVoid(wxT("SET DateStyle=ISO;"));
+
+        wxString sql=wxT("SELECT oid, pg_encoding_to_char(encoding) AS encoding, datlastsysoid\n")
                       wxT("  FROM pg_database WHERE ");
 
         if (oid)
_______________________________________________
Pgpool-general mailing list
[email protected]
http://pgfoundry.org/mailman/listinfo/pgpool-general

Reply via email to