Properly set "escape_string_warning" to default to true.

This commit is contained in:
Bruce Momjian 2006-03-07 02:54:23 +00:00
parent fb51ad3419
commit ce1106d2fa
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<!--
$PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.50 2006/03/06 19:49:19 momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.51 2006/03/07 02:54:23 momjian Exp $
-->
<chapter Id="runtime-config">
<title>Server Configuration</title>
@ -3733,7 +3733,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
<para>
When on, a warning is issued if a backslash (<literal>\</>)
appears in an ordinary string literal (<literal>'...'</>
syntax). The default is <literal>off</>.
syntax). The default is <literal>on</>.
</para>
<para>
Escape string syntax (<literal>E'...'</>) should be used for

View File

@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* 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
},
{