Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ce1106d

Browse files
committed
Properly set "escape_string_warning" to default to true.
1 parent fb51ad3 commit ce1106d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/src/sgml/config.sgml

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

src/backend/utils/misc/guc.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.313 2006/03/06 19:49:20 momjian Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.314 2006/03/07 02:54:23 momjian Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -969,7 +969,7 @@ static struct config_bool ConfigureNamesBool[] =
969969
NULL
970970
},
971971
&escape_string_warning,
972-
false, NULL, NULL
972+
true, NULL, NULL
973973
},
974974

975975
{

0 commit comments

Comments
 (0)