Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitce1106d

Browse files
committed
Properly set "escape_string_warning" to default to true.
1 parentfb51ad3 commitce1106d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎doc/src/sgml/config.sgml

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp