Author: fxjr
Date: 2007-11-09 15:01:46 -0500 (Fri, 09 Nov 2007)
New Revision: 89341

Modified:
   trunk/mcs/class/Npgsql/NpgsqlTypes/NpgsqlTypesHelper.cs
Log:


2007-11-09  Francisco Figueiredo Jr.  <[EMAIL PROTECTED]>

This is a single line patch version for handling Standard conforming strings 
parameter in postgresql.conf. You only need this version instead of 1.0 is you 
are using this setting or is planning to use it. Also, starting with 8.4 
postgresql version, this parameter will be default to on in postgresql.conf. 
Today it is off.

More info can be obtained on this link: 
http://pgfoundry.org/tracker/index.php?func=detail&aid=1009624&group_id=1000140&atid=592

Thanks Laurenz Albe & Erich Lerch for their patch!




Modified: trunk/mcs/class/Npgsql/NpgsqlTypes/NpgsqlTypesHelper.cs
===================================================================
--- trunk/mcs/class/Npgsql/NpgsqlTypes/NpgsqlTypesHelper.cs     2007-11-09 
20:01:44 UTC (rev 89340)
+++ trunk/mcs/class/Npgsql/NpgsqlTypes/NpgsqlTypesHelper.cs     2007-11-09 
20:01:46 UTC (rev 89341)
@@ -714,7 +714,7 @@
 
         private static String QuoteString(String S)
         {
-            return String.Format("'{0}'", S);
+            return String.Format("E'{0}'", S);
             
         }
     }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to