mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Change the default value of standard_conforming_strings to on.
This change should be publicized to driver maintainers at once and release-noted as an incompatibility with previous releases.
This commit is contained in:
@ -24,7 +24,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.167 2010/05/30 18:10:41 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.168 2010/07/20 00:34:44 rhaas Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -52,7 +52,7 @@
|
||||
*/
|
||||
int backslash_quote = BACKSLASH_QUOTE_SAFE_ENCODING;
|
||||
bool escape_string_warning = true;
|
||||
bool standard_conforming_strings = false;
|
||||
bool standard_conforming_strings = true;
|
||||
|
||||
/*
|
||||
* Set the type of YYSTYPE.
|
||||
|
@ -10,7 +10,7 @@
|
||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.562 2010/07/16 22:25:50 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.563 2010/07/20 00:34:44 rhaas Exp $
|
||||
*
|
||||
*--------------------------------------------------------------------
|
||||
*/
|
||||
@ -1211,7 +1211,7 @@ static struct config_bool ConfigureNamesBool[] =
|
||||
GUC_REPORT
|
||||
},
|
||||
&standard_conforming_strings,
|
||||
false, NULL, NULL
|
||||
true, NULL, NULL
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -511,7 +511,7 @@
|
||||
#escape_string_warning = on
|
||||
#lo_compat_privileges = off
|
||||
#sql_inheritance = on
|
||||
#standard_conforming_strings = off
|
||||
#standard_conforming_strings = on
|
||||
#synchronize_seqscans = on
|
||||
|
||||
# - Other Platforms and Clients -
|
||||
|
Reference in New Issue
Block a user