Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
bf86bacb
Commit
bf86bacb
authored
Aug 14, 2005
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change standard_compliant_strings to standard_conforming_strings.
parent
8ae0d476
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
18 deletions
+18
-18
doc/src/sgml/libpq.sgml
doc/src/sgml/libpq.sgml
+4
-4
doc/src/sgml/protocol.sgml
doc/src/sgml/protocol.sgml
+3
-3
doc/src/sgml/runtime.sgml
doc/src/sgml/runtime.sgml
+5
-5
doc/src/sgml/syntax.sgml
doc/src/sgml/syntax.sgml
+2
-2
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+4
-4
No files found.
doc/src/sgml/libpq.sgml
View file @
bf86bacb
<!--
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.18
8 2005/06/27 02:04:24 neilc
Exp $
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.18
9 2005/08/14 22:19:49 petere
Exp $
-->
<chapter id="libpq">
...
...
@@ -890,10 +890,10 @@ Parameters reported as of the current release include
<literal>DateStyle</>,
<literal>TimeZone</>,
<literal>integer_datetimes</>, and
<literal>standard_co
mpliant
_strings</>.
<literal>standard_co
nforming
_strings</>.
(<literal>server_encoding</>, <literal>TimeZone</>, and
<literal>integer_datetimes</> were not reported by releases before 8.0;
<literal>standard_co
mpliant
_strings</> was not reported by releases
<literal>standard_co
nforming
_strings</> was not reported by releases
before 8.1.)
Note that
<literal>server_version</>,
...
...
@@ -917,7 +917,7 @@ in a numeric form that is much easier to compare against.
</para>
<para>
If no value for <literal>standard_co
mpliant
_strings</> is reported,
If no value for <literal>standard_co
nforming
_strings</> is reported,
applications may assume it is <literal>false</>, that is, backslashes
are treated as escapes in string literals. Also, the presence of this
parameter may be taken as an indication that the escape string syntax
...
...
doc/src/sgml/protocol.sgml
View file @
bf86bacb
<!-- $PostgreSQL: pgsql/doc/src/sgml/protocol.sgml,v 1.6
1 2005/06/27 02:04:24 neilc
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/protocol.sgml,v 1.6
2 2005/08/14 22:19:49 petere
Exp $ -->
<chapter id="protocol">
<title>Frontend/Backend Protocol</title>
...
...
@@ -1061,10 +1061,10 @@
<literal>DateStyle</>,
<literal>TimeZone</>,
<literal>integer_datetimes</>, and
<literal>standard_co
mpliant
_strings</>.
<literal>standard_co
nforming
_strings</>.
(<literal>server_encoding</>, <literal>TimeZone</>, and
<literal>integer_datetimes</> were not reported by releases before 8.0;
<literal>standard_co
mpliant
_strings</> was not reported by releases
<literal>standard_co
nforming
_strings</> was not reported by releases
before 8.1.)
Note that
<literal>server_version</>,
...
...
doc/src/sgml/runtime.sgml
View file @
bf86bacb
<!--
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.34
4 2005/08/11 21:11:42 tgl
Exp $
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.34
5 2005/08/14 22:19:49 petere
Exp $
-->
<chapter Id="runtime">
...
...
@@ -4089,7 +4089,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
Escape string syntax (<literal>E'...'</>) should be used for
escapes, because in future versions of
<productname>PostgreSQL</productname> ordinary strings will have
the standard-co
mpliant
behavior of treating backslashes
the standard-co
nforming
behavior of treating backslashes
literally.
</para>
</listitem>
...
...
@@ -4303,11 +4303,11 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
</listitem>
</varlistentry>
<varlistentry id="guc-standard-co
mpliant-strings" xreflabel="standard_compliant
_strings">
<term><varname>standard_co
mpliant
_strings</varname> (<type>boolean</type>)</term>
<varlistentry id="guc-standard-co
nforming-strings" xreflabel="standard_conforming
_strings">
<term><varname>standard_co
nforming
_strings</varname> (<type>boolean</type>)</term>
<indexterm><primary>strings</><secondary>escape</></>
<indexterm>
<primary><varname>standard_co
mpliant
_strings</> configuration parameter</primary>
<primary><varname>standard_co
nforming
_strings</> configuration parameter</primary>
</indexterm>
<listitem>
<para>
...
...
doc/src/sgml/syntax.sgml
View file @
bf86bacb
<!--
$PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.10
2 2005/06/26 19:16:05 tgl
Exp $
$PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.10
3 2005/08/14 22:19:50 petere
Exp $
-->
<chapter id="sql-syntax">
...
...
@@ -274,7 +274,7 @@ UPDATE "my_table" SET "a" = 5;
While ordinary strings now support C-style backslash escapes,
future versions will generate warnings for such usage and
eventually treat backslashes as literal characters to be
standard-co
mpliant
. The proper way to specify escape processing is
standard-co
nforming
. The proper way to specify escape processing is
to use the escape string syntax to indicate that escape
processing is desired. Escape string syntax is specified by writing
the letter <literal>E</literal> (upper or lower case) just before
...
...
src/backend/utils/misc/guc.c
View file @
bf86bacb
...
...
@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.28
1 2005/08/11 21:11:47 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.28
2 2005/08/14 22:19:50 petere
Exp $
*
*--------------------------------------------------------------------
*/
...
...
@@ -202,7 +202,7 @@ static int max_index_keys;
static
int
max_identifier_length
;
static
int
block_size
;
static
bool
integer_datetimes
;
static
bool
standard_co
mpliant
_strings
;
static
bool
standard_co
nforming
_strings
;
/* should be static, but commands/variable.c needs to get at these */
char
*
role_string
;
...
...
@@ -930,12 +930,12 @@ static struct config_bool ConfigureNamesBool[] =
},
{
{
"standard_co
mpliant
_strings"
,
PGC_INTERNAL
,
PRESET_OPTIONS
,
{
"standard_co
nforming
_strings"
,
PGC_INTERNAL
,
PRESET_OPTIONS
,
gettext_noop
(
"'...' strings treat backslashes literally."
),
NULL
,
GUC_REPORT
|
GUC_NOT_IN_SAMPLE
|
GUC_DISALLOW_IN_FILE
},
&
standard_co
mpliant
_strings
,
&
standard_co
nforming
_strings
,
false
,
NULL
,
NULL
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment