Properly set "escape_string_warning" to default to true.
authorBruce Momjian
Tue, 7 Mar 2006 02:54:23 +0000 (02:54 +0000)
committerBruce Momjian
Tue, 7 Mar 2006 02:54:23 +0000 (02:54 +0000)
doc/src/sgml/config.sgml
src/backend/utils/misc/guc.c

index e255df3e1321ac07310a5b2821ee6b0ed68aaa79..58635d8671b8bb2ebc8bd7c67ac4f9d67827fe48 100644 (file)
@@ -1,5 +1,5 @@
 
 
   Server Configuration
@@ -3733,7 +3733,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
        
         When on, a warning is issued if a backslash (\)
         appears in an ordinary string literal ('...'
-        syntax). The default is off.
+        syntax). The default is on.
        
        
         Escape string syntax (E'...') should be used for
index 16180247bfcaaf7d800b2a67430d3084fc57c3de..d8eb0938e15379673eaecb20aab0091b6a07a685 100644 (file)
@@ -10,7 +10,7 @@
  * Written by Peter Eisentraut .
  *
  * IDENTIFICATION
- *   $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.313 2006/03/06 19:49:20 momjian Exp $
+ *   $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.314 2006/03/07 02:54:23 momjian Exp $
  *
  *--------------------------------------------------------------------
  */
@@ -969,7 +969,7 @@ static struct config_bool ConfigureNamesBool[] =
            NULL
        },
        &escape_string_warning,
-       false, NULL, NULL
+       true, NULL, NULL
    },
 
    {