SCM

File Release Notes and Changelog

Release Name: Npgsql1.0.1

Release Notes

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

Patch applied: 
diff -ur Npgsql.orig/src/NpgsqlTypes/NpgsqlTypesHelper.cs Npgsql/src/NpgsqlTypes/NpgsqlTypesHelper.cs
--- Npgsql.orig/src/NpgsqlTypes/NpgsqlTypesHelper.cs	2007-10-19 15:45:08.000000000 +0200
+++ Npgsql/src/NpgsqlTypes/NpgsqlTypesHelper.cs	2007-10-19 15:46:02.000000000 +0200
@@ -714,7 +714,7 @@
 
         private static String QuoteString(String S)
         {
-            return String.Format("'{0}'", S);
+            return String.Format("E'{0}'", S);
             
         }
     }


Thanks Laurenz Albe & Erich Lerch for their patch!
Powered By FusionForge